Lines Matching refs:i_send_ring

227 	for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) {  in rds_ib_send_init_ring()
250 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_clear_ring()
307 oldest = rds_ib_ring_oldest(&ic->i_send_ring); in rds_ib_send_cq_comp_handler()
309 completed = rds_ib_ring_completed(&ic->i_send_ring, wc.wr_id, oldest); in rds_ib_send_cq_comp_handler()
331 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cq_comp_handler()
334 rds_ib_ring_free(&ic->i_send_ring, completed); in rds_ib_send_cq_comp_handler()
565 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
577 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
599 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
725 pos = (pos + 1) % ic->i_send_ring.w_nr; in rds_ib_xmit()
746 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i); in rds_ib_xmit()
764 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
799 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, 1, &pos); in rds_ib_xmit_atomic()
801 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_atomic()
836 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_atomic()
861 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_atomic()
916 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit_rdma()
918 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_rdma()
972 if (++send == &ic->i_sends[ic->i_send_ring.w_nr]) in rds_ib_xmit_rdma()
983 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i); in rds_ib_xmit_rdma()
998 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_rdma()