Lines Matching refs:maxreqs
534 if (fchan->maxreqs < 1)
543 /* bound the maxreqs by NFSD_MAX_MEM_PER_SESSION */
544 mem = fchan->maxreqs * size;
546 fchan->maxreqs = NFSD_MAX_MEM_PER_SESSION / size;
547 if (fchan->maxreqs > NFSD_MAX_SLOTS_PER_SESSION)
548 fchan->maxreqs = NFSD_MAX_SLOTS_PER_SESSION;
549 mem = fchan->maxreqs * size;
555 fchan->maxreqs = (nfsd_drc_max_mem - nfsd_drc_mem_used) / size;
556 mem = fchan->maxreqs * size;
561 if (fchan->maxreqs == 0)
598 session_fchan->maxreqs = fchan->maxreqs;
609 for (i = 0; i < ses->se_fchannel.maxreqs; i++)
644 slotsize = tmp.se_fchannel.maxreqs * sizeof(struct nfsd4_slot *);
653 for (i = 0; i < new->se_fchannel.maxreqs; i++) {
719 mem = ses->se_fchannel.maxreqs * slot_bytes(&ses->se_fchannel);
1540 if (seq->slotid >= session->se_fchannel.maxreqs)
1547 * maxslots to the session maxreqs which is used to encode
1549 seq->maxslots = session->se_fchannel.maxreqs;