/netbsd-current/sys/fs/nfs/server/ |
H A D | nfs_nfsdserv.c | 102 if (nd->nd_repstat) { 112 nd->nd_repstat = NFSERR_INVAL; 194 if (nd->nd_repstat) 209 &nd->nd_repstat); 213 if (nd->nd_repstat == 0) { 234 nd->nd_repstat = nfsvno_accchk(vp, accmode, 239 if (!nd->nd_repstat) 240 nd->nd_repstat = nfsvno_getattr(vp, &nva, nd->nd_cred, p, 1); 241 if (!nd->nd_repstat) { 244 nd->nd_repstat [all...] |
H A D | nfs_nfsdsocket.c | 488 KASSERT(nd->nd_repstat == 0, ("nfsrvd_dorpc")); 494 nd->nd_repstat = NFSERR_DELAY; 501 nd->nd_repstat = NFSERR_GARBAGE; 522 if (nd->nd_repstat == NFSERR_PROGNOTV4) 537 * If nd_repstat is non-zero, just fill in the reply status 541 if (nd->nd_repstat && (nd->nd_flag & ND_NFSV2)) { 586 nd->nd_repstat = NFSERR_GARBAGE; 593 if (nd->nd_repstat && (nd->nd_flag & ND_SAVEREPLY) && 594 (nd->nd_repstat == NFSERR_GARBAGE || 595 nd->nd_repstat [all...] |
H A D | nfs_nfsdport.c | 793 error = nd->nd_repstat; 1425 nd->nd_repstat = nfsrv_opencheck(clientid, 1426 stateidp, stp, NULL, nd, p, nd->nd_repstat); 1427 if (!nd->nd_repstat) { 1430 nd->nd_repstat = VOP_CREATE(ndp->ni_dvp, 1434 if (!nd->nd_repstat) { 1440 nd->nd_repstat = VOP_SETATTR(ndp->ni_vp, 1442 if (nd->nd_repstat != 0) { 1445 nd->nd_repstat = NFSERR_NOTSUPP; 1469 nd->nd_repstat [all...] |
H A D | nfs_nfsdkrpc.c | 257 nd.nd_repstat = nfsvno_v4rootexport(&nd); 258 if (nd.nd_repstat != 0) { 297 if (nd.nd_repstat & NFSERR_AUTHERR) { 298 svcerr_auth(rqst, nd.nd_repstat & ~NFSERR_AUTHERR); 345 * 2 - nd_repstat == 0 && nd_mreq == NULL, which 387 if (nd->nd_repstat != NFSERR_REPLYFROMCACHE && 396 nd->nd_slotid, nd->nd_repstat, &m); 397 if (nd->nd_repstat == NFSERR_REPLYFROMCACHE) 398 nd->nd_repstat = 0; 401 if (nd->nd_repstat [all...] |
H A D | nfs_nfsdsubs.c | 1436 * For NFSv4, if the length is incorrect, set nd_repstat == NFSERR_BADHANDLE 1458 nd->nd_repstat = NFSERR_BADHANDLE; 1496 * NFSPROC_NOOP is a special case, where the high order bits of nd_repstat 1506 if (!nd->nd_repstat) 1510 return (txdr_unsigned(nd->nd_repstat & 0xffff)); 1513 else if (nd->nd_repstat == EBADRPC) 1515 else if (nd->nd_repstat == NFSERR_MINORVERMISMATCH || 1516 nd->nd_repstat == NFSERR_OPILLEGAL) 1517 return (txdr_unsigned(nd->nd_repstat)); 1519 if (nd->nd_repstat [all...] |
H A D | nfs_nfsdcache.c | 484 if (nd->nd_repstat == NFSERR_REPLYFROMCACHE) { 487 nd->nd_repstat = 0; 504 if (nd->nd_repstat != NFSERR_DONTREPLY && 517 rp->rc_status = nd->nd_repstat;
|
H A D | nfs_nfsdstate.c | 1605 nfsrv_dolocallocks != 0 && nd->nd_repstat == 0) { 1785 * nd_repstat - Set by the calling function. 1788 * (If both of these are set, nd_repstat should probably be 1792 if (error != 0 || nd->nd_repstat != 0 || reterr != 0) { 1794 if (nd->nd_repstat != 0) 1795 error = nd->nd_repstat; 4121 nd->nd_repstat = 0; 4229 * (nd_repstat != 0 indicates the Callback path is working, 4251 if (nd->nd_repstat) 4252 error = nd->nd_repstat; [all...] |
/netbsd-current/sys/fs/nfs/client/ |
H A D | nfs_clrpcops.c | 146 if (nd->nd_repstat && !error) 147 error = nd->nd_repstat; 233 if (!nd->nd_repstat) { 252 error = nd->nd_repstat; 437 if (!nd->nd_repstat) { 562 if (nd->nd_repstat != 0 && error == 0) 563 error = nd->nd_repstat; 602 if (!nd->nd_repstat) { 609 if (nd->nd_repstat && error == 0) 610 error = nd->nd_repstat; [all...] |
H A D | nfs_clkrpc.c | 138 if (nd.nd_repstat & NFSERR_AUTHERR) { 139 svcerr_auth(rqst, nd.nd_repstat & ~NFSERR_AUTHERR); 163 if (nd->nd_repstat == NFSERR_DONTREPLY)
|
H A D | nfs_clstate.c | 3196 nd->nd_repstat = NFSERR_MINORVERMISMATCH; 3198 if (nd->nd_repstat) 3214 nd->nd_repstat = NFSERR_OPILLEGAL; 3515 nd->nd_repstat = NFSERR_BADXDR; 3517 nd->nd_repstat = error; 3522 if (nd->nd_repstat) { 3533 nd->nd_repstat = NFSERR_BADXDR; 4120 if (!error && nd->nd_repstat == NFSERR_DELAY) 4121 (void) nfs_catnap(PZERO, (int)nd->nd_repstat, 4123 } while (!error && nd->nd_repstat [all...] |
H A D | nfs_clcomsubs.c | 154 nd->nd_repstat = 0;
|
H A D | nfs_clport.c | 799 * in looking if nd_repstat != 0. 801 if (!nd->nd_repstat) { 804 /* should never happen since nd_repstat != 0 */ 809 } else if (!nd->nd_repstat) { 810 /* For NFSv2, the attributes are here iff nd_repstat == 0 */
|
/netbsd-current/sys/fs/nfs/common/ |
H A D | nfs_commonkrpc.c | 808 nd->nd_repstat = 0; 818 nd->nd_repstat = fxdr_unsigned(u_int32_t, *tl); 819 if (nd->nd_repstat >= 10000) 821 (int)nd->nd_repstat); 880 if (nd->nd_repstat != 0) { 881 if (((nd->nd_repstat == NFSERR_DELAY || 882 nd->nd_repstat == NFSERR_GRACE) && 897 (nd->nd_repstat == NFSERR_DELAY && 899 nd->nd_repstat == NFSERR_RESOURCE) { 923 if (nd->nd_repstat [all...] |
H A D | nfs.h | 591 u_int32_t nd_repstat; /* Reply status */ member in struct:nfsrv_descript
|
H A D | nfs_commonsubs.c | 2091 nd->nd_repstat = NFSERR_ACCES; 2122 nd->nd_repstat = NFSERR_ACCES; 3176 error = nd->nd_repstat;
|
/netbsd-current/sys/nfs/ |
H A D | nfs_socket.c | 1025 nd->nd_repstat = 0; 1028 nd->nd_repstat = ERPCMISMATCH; 1033 nd->nd_repstat = EPROGUNAVAIL; 1040 nd->nd_repstat = EPROGMISMATCH; 1051 nd->nd_repstat = EPROCUNAVAIL; 1145 nd->nd_repstat = (NFSERR_AUTHERR|AUTH_BADVERF); 1153 nd->nd_repstat = (NFSERR_AUTHERR|AUTH_BADVERF); 1166 nd->nd_repstat = (NFSERR_AUTHERR|AUTH_BADCRED); 1175 nd->nd_repstat = (NFSERR_AUTHERR|AUTH_BADVERF); 1192 nd->nd_repstat [all...] |
H A D | nfsm_subs.h | 443 nfsd->nd_repstat = error; \ 464 nfsd->nd_repstat = error; \
|
H A D | nfs_srvcache.c | 362 rp->rc_status = nd->nd_repstat;
|
H A D | nfs.h | 536 int nd_repstat; /* Reply status */ member in struct:nfsrv_descript
|
H A D | nfs_syscalls.c | 758 nd->nd_repstat =
|
H A D | nfs_serv.c | 3550 if (nfsd->nd_repstat) 3551 error = nfsd->nd_repstat;
|