Home
last modified time | relevance | path

Searched refs:i_recv_ring (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/net/rds/
Dib_cm.c287 if (rds_ibdev->max_wrs < ic->i_recv_ring.w_nr + 1) in rds_ib_setup_qp()
288 rds_ib_ring_resize(&ic->i_recv_ring, rds_ibdev->max_wrs - 1); in rds_ib_setup_qp()
306 ic->i_recv_ring.w_nr, 0); in rds_ib_setup_qp()
332 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; in rds_ib_setup_qp()
361 ic->i_recv_ring.w_nr * in rds_ib_setup_qp()
386 ic->i_recvs = vzalloc_node(ic->i_recv_ring.w_nr * sizeof(struct rds_ib_recv_work), in rds_ib_setup_qp()
657 rds_ib_ring_empty(&ic->i_recv_ring) && in rds_ib_conn_shutdown()
670 ic->i_recv_ring.w_nr * in rds_ib_conn_shutdown()
732 rds_ib_ring_init(&ic->i_recv_ring, rds_ib_sysctl_max_recv_wr); in rds_ib_conn_shutdown()
776 rds_ib_ring_init(&ic->i_recv_ring, rds_ib_sysctl_max_recv_wr); in rds_ib_conn_alloc()
Diw_recv.c87 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_iw_recv_init_ring()
130 for (i = 0; i < ic->i_recv_ring.w_nr; i++) in rds_iw_recv_clear_ring()
235 rds_iw_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_iw_recv_refill()
236 if (pos >= ic->i_recv_ring.w_nr) { in rds_iw_recv_refill()
272 rds_iw_ring_unalloc(&ic->i_recv_ring, 1); in rds_iw_recv_refill()
808 recv = &ic->i_recvs[rds_iw_ring_oldest(&ic->i_recv_ring)]; in rds_poll_cq()
829 rds_iw_ring_free(&ic->i_recv_ring, 1); in rds_poll_cq()
855 if (rds_iw_ring_empty(&ic->i_recv_ring)) in rds_iw_recv_tasklet_fn()
861 if (rds_iw_ring_low(&ic->i_recv_ring)) in rds_iw_recv_tasklet_fn()
Dib_recv.c51 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
237 for (i = 0; i < ic->i_recv_ring.w_nr; i++) in rds_ib_recv_clear_ring()
367 rds_ib_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_ib_recv_refill()
368 if (pos >= ic->i_recv_ring.w_nr) { in rds_ib_recv_refill()
401 rds_ib_ring_unalloc(&ic->i_recv_ring, 1); in rds_ib_recv_refill()
974 recv = &ic->i_recvs[rds_ib_ring_oldest(&ic->i_recv_ring)]; in rds_poll_cq()
1000 rds_ib_ring_free(&ic->i_recv_ring, 1); in rds_poll_cq()
1026 if (rds_ib_ring_empty(&ic->i_recv_ring)) in rds_ib_recv_tasklet_fn()
1029 if (rds_ib_ring_low(&ic->i_recv_ring)) in rds_ib_recv_tasklet_fn()
Diw_cm.c273 &ic->i_recv_ring, rds_iw_recv_cq_comp_handler, in rds_iw_setup_qp()
302 ic->i_recv_ring.w_nr * in rds_iw_setup_qp()
327 ic->i_recvs = vmalloc(ic->i_recv_ring.w_nr * sizeof(struct rds_iw_recv_work)); in rds_iw_setup_qp()
604 rds_iw_ring_empty(&ic->i_recv_ring)); in rds_iw_conn_shutdown()
615 ic->i_recv_ring.w_nr * in rds_iw_conn_shutdown()
677 rds_iw_ring_init(&ic->i_recv_ring, rds_iw_sysctl_max_recv_wr); in rds_iw_conn_shutdown()
714 rds_iw_ring_init(&ic->i_recv_ring, rds_iw_sysctl_max_recv_wr); in rds_iw_conn_alloc()
Diw.c194 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_iw_conn_info_visitor()
Dib.c293 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor()
Diw.h125 struct rds_iw_work_ring i_recv_ring; member
Dib.h118 struct rds_ib_work_ring i_recv_ring; member