Home
last modified time | relevance | path

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

/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.c8498 args->fc_attrs.max_reqs = max_session_slots; in nfs4_init_channel_attrs()
8504 args->fc_attrs.max_ops, args->fc_attrs.max_reqs); in nfs4_init_channel_attrs()
8511 args->bc_attrs.max_reqs = max_t(unsigned short, max_session_cb_slots, 1); in nfs4_init_channel_attrs()
8512 if (args->bc_attrs.max_reqs > max_bc_slots) in nfs4_init_channel_attrs()
8513 args->bc_attrs.max_reqs = max_bc_slots; in nfs4_init_channel_attrs()
8520 args->bc_attrs.max_reqs); in nfs4_init_channel_attrs()
8539 if (rcvd->max_reqs == 0) in nfs4_verify_fore_channel_attrs()
8541 if (rcvd->max_reqs > NFS4_MAX_SLOT_TABLE) in nfs4_verify_fore_channel_attrs()
8542 rcvd->max_reqs = NFS4_MAX_SLOT_TABLE; in nfs4_verify_fore_channel_attrs()
8562 if (rcvd->max_reqs > sent->max_reqs) in nfs4_verify_back_channel_attrs()
Dnfs4xdr.c1862 *p++ = cpu_to_be32(args->fc_attrs.max_reqs); /* max requests */ in encode_create_session()
1871 *p++ = cpu_to_be32(args->bc_attrs.max_reqs); /* max requests */ in encode_create_session()
5624 attrs->max_reqs = be32_to_cpup(p++); in decode_chan_attrs()
/fs/
Daio.c119 unsigned max_reqs; member
711 unsigned int max_reqs = nr_events; in ioctx_alloc() local
731 if (!nr_events || (unsigned long)max_reqs > aio_max_nr) in ioctx_alloc()
738 ctx->max_reqs = max_reqs; in ioctx_alloc()
771 if (aio_nr + ctx->max_reqs > aio_max_nr || in ioctx_alloc()
772 aio_nr + ctx->max_reqs < aio_nr) { in ioctx_alloc()
777 aio_nr += ctx->max_reqs; in ioctx_alloc()
795 aio_nr_sub(ctx->max_reqs); in ioctx_alloc()
842 aio_nr_sub(ctx->max_reqs); in kill_ioctx()