FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
unix_shared_memory_queue.c File Reference
+ Include dependency graph for unix_shared_memory_queue.c:

Go to the source code of this file.

Functions

unix_shared_memory_queue_tunix_shared_memory_queue_init (int nels, int elsize, int consumer_pid, int signal_when_queue_non_empty)
 
void unix_shared_memory_queue_free (unix_shared_memory_queue_t *q)
 
void unix_shared_memory_queue_lock (unix_shared_memory_queue_t *q)
 
void unix_shared_memory_queue_unlock (unix_shared_memory_queue_t *q)
 
int unix_shared_memory_queue_is_full (unix_shared_memory_queue_t *q)
 
int unix_shared_memory_queue_add_nolock (unix_shared_memory_queue_t *q, u8 *elem)
 
int unix_shared_memory_queue_add_raw (unix_shared_memory_queue_t *q, u8 *elem)
 
int unix_shared_memory_queue_add (unix_shared_memory_queue_t *q, u8 *elem, int nowait)
 
int unix_shared_memory_queue_sub (unix_shared_memory_queue_t *q, u8 *elem, int nowait)
 
int unix_shared_memory_queue_sub_raw (unix_shared_memory_queue_t *q, u8 *elem)
 

Function Documentation

int unix_shared_memory_queue_add ( unix_shared_memory_queue_t q,
u8 elem,
int  nowait 
)

Definition at line 190 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

int unix_shared_memory_queue_add_nolock ( unix_shared_memory_queue_t q,
u8 elem 
)

Definition at line 129 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

int unix_shared_memory_queue_add_raw ( unix_shared_memory_queue_t q,
u8 elem 
)

Definition at line 164 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

void unix_shared_memory_queue_free ( unix_shared_memory_queue_t q)

Definition at line 100 of file unix_shared_memory_queue.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unix_shared_memory_queue_t* unix_shared_memory_queue_init ( int  nels,
int  elsize,
int  consumer_pid,
int  signal_when_queue_non_empty 
)

Definition at line 54 of file unix_shared_memory_queue.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int unix_shared_memory_queue_is_full ( unix_shared_memory_queue_t q)

Definition at line 120 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

void unix_shared_memory_queue_lock ( unix_shared_memory_queue_t q)

Definition at line 108 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

int unix_shared_memory_queue_sub ( unix_shared_memory_queue_t q,
u8 elem,
int  nowait 
)

Definition at line 246 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

int unix_shared_memory_queue_sub_raw ( unix_shared_memory_queue_t q,
u8 elem 
)

Definition at line 297 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

void unix_shared_memory_queue_unlock ( unix_shared_memory_queue_t q)

Definition at line 114 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function: