Lines Matching refs:i_send_ring
133 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) {
176 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) {
241 oldest = rds_iw_ring_oldest(&ic->i_send_ring);
243 completed = rds_iw_ring_completed(&ic->i_send_ring, wc.wr_id, oldest);
286 oldest = (oldest + 1) % ic->i_send_ring.w_nr;
289 rds_iw_ring_free(&ic->i_send_ring, completed);
532 work_alloc = rds_iw_ring_alloc(&ic->i_send_ring, i, &pos);
545 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc);
571 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc);
721 pos = (pos + 1) % ic->i_send_ring.w_nr;
737 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc - i);
751 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc);
823 work_alloc = rds_iw_ring_alloc(&ic->i_send_ring, 1, &fr_pos);
825 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc);
838 work_alloc = rds_iw_ring_alloc(&ic->i_send_ring, i, &pos);
840 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc);
923 if (++send == &ic->i_sends[ic->i_send_ring.w_nr])
932 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc - i);
956 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc);