Searched refs:max_reqs (Results 1 – 4 of 4) sorted by relevance
188 void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_backchannel() argument194 if (max_reqs == 0) in xprt_destroy_backchannel()198 xprt_dec_alloc_count(xprt, max_reqs); in xprt_destroy_backchannel()202 if (--max_reqs == 0) in xprt_destroy_backchannel()
88 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT)983 if (!atomic_add_unless(&xprt->num_reqs, 1, xprt->max_reqs)) in xprt_dynamic_alloc_slot()1096 xprt->max_reqs = max_alloc; in xprt_alloc()1098 xprt->max_reqs = num_prealloc; in xprt_alloc()1323 xprt->max_reqs); in xprt_create_transport()
1618 sk->sk_rcvbuf = transport->rcvsize * xprt->max_reqs * 2; in xs_udp_do_set_buffer_size()1622 sk->sk_sndbuf = transport->sndsize * xprt->max_reqs * 2; in xs_udp_do_set_buffer_size()
322 cdata.max_requests = xprt->max_reqs; in xprt_setup_rdma()