Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
iw_ring.c File Reference
#include <linux/kernel.h>
#include "rds.h"
#include "iw.h"

Go to the source code of this file.

Functions

 DECLARE_WAIT_QUEUE_HEAD (rds_iw_ring_empty_wait)
 
void rds_iw_ring_init (struct rds_iw_work_ring *ring, u32 nr)
 
void rds_iw_ring_resize (struct rds_iw_work_ring *ring, u32 nr)
 
u32 rds_iw_ring_alloc (struct rds_iw_work_ring *ring, u32 val, u32 *pos)
 
void rds_iw_ring_free (struct rds_iw_work_ring *ring, u32 val)
 
void rds_iw_ring_unalloc (struct rds_iw_work_ring *ring, u32 val)
 
int rds_iw_ring_empty (struct rds_iw_work_ring *ring)
 
int rds_iw_ring_low (struct rds_iw_work_ring *ring)
 
u32 rds_iw_ring_oldest (struct rds_iw_work_ring *ring)
 
u32 rds_iw_ring_completed (struct rds_iw_work_ring *ring, u32 wr_id, u32 oldest)
 

Function Documentation

DECLARE_WAIT_QUEUE_HEAD ( rds_iw_ring_empty_wait  )
u32 rds_iw_ring_alloc ( struct rds_iw_work_ring ring,
u32  val,
u32 pos 
)

Definition at line 97 of file iw_ring.c.

u32 rds_iw_ring_completed ( struct rds_iw_work_ring ring,
u32  wr_id,
u32  oldest 
)

Definition at line 157 of file iw_ring.c.

int rds_iw_ring_empty ( struct rds_iw_work_ring ring)

Definition at line 133 of file iw_ring.c.

void rds_iw_ring_free ( struct rds_iw_work_ring ring,
u32  val 
)

Definition at line 117 of file iw_ring.c.

void rds_iw_ring_init ( struct rds_iw_work_ring ring,
u32  nr 
)

Definition at line 66 of file iw_ring.c.

int rds_iw_ring_low ( struct rds_iw_work_ring ring)

Definition at line 138 of file iw_ring.c.

u32 rds_iw_ring_oldest ( struct rds_iw_work_ring ring)

Definition at line 148 of file iw_ring.c.

void rds_iw_ring_resize ( struct rds_iw_work_ring ring,
u32  nr 
)

Definition at line 84 of file iw_ring.c.

void rds_iw_ring_unalloc ( struct rds_iw_work_ring ring,
u32  val 
)

Definition at line 127 of file iw_ring.c.