Lines Matching refs:procnum
228 static int nfsrv_getuser(int procnum, uid_t uid, gid_t gid, char *name);
327 nfscl_reqstart(struct nfsrv_descript *nd, int procnum, struct nfsmount *nmp, in nfscl_reqstart() argument
360 nd->nd_procnum = procnum; in nfscl_reqstart()
367 if (nfs_bigrequest[procnum]) in nfscl_reqstart()
376 if (procnum == NFSPROC_NULL) in nfscl_reqstart()
383 opcnt = nfsv4_opmap[procnum].opcnt + in nfscl_reqstart()
384 nfsv4_opflag[nfsv4_opmap[procnum].op].needscfh; in nfscl_reqstart()
386 opcnt += nfsv4_opflag[nfsv4_opmap[procnum].op].needsseq; in nfscl_reqstart()
387 if (procnum == NFSPROC_RENEW) in nfscl_reqstart()
393 else if (procnum == NFSPROC_WRITEDS || in nfscl_reqstart()
394 procnum == NFSPROC_COMMITDS) in nfscl_reqstart()
405 (void) nfsm_strtom(nd, nfsv4_opmap[procnum].tag, in nfscl_reqstart()
406 nfsv4_opmap[procnum].taglen); in nfscl_reqstart()
418 nfsv4_opflag[nfsv4_opmap[procnum].op].needsseq > 0) { in nfscl_reqstart()
419 if (nfsv4_opflag[nfsv4_opmap[procnum].op].loopbadsess > in nfscl_reqstart()
433 nfs_bigreply[procnum], cred); in nfscl_reqstart()
436 nfs_bigreply[procnum], NULL); in nfscl_reqstart()
438 if (nfsv4_opflag[nfsv4_opmap[procnum].op].needscfh > 0) { in nfscl_reqstart()
442 if (nfsv4_opflag[nfsv4_opmap[procnum].op].needscfh in nfscl_reqstart()
443 == 2 && procnum != NFSPROC_WRITEDS && in nfscl_reqstart()
444 procnum != NFSPROC_COMMITDS) { in nfscl_reqstart()
451 if (procnum == NFSPROC_LOOKUP || in nfscl_reqstart()
452 procnum == NFSPROC_LOOKUPP || in nfscl_reqstart()
453 procnum == NFSPROC_LOOKUPOPEN) in nfscl_reqstart()
458 if (procnum == NFSPROC_APPENDWRITE) in nfscl_reqstart()
466 if (procnum != NFSPROC_RENEW || in nfscl_reqstart()
469 *tl = txdr_unsigned(nfsv4_opmap[procnum].op); in nfscl_reqstart()
475 if (procnum < NFSV42_NPROCS) in nfscl_reqstart()
476 NFSINCRGLOBAL(nfsstatsv1.rpccnt[procnum]); in nfscl_reqstart()
3863 nfsrv_getuser(int procnum, uid_t uid, gid_t gid, char *name) in nfsrv_getuser() argument
3891 nd->nd_procnum = procnum; in nfsrv_getuser()
3892 if (procnum == RPCNFSUSERD_GETUID || procnum == RPCNFSUSERD_GETGID) { in nfsrv_getuser()
3894 if (procnum == RPCNFSUSERD_GETUID) in nfsrv_getuser()