Lines Matching refs:i_send_ring
133 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) {
161 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) {
207 oldest = rds_ib_ring_oldest(&ic->i_send_ring);
209 completed = rds_ib_ring_completed(&ic->i_send_ring, wc.wr_id, oldest);
254 oldest = (oldest + 1) % ic->i_send_ring.w_nr;
257 rds_ib_ring_free(&ic->i_send_ring, completed);
501 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos);
514 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc);
540 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
690 pos = (pos + 1) % ic->i_send_ring.w_nr;
706 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i);
720 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
778 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos);
780 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
840 if (++send == &ic->i_sends[ic->i_send_ring.w_nr])
849 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i);
861 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);