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

Go to the source code of this file.

Functions

 DECLARE_WAIT_QUEUE_HEAD (rds_ib_ring_empty_wait)
 
void rds_ib_ring_init (struct rds_ib_work_ring *ring, u32 nr)
 
void rds_ib_ring_resize (struct rds_ib_work_ring *ring, u32 nr)
 
u32 rds_ib_ring_alloc (struct rds_ib_work_ring *ring, u32 val, u32 *pos)
 
void rds_ib_ring_free (struct rds_ib_work_ring *ring, u32 val)
 
void rds_ib_ring_unalloc (struct rds_ib_work_ring *ring, u32 val)
 
int rds_ib_ring_empty (struct rds_ib_work_ring *ring)
 
int rds_ib_ring_low (struct rds_ib_work_ring *ring)
 
u32 rds_ib_ring_oldest (struct rds_ib_work_ring *ring)
 
u32 rds_ib_ring_completed (struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest)
 

Function Documentation

DECLARE_WAIT_QUEUE_HEAD ( rds_ib_ring_empty_wait  )
u32 rds_ib_ring_alloc ( struct rds_ib_work_ring ring,
u32  val,
u32 pos 
)

Definition at line 97 of file ib_ring.c.

u32 rds_ib_ring_completed ( struct rds_ib_work_ring ring,
u32  wr_id,
u32  oldest 
)

Definition at line 156 of file ib_ring.c.

int rds_ib_ring_empty ( struct rds_ib_work_ring ring)

Definition at line 133 of file ib_ring.c.

void rds_ib_ring_free ( struct rds_ib_work_ring ring,
u32  val 
)

Definition at line 117 of file ib_ring.c.

void rds_ib_ring_init ( struct rds_ib_work_ring ring,
u32  nr 
)

Definition at line 66 of file ib_ring.c.

int rds_ib_ring_low ( struct rds_ib_work_ring ring)

Definition at line 138 of file ib_ring.c.

u32 rds_ib_ring_oldest ( struct rds_ib_work_ring ring)

Definition at line 147 of file ib_ring.c.

void rds_ib_ring_resize ( struct rds_ib_work_ring ring,
u32  nr 
)

Definition at line 84 of file ib_ring.c.

void rds_ib_ring_unalloc ( struct rds_ib_work_ring ring,
u32  val 
)

Definition at line 127 of file ib_ring.c.