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);
525 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos);
537 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc);
559 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
704 pos = (pos + 1) % ic->i_send_ring.w_nr;
727 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i);
745 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
777 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, 1, &pos);
814 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
839 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
903 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos);
905 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
969 if (++send == &ic->i_sends[ic->i_send_ring.w_nr])
980 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - i);
995 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc);