Searched refs:i_recv_ring (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/net/rds/ |
D | ib_cm.c | 287 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()
|
D | iw_recv.c | 87 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()
|
D | ib_recv.c | 51 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()
|
D | iw_cm.c | 273 &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()
|
D | iw.c | 194 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_iw_conn_info_visitor()
|
D | ib.c | 293 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor()
|
D | iw.h | 125 struct rds_iw_work_ring i_recv_ring; member
|
D | ib.h | 118 struct rds_ib_work_ring i_recv_ring; member
|