Lines Matching refs:u32
66 void rds_iw_ring_init(struct rds_iw_work_ring *ring, u32 nr) in rds_iw_ring_init()
73 static inline u32 __rds_iw_ring_used(struct rds_iw_work_ring *ring) in __rds_iw_ring_used()
75 u32 diff; in __rds_iw_ring_used()
78 diff = ring->w_alloc_ctr - (u32) atomic_read(&ring->w_free_ctr); in __rds_iw_ring_used()
84 void rds_iw_ring_resize(struct rds_iw_work_ring *ring, u32 nr) in rds_iw_ring_resize()
97 u32 rds_iw_ring_alloc(struct rds_iw_work_ring *ring, u32 val, u32 *pos) in rds_iw_ring_alloc()
99 u32 ret = 0, avail; in rds_iw_ring_alloc()
117 void rds_iw_ring_free(struct rds_iw_work_ring *ring, u32 val) in rds_iw_ring_free()
127 void rds_iw_ring_unalloc(struct rds_iw_work_ring *ring, u32 val) in rds_iw_ring_unalloc()
148 u32 rds_iw_ring_oldest(struct rds_iw_work_ring *ring) in rds_iw_ring_oldest()
157 u32 rds_iw_ring_completed(struct rds_iw_work_ring *ring, u32 wr_id, u32 oldest) in rds_iw_ring_completed()
159 u32 ret; in rds_iw_ring_completed()