Searched refs:fattrs (Results 1 – 1 of 1) sorted by relevance
2032 static struct nfsd4_slot *nfsd4_alloc_slot(struct nfsd4_channel_attrs *fattrs, in nfsd4_alloc_slot() argument2042 size = fattrs->maxresp_cached < NFSD_MIN_HDR_SEQ_SZ ? in nfsd4_alloc_slot()2043 0 : fattrs->maxresp_cached - NFSD_MIN_HDR_SEQ_SZ; in nfsd4_alloc_slot()2052 static struct nfsd4_session *alloc_session(struct nfsd4_channel_attrs *fattrs, in alloc_session() argument2055 int numslots = fattrs->maxreqs; in alloc_session()2065 slot = nfsd4_alloc_slot(fattrs, 0, GFP_KERNEL); in alloc_session()2071 slot = nfsd4_alloc_slot(fattrs, i, gfp); in alloc_session()2079 fattrs->maxreqs = i; in alloc_session()2080 memcpy(&new->se_fchannel, fattrs, sizeof(struct nfsd4_channel_attrs)); in alloc_session()