txc_koa_s Struct Reference

List of all members.

Public Attributes

txc_koamgr_tmanager
txc_mutex_t mutex
txc_sentinel_tsentinel
struct {
   int   fd [TXC_MAX_NUM_FDREFS_PER_KOA]
   int   refcnt
fdref
int type
union {
   txc_koa_file_t   file
   txc_koa_sock_dgram_t   sock_dgram
   txc_koa_pipe_read_end_t   pipe_read_end
}; 

Detailed Description

KOA (Kernel Object Abstraction): A user-mode representation of a logical kernel object.

Definition at line 96 of file koa.c.


Member Data Documentation

int txc_koa_s::fd[TXC_MAX_NUM_FDREFS_PER_KOA]

File descriptors referencing the kernel object of this KOA

Definition at line 101 of file koa.c.

Referenced by txc_koa_attach_fd(), txc_koa_detach_fd(), txc_koa_lock_fds_refby_koa(), and txc_koa_unlock_fds_refby_koa().

txc_koa_file_t txc_koa_s::file

File specific fields

Definition at line 107 of file koa.c.

txc_koamgr_t* txc_koa_s::manager

Manager responsible for this KOA

Definition at line 97 of file koa.c.

Referenced by txc_koa_attach(), txc_koa_attach_fd(), txc_koa_detach(), txc_koa_detach_fd(), txc_koa_get_koamgr(), txc_koa_lock_fds_refby_koa(), and txc_koa_unlock_fds_refby_koa().

txc_mutex_t txc_koa_s::mutex

Mutex for synchronizing access to the fields of this KOA

Definition at line 98 of file koa.c.

Referenced by txc_koa_attach(), and txc_koa_detach().

txc_koa_pipe_read_end_t txc_koa_s::pipe_read_end

Pipe read end specific rields

Definition at line 109 of file koa.c.

Referenced by txc_koa_get_buffer().

int txc_koa_s::refcnt

Number of file descriptors referencing the kernel object of this KOA

Definition at line 102 of file koa.c.

Referenced by txc_koa_attach(), txc_koa_attach_fd(), txc_koa_detach(), txc_koa_detach_fd(), txc_koa_lock_fds_refby_koa(), and txc_koa_unlock_fds_refby_koa().

txc_sentinel_t* txc_koa_s::sentinel

User level sentinel providing transactional isolation for this KOA

Definition at line 99 of file koa.c.

Referenced by txc_koa_attach(), txc_koa_attach_fd(), txc_koa_detach(), and txc_koa_get_sentinel().

txc_koa_sock_dgram_t txc_koa_s::sock_dgram

Datagram socket specific fields

Definition at line 108 of file koa.c.

Referenced by txc_koa_get_buffer().

int txc_koa_s::type

Type of object

Definition at line 105 of file koa.c.

Referenced by txc_koa_attach(), txc_koa_attach_fd(), txc_koa_detach(), and txc_koa_get_buffer().


The documentation for this struct was generated from the following file:
Generated on Wed Dec 9 20:32:41 2009 for xCalls by  doxygen 1.4.7