PPL Logo

libs/ck-libs/amr/fifo.h File Reference

Go to the source code of this file.

Data Structures

struct  fifo_queue

Typedefs

typedef struct fifo_queue FIFO_QUEUE

Functions

FIFO_QUEUEFIFO_Create (void)
int FIFO_Fill (FIFO_QUEUE *)
int FIFO_Empty (FIFO_QUEUE *)
void FIFO_EnQueue (FIFO_QUEUE *queue, void *elt)
void FIFO_EnQueue_Front (FIFO_QUEUE *queue, void *elt)
void * FIFO_Peek (FIFO_QUEUE *queue)
void FIFO_Pop (FIFO_QUEUE *queue)
void FIFO_DeQueue (FIFO_QUEUE *queue, void **element)
void FIFO_Enumerate (FIFO_QUEUE *queue, void ***element)
void FIFO_Destroy (FIFO_QUEUE *queue)


Typedef Documentation

typedef struct fifo_queue FIFO_QUEUE


Function Documentation

FIFO_QUEUE* FIFO_Create ( void   ) 

Definition at line 6 of file fifo.C.

References fifo_queue::block, fifo_queue::fill, malloc(), fifo_queue::pull, fifo_queue::push, and fifo_queue::size.

Referenced by Cell::check_queue(), Cell::init_cell(), and Cell::pup().

Here is the call graph for this function:

Here is the caller graph for this function:

int FIFO_Fill ( FIFO_QUEUE  ) 

Definition at line 19 of file fifo.C.

References fifo_queue::fill.

int FIFO_Empty ( FIFO_QUEUE  ) 

Definition at line 24 of file fifo.C.

References fifo_queue::fill.

Referenced by FIFO_Destroy().

Here is the caller graph for this function:

void FIFO_EnQueue ( FIFO_QUEUE queue,
void *  elt 
)

Definition at line 49 of file fifo.C.

References fifo_queue::block, FIFO_Expand(), fifo_queue::fill, fifo_queue::push, and fifo_queue::size.

Here is the call graph for this function:

void FIFO_EnQueue_Front ( FIFO_QUEUE queue,
void *  elt 
)

Definition at line 57 of file fifo.C.

References fifo_queue::block, FIFO_Expand(), fifo_queue::fill, fifo_queue::pull, and fifo_queue::size.

Here is the call graph for this function:

void* FIFO_Peek ( FIFO_QUEUE queue  ) 

Definition at line 65 of file fifo.C.

References fifo_queue::block, fifo_queue::fill, and fifo_queue::pull.

void FIFO_Pop ( FIFO_QUEUE queue  ) 

Definition at line 71 of file fifo.C.

References fifo_queue::fill, fifo_queue::pull, and fifo_queue::size.

void FIFO_DeQueue ( FIFO_QUEUE queue,
void **  element 
)

Definition at line 79 of file fifo.C.

References fifo_queue::block, fifo_queue::fill, fifo_queue::pull, and fifo_queue::size.

void FIFO_Enumerate ( FIFO_QUEUE queue,
void ***  element 
)

Definition at line 93 of file fifo.C.

References fifo_queue::block, fifo_queue::fill, malloc(), fifo_queue::pull, and fifo_queue::size.

Here is the call graph for this function:

void FIFO_Destroy ( FIFO_QUEUE queue  ) 

Definition at line 110 of file fifo.C.

References fifo_queue::block, CmiError(), FIFO_Empty(), and free().

Here is the call graph for this function:


Generated on Mon Sep 21 08:06:40 2020 for Charm++ by  doxygen 1.5.5