Home
last modified time | relevance | path

Searched refs:min_reqs (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/net/sunrpc/
Dbackchannel_rqst.c124 int xprt_setup_backchannel(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_backchannel() argument
128 return xprt->ops->bc_setup(xprt, min_reqs); in xprt_setup_backchannel()
132 int xprt_setup_bc(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_bc() argument
140 if (min_reqs > BC_MAX_SLOTS) in xprt_setup_bc()
141 min_reqs = BC_MAX_SLOTS; in xprt_setup_bc()
152 for (i = 0; i < min_reqs; i++) { in xprt_setup_bc()
170 xprt->bc_alloc_count += min_reqs; in xprt_setup_bc()
171 xprt->bc_alloc_max += min_reqs; in xprt_setup_bc()
172 atomic_add(min_reqs, &xprt->bc_slot_count); in xprt_setup_bc()
Dsysfs.c155 xprt->min_reqs, xprt->num_reqs, xprt->binding.qlen, in rpc_sysfs_xprt_info_show()
Dxprt.c1712 if (xprt->num_reqs > xprt->min_reqs) { in xprt_dynamic_free_slot()
1826 xprt->min_reqs = num_prealloc; in xprt_alloc()
/linux-6.6.21/include/linux/sunrpc/
Dbc_xprt.h25 int xprt_setup_backchannel(struct rpc_xprt *, unsigned int min_reqs);
29 int xprt_setup_bc(struct rpc_xprt *xprt, unsigned int min_reqs);
48 unsigned int min_reqs) in xprt_setup_backchannel() argument
Dxprt.h178 unsigned int min_reqs);
229 unsigned int min_reqs; /* min number of slots */ member