Lines Matching refs:i_send_ring
195 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_init_ring()
219 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_clear_ring()
267 oldest = rds_ib_ring_oldest(&ic->i_send_ring); in rds_ib_send_cqe_handler()
269 completed = rds_ib_ring_completed(&ic->i_send_ring, wc->wr_id, oldest); in rds_ib_send_cqe_handler()
292 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cqe_handler()
295 rds_ib_ring_free(&ic->i_send_ring, completed); in rds_ib_send_cqe_handler()
525 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
537 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
559 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
704 pos = (pos + 1) % ic->i_send_ring.w_nr; in rds_ib_xmit()
727 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i); in rds_ib_xmit()
745 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
777 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, 1, &pos); in rds_ib_xmit_atomic()
814 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_atomic()
839 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_atomic()
903 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit_rdma()
905 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_rdma()
969 if (++send == &ic->i_sends[ic->i_send_ring.w_nr]) in rds_ib_xmit_rdma()
980 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i); in rds_ib_xmit_rdma()
995 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit_rdma()