Searched refs:rds_ib_work_ring (Results 1 – 2 of 2) sorted by relevance
/net/rds/ |
D | ib_ring.c | 66 void rds_ib_ring_init(struct rds_ib_work_ring *ring, u32 nr) in rds_ib_ring_init() 73 static inline u32 __rds_ib_ring_used(struct rds_ib_work_ring *ring) in __rds_ib_ring_used() 84 void rds_ib_ring_resize(struct rds_ib_work_ring *ring, u32 nr) in rds_ib_ring_resize() 92 static int __rds_ib_ring_empty(struct rds_ib_work_ring *ring) in __rds_ib_ring_empty() 97 u32 rds_ib_ring_alloc(struct rds_ib_work_ring *ring, u32 val, u32 *pos) in rds_ib_ring_alloc() 117 void rds_ib_ring_free(struct rds_ib_work_ring *ring, u32 val) in rds_ib_ring_free() 127 void rds_ib_ring_unalloc(struct rds_ib_work_ring *ring, u32 val) in rds_ib_ring_unalloc() 133 int rds_ib_ring_empty(struct rds_ib_work_ring *ring) in rds_ib_ring_empty() 138 int rds_ib_ring_low(struct rds_ib_work_ring *ring) in rds_ib_ring_low() 147 u32 rds_ib_ring_oldest(struct rds_ib_work_ring *ring) in rds_ib_ring_oldest() [all …]
|
D | ib.h | 119 struct rds_ib_work_ring { struct 166 struct rds_ib_work_ring i_send_ring; 175 struct rds_ib_work_ring i_recv_ring; 415 void rds_ib_ring_init(struct rds_ib_work_ring *ring, u32 nr); 416 void rds_ib_ring_resize(struct rds_ib_work_ring *ring, u32 nr); 417 u32 rds_ib_ring_alloc(struct rds_ib_work_ring *ring, u32 val, u32 *pos); 418 void rds_ib_ring_free(struct rds_ib_work_ring *ring, u32 val); 419 void rds_ib_ring_unalloc(struct rds_ib_work_ring *ring, u32 val); 420 int rds_ib_ring_empty(struct rds_ib_work_ring *ring); 421 int rds_ib_ring_low(struct rds_ib_work_ring *ring); [all …]
|