FD.io VPP  v18.01.2-1-g9b554f3
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_add2 (unix_shared_memory_queue_t *q, u8 *elem, u8 *elem2, 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 185 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function:

int unix_shared_memory_queue_add2 ( unix_shared_memory_queue_t q,
u8 elem,
u8 elem2,
int  nowait 
)

Definition at line 241 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 124 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 159 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 95 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 49 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 115 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 103 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 306 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 358 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 109 of file unix_shared_memory_queue.c.

+ Here is the caller graph for this function: