Searched refs:i_recv_ring (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/net/rds/ |
D | ib_cm.c | 296 if (rds_ibdev->max_wrs < ic->i_recv_ring.w_nr + 1) in rds_ib_setup_qp() 297 rds_ib_ring_resize(&ic->i_recv_ring, rds_ibdev->max_wrs - 1); in rds_ib_setup_qp() 315 ic->i_recv_ring.w_nr, 0); in rds_ib_setup_qp() 341 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; in rds_ib_setup_qp() 370 ic->i_recv_ring.w_nr * in rds_ib_setup_qp() 395 ic->i_recvs = vzalloc_node(ic->i_recv_ring.w_nr * sizeof(struct rds_ib_recv_work), in rds_ib_setup_qp() 665 rds_ib_ring_empty(&ic->i_recv_ring) && in rds_ib_conn_shutdown() 678 ic->i_recv_ring.w_nr * in rds_ib_conn_shutdown() 740 rds_ib_ring_init(&ic->i_recv_ring, rds_ib_sysctl_max_recv_wr); in rds_ib_conn_shutdown() 784 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() 793 recv = &ic->i_recvs[rds_iw_ring_oldest(&ic->i_recv_ring)]; in rds_poll_cq() 814 rds_iw_ring_free(&ic->i_recv_ring, 1); in rds_poll_cq() 840 if (rds_iw_ring_empty(&ic->i_recv_ring)) in rds_iw_recv_tasklet_fn() 846 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() 404 rds_ib_ring_unalloc(&ic->i_recv_ring, 1); in rds_ib_recv_refill() 963 recv = &ic->i_recvs[rds_ib_ring_oldest(&ic->i_recv_ring)]; in rds_poll_cq() 989 rds_ib_ring_free(&ic->i_recv_ring, 1); in rds_poll_cq() 1015 if (rds_ib_ring_empty(&ic->i_recv_ring)) in rds_ib_recv_tasklet_fn() 1018 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 | ib.h | 118 struct rds_ib_work_ring i_recv_ring; member
|
D | iw.h | 125 struct rds_iw_work_ring i_recv_ring; member
|