Home
last modified time | relevance | path

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

/fs/nfs/
Dnfs4session.c156 u32 max_reqs, u32 ivalue) in nfs4_grow_slot_table() argument
158 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
160 if (!IS_ERR(nfs4_find_or_create_slot(tbl, max_reqs - 1, ivalue, GFP_NOFS))) in nfs4_grow_slot_table()
190 u32 max_reqs, u32 ivalue) in nfs4_realloc_slot_table() argument
195 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
197 if (max_reqs > NFS4_MAX_SLOT_TABLE) in nfs4_realloc_slot_table()
198 max_reqs = NFS4_MAX_SLOT_TABLE; in nfs4_realloc_slot_table()
200 ret = nfs4_grow_slot_table(tbl, max_reqs, ivalue); in nfs4_realloc_slot_table()
205 nfs4_reset_slot_table(tbl, max_reqs - 1, ivalue); in nfs4_realloc_slot_table()
398 status = nfs4_realloc_slot_table(tbl, ses->fc_attrs.max_reqs, 1); in nfs4_setup_session_slot_tables()
[all …]
Dnfs4proc.c5777 args->fc_attrs.max_reqs = max_session_slots; in nfs4_init_channel_attrs()
5783 args->fc_attrs.max_ops, args->fc_attrs.max_reqs); in nfs4_init_channel_attrs()
5790 args->bc_attrs.max_reqs = 1; in nfs4_init_channel_attrs()
5797 args->bc_attrs.max_reqs); in nfs4_init_channel_attrs()
5815 if (rcvd->max_reqs == 0) in nfs4_verify_fore_channel_attrs()
5817 if (rcvd->max_reqs > NFS4_MAX_SLOT_TABLE) in nfs4_verify_fore_channel_attrs()
5818 rcvd->max_reqs = NFS4_MAX_SLOT_TABLE; in nfs4_verify_fore_channel_attrs()
5836 if (rcvd->max_reqs != sent->max_reqs) in nfs4_verify_back_channel_attrs()
Dnfs4xdr.c1773 *p++ = cpu_to_be32(args->fc_attrs.max_reqs); /* max requests */ in encode_create_session()
1782 *p++ = cpu_to_be32(args->bc_attrs.max_reqs); /* max requests */ in encode_create_session()
5391 attrs->max_reqs = be32_to_cpup(p++); in decode_chan_attrs()
/fs/
Daio.c77 unsigned max_reqs; member
151 unsigned nr_events = ctx->max_reqs; in aio_setup_ring()
363 ctx->max_reqs = nr_events; in ioctx_alloc()
384 aio_nr += ctx->max_reqs; in ioctx_alloc()
439 BUG_ON(aio_nr - ctx->max_reqs > aio_nr); in kill_ioctx()
440 aio_nr -= ctx->max_reqs; in kill_ioctx()