Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
dqueue.h File Reference

Go to the source code of this file.

Data Structures

struct  _diva_um_idi_data_queue
 

Macros

#define DIVA_UM_IDI_MAX_MSGS   64
 

Typedefs

typedef struct
_diva_um_idi_data_queue 
diva_um_idi_data_queue_t
 

Functions

int diva_data_q_init (diva_um_idi_data_queue_t *q, int max_length, int max_segments)
 
int diva_data_q_finit (diva_um_idi_data_queue_t *q)
 
int diva_data_q_get_max_length (const diva_um_idi_data_queue_t *q)
 
voiddiva_data_q_get_segment4write (diva_um_idi_data_queue_t *q)
 
void diva_data_q_ack_segment4write (diva_um_idi_data_queue_t *q, int length)
 
const voiddiva_data_q_get_segment4read (const diva_um_idi_data_queue_t *q)
 
int diva_data_q_get_segment_length (const diva_um_idi_data_queue_t *q)
 
void diva_data_q_ack_segment4read (diva_um_idi_data_queue_t *q)
 

Macro Definition Documentation

#define DIVA_UM_IDI_MAX_MSGS   64

Definition at line 6 of file dqueue.h.

Typedef Documentation

Function Documentation

void diva_data_q_ack_segment4read ( diva_um_idi_data_queue_t q)

Definition at line 100 of file dqueue.c.

void diva_data_q_ack_segment4write ( diva_um_idi_data_queue_t q,
int  length 
)

Definition at line 73 of file dqueue.c.

int diva_data_q_finit ( diva_um_idi_data_queue_t q)

Definition at line 41 of file dqueue.c.

int diva_data_q_get_max_length ( const diva_um_idi_data_queue_t q)

Definition at line 57 of file dqueue.c.

const void* diva_data_q_get_segment4read ( const diva_um_idi_data_queue_t q)

Definition at line 86 of file dqueue.c.

void* diva_data_q_get_segment4write ( diva_um_idi_data_queue_t q)

Definition at line 62 of file dqueue.c.

int diva_data_q_get_segment_length ( const diva_um_idi_data_queue_t q)

Definition at line 95 of file dqueue.c.

int diva_data_q_init ( diva_um_idi_data_queue_t q,
int  max_length,
int  max_segments 
)

Definition at line 17 of file dqueue.c.