Lines Matching refs:i_send_ring
195 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) {
219 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) {
267 oldest = rds_ib_ring_oldest(&ic->i_send_ring);
269 completed = rds_ib_ring_completed(&ic->i_send_ring, wc->wr_id, oldest);
292 oldest = (oldest + 1) % ic->i_send_ring.w_nr;
295 rds_ib_ring_free(&ic->i_send_ring, completed);
524 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos);
536 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc);
558 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
703 pos = (pos + 1) % ic->i_send_ring.w_nr;
726 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i);
744 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
776 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, 1, &pos);
813 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
838 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
902 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos);
904 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
968 if (++send == &ic->i_sends[ic->i_send_ring.w_nr])
979 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i);
994 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);