Home
last modified time | relevance | path

Searched refs:max_reqs (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/fs/nfs/
Dnfs4session.c263 u32 max_reqs, u32 ivalue) in nfs4_grow_slot_table() argument
265 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
267 if (!IS_ERR(nfs4_find_or_create_slot(tbl, max_reqs - 1, ivalue, GFP_NOFS))) in nfs4_grow_slot_table()
298 u32 max_reqs, u32 ivalue) in nfs4_realloc_slot_table() argument
303 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
305 if (max_reqs > NFS4_MAX_SLOT_TABLE) in nfs4_realloc_slot_table()
306 max_reqs = NFS4_MAX_SLOT_TABLE; in nfs4_realloc_slot_table()
308 ret = nfs4_grow_slot_table(tbl, max_reqs, ivalue); in nfs4_realloc_slot_table()
313 nfs4_reset_slot_table(tbl, max_reqs - 1, ivalue); in nfs4_realloc_slot_table()
350 int nfs4_setup_slot_table(struct nfs4_slot_table *tbl, unsigned int max_reqs, in nfs4_setup_slot_table() argument
[all …]
Dnfs4session.h83 unsigned int max_reqs, const char *queue);
Dnfs4proc.c8899 args->fc_attrs.max_reqs = max_session_slots; in nfs4_init_channel_attrs()
8905 args->fc_attrs.max_ops, args->fc_attrs.max_reqs); in nfs4_init_channel_attrs()
8912 args->bc_attrs.max_reqs = max_t(unsigned short, max_session_cb_slots, 1); in nfs4_init_channel_attrs()
8913 if (args->bc_attrs.max_reqs > max_bc_slots) in nfs4_init_channel_attrs()
8914 args->bc_attrs.max_reqs = max_bc_slots; in nfs4_init_channel_attrs()
8921 args->bc_attrs.max_reqs); in nfs4_init_channel_attrs()
8940 if (rcvd->max_reqs == 0) in nfs4_verify_fore_channel_attrs()
8942 if (rcvd->max_reqs > NFS4_MAX_SLOT_TABLE) in nfs4_verify_fore_channel_attrs()
8943 rcvd->max_reqs = NFS4_MAX_SLOT_TABLE; in nfs4_verify_fore_channel_attrs()
8963 if (rcvd->max_reqs > sent->max_reqs) in nfs4_verify_back_channel_attrs()
Dnfs4xdr.c1859 *p++ = cpu_to_be32(args->fc_attrs.max_reqs); /* max requests */ in encode_create_session()
1868 *p++ = cpu_to_be32(args->bc_attrs.max_reqs); /* max requests */ in encode_create_session()
5650 attrs->max_reqs = be32_to_cpup(p++); in decode_chan_attrs()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dbc_xprt.h40 void xprt_destroy_backchannel(struct rpc_xprt *, unsigned int max_reqs);
44 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs);
68 unsigned int max_reqs) in xprt_destroy_backchannel() argument
Dxprt.h30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT)
163 unsigned int max_reqs);
205 unsigned int max_reqs; /* max number of slots */ member
/kernel/linux/linux-5.10/net/sunrpc/
Dbackchannel_rqst.c217 void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_backchannel() argument
220 xprt->ops->bc_destroy(xprt, max_reqs); in xprt_destroy_backchannel()
224 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_bc() argument
230 if (max_reqs == 0) in xprt_destroy_bc()
234 xprt->bc_alloc_max -= min(max_reqs, xprt->bc_alloc_max); in xprt_destroy_bc()
241 if (--max_reqs == 0) in xprt_destroy_bc()
Dxprt.c1629 if (xprt->num_reqs >= xprt->max_reqs) in xprt_dynamic_alloc_slot()
1736 xprt->max_reqs = max_alloc; in xprt_alloc()
1738 xprt->max_reqs = num_prealloc; in xprt_alloc()
Dxprtsock.c1571 sk->sk_rcvbuf = transport->rcvsize * xprt->max_reqs * 2; in xs_udp_do_set_buffer_size()
1575 sk->sk_sndbuf = transport->sndsize * xprt->max_reqs * 2; in xs_udp_do_set_buffer_size()
/kernel/linux/linux-5.10/fs/
Daio.c118 unsigned max_reqs; member
712 unsigned int max_reqs = nr_events; in ioctx_alloc() local
732 if (!nr_events || (unsigned long)max_reqs > aio_max_nr) in ioctx_alloc()
739 ctx->max_reqs = max_reqs; in ioctx_alloc()
772 if (aio_nr + ctx->max_reqs > aio_max_nr || in ioctx_alloc()
773 aio_nr + ctx->max_reqs < aio_nr) { in ioctx_alloc()
778 aio_nr += ctx->max_reqs; in ioctx_alloc()
796 aio_nr_sub(ctx->max_reqs); in ioctx_alloc()
843 aio_nr_sub(ctx->max_reqs); in kill_ioctx()
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_backchannel.c264 new_xprt->rx_buf.rb_bc_max_requests = xprt->max_reqs; in xprt_setup_rdma_bc()
Dverbs.c418 ep->re_max_requests = r_xprt->rx_xprt.max_reqs; in rpcrdma_ep_create()
1066 for (i = 0; i < r_xprt->rx_xprt.max_reqs; i++) { in rpcrdma_buffer_create()
/kernel/linux/linux-5.10/include/linux/
Dnfs_xdr.h196 u32 max_reqs; member