/linux-6.3-rc2/fs/nfs/ |
A D | nfs4session.c | 263 u32 max_reqs, u32 ivalue) in nfs4_grow_slot_table() argument 265 if (max_reqs <= tbl->max_slots) 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() 354 return nfs4_realloc_slot_table(tbl, max_reqs, 0); in nfs4_setup_slot_table() 545 status = nfs4_realloc_slot_table(tbl, ses->fc_attrs.max_reqs, 1); in nfs4_setup_session_slot_tables() [all …]
|
A D | nfs4session.h | 84 unsigned int max_reqs, const char *queue);
|
A D | nfs4proc.c | 9108 args->fc_attrs.max_reqs = max_session_slots; in nfs4_init_channel_attrs() 9114 args->fc_attrs.max_ops, args->fc_attrs.max_reqs); in nfs4_init_channel_attrs() 9121 args->bc_attrs.max_reqs = max_t(unsigned short, max_session_cb_slots, 1); in nfs4_init_channel_attrs() 9122 if (args->bc_attrs.max_reqs > max_bc_slots) in nfs4_init_channel_attrs() 9123 args->bc_attrs.max_reqs = max_bc_slots; in nfs4_init_channel_attrs() 9130 args->bc_attrs.max_reqs); in nfs4_init_channel_attrs() 9149 if (rcvd->max_reqs == 0) in nfs4_verify_fore_channel_attrs() 9151 if (rcvd->max_reqs > NFS4_MAX_SLOT_TABLE) in nfs4_verify_fore_channel_attrs() 9152 rcvd->max_reqs = NFS4_MAX_SLOT_TABLE; in nfs4_verify_fore_channel_attrs() 9172 if (rcvd->max_reqs > sent->max_reqs) in nfs4_verify_back_channel_attrs()
|
A D | nfs4xdr.c | 1887 *p++ = cpu_to_be32(args->fc_attrs.max_reqs); /* max requests */ in encode_create_session() 1896 *p++ = cpu_to_be32(args->bc_attrs.max_reqs); /* max requests */ in encode_create_session() 5747 attrs->max_reqs = be32_to_cpup(p++); in decode_chan_attrs()
|
/linux-6.3-rc2/include/linux/sunrpc/ |
A D | bc_xprt.h | 26 void xprt_destroy_backchannel(struct rpc_xprt *, unsigned int max_reqs); 30 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs); 54 unsigned int max_reqs) in xprt_destroy_backchannel() argument
|
A D | xprt.h | 30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT) 168 unsigned int max_reqs); 212 unsigned int max_reqs; /* max number of slots */ member
|
/linux-6.3-rc2/net/sunrpc/ |
A D | backchannel_rqst.c | 203 void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_backchannel() argument 206 xprt->ops->bc_destroy(xprt, max_reqs); in xprt_destroy_backchannel() 210 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_bc() argument 216 if (max_reqs == 0) in xprt_destroy_bc() 220 xprt->bc_alloc_max -= min(max_reqs, xprt->bc_alloc_max); in xprt_destroy_bc() 227 if (--max_reqs == 0) in xprt_destroy_bc()
|
A D | sysfs.c | 154 xprt->last_used, xprt->cong, xprt->cwnd, xprt->max_reqs, in rpc_sysfs_xprt_info_show()
|
A D | xprt.c | 1696 if (xprt->num_reqs >= xprt->max_reqs) in xprt_dynamic_alloc_slot() 1825 xprt->max_reqs = max_t(unsigned int, max_alloc, num_prealloc); in xprt_alloc()
|
A D | xprtsock.c | 1571 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()
|
/linux-6.3-rc2/fs/ |
A D | aio.c | 117 unsigned max_reqs; member 741 unsigned int max_reqs = nr_events; in ioctx_alloc() local 761 if (!nr_events || (unsigned long)max_reqs > aio_max_nr) in ioctx_alloc() 768 ctx->max_reqs = max_reqs; in ioctx_alloc() 801 if (aio_nr + ctx->max_reqs > aio_max_nr || in ioctx_alloc() 802 aio_nr + ctx->max_reqs < aio_nr) { in ioctx_alloc() 807 aio_nr += ctx->max_reqs; in ioctx_alloc() 825 aio_nr_sub(ctx->max_reqs); in ioctx_alloc() 872 aio_nr_sub(ctx->max_reqs); in kill_ioctx()
|
/linux-6.3-rc2/net/sunrpc/xprtrdma/ |
A D | svc_rdma_backchannel.c | 276 new_xprt->rx_buf.rb_bc_max_requests = xprt->max_reqs; in xprt_setup_rdma_bc()
|
A D | verbs.c | 391 ep->re_max_requests = r_xprt->rx_xprt.max_reqs; in rpcrdma_ep_create() 1061 for (i = 0; i < r_xprt->rx_xprt.max_reqs; i++) { in rpcrdma_buffer_create()
|
/linux-6.3-rc2/drivers/scsi/mpi3mr/ |
A D | mpi3mr.h | 317 u16 max_reqs; member
|
A D | mpi3mr_fw.c | 2842 mrioc->facts.max_reqs = le16_to_cpu(facts_data->max_outstanding_requests); in mpi3mr_process_factsdata() 2909 mrioc->facts.max_reqs, mrioc->facts.min_devhandle, in mpi3mr_process_factsdata() 2996 mrioc->num_reply_bufs = mrioc->facts.max_reqs + MPI3MR_NUM_EVT_REPLIES; in mpi3mr_alloc_reply_sense_bufs() 2998 mrioc->num_sense_bufs = mrioc->facts.max_reqs / MPI3MR_SENSEBUF_FACTOR; in mpi3mr_alloc_reply_sense_bufs() 3812 mrioc->max_host_ios = mrioc->facts.max_reqs - MPI3MR_INTERNAL_CMDS_RESVD; in mpi3mr_init_ioc()
|
A D | mpi3mr_app.c | 1586 return sysfs_emit(buf, "%d\n", mrioc->facts.max_reqs); in fw_queue_depth_show()
|
/linux-6.3-rc2/include/linux/ |
A D | nfs_xdr.h | 198 u32 max_reqs; member
|