Home
last modified time | relevance | path

Searched refs:nd_flag (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c145 nd.nd_flag = ND_NFSV2; in nfssvc_program()
153 nd.nd_flag = ND_NFSV3; in nfssvc_program()
162 nd.nd_flag = ND_NFSV4; in nfssvc_program()
247 nd.nd_flag |= ND_GSS; in nfssvc_program()
249 nd.nd_flag |= (ND_GSS | ND_GSSINTEGRITY); in nfssvc_program()
251 nd.nd_flag |= (ND_GSS | ND_GSSPRIVACY); in nfssvc_program()
260 if ((nd.nd_flag & (ND_NFSV4 | ND_GSS)) == (ND_NFSV4 | ND_GSS)) { in nfssvc_program()
312 nd.nd_flag |= ND_TLS; in nfssvc_program()
314 nd.nd_flag |= ND_TLSCERT; in nfssvc_program()
316 nd.nd_flag | in nfssvc_program()
[all...]
H A Dnfs_nfsdserv.c147 if ((nd->nd_flag & ND_NFSV4) && in nfsrvd_access()
213 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_access()
218 if (nd->nd_flag & ND_NFSV4) { in nfsrvd_access()
255 if (nd->nd_flag & ND_NFSV4) { in nfsrvd_getattr()
301 if (nd->nd_flag & ND_NFSV4) { in nfsrvd_getattr()
389 if (nd->nd_flag & ND_NFSV4) { in nfsrvd_setattr()
412 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_setattr()
431 } else if (!nd->nd_repstat && (nd->nd_flag & ND_NFSV4)) in nfsrvd_setattr()
459 if (nd->nd_repstat == 0 && (nd->nd_flag & ND_NFSV4) != 0 && in nfsrvd_setattr()
464 if (!nd->nd_repstat && (nd->nd_flag & ND_NFSV4)) { in nfsrvd_setattr()
[all …]
H A Dnfs_nfsdsubs.c1422 if (nd->nd_flag & ND_NFSV3) in nfsrv_fillattr()
1434 if (nd->nd_flag & ND_NFSV3) { in nfsrv_fillattr()
1478 if (nd->nd_flag & (ND_NFSV3 | ND_NFSV4)) { in nfsrv_mtofh()
1481 if (len == 0 && nfs_pubfhset && (nd->nd_flag & ND_NFSV3) && in nfsrv_mtofh()
1483 nd->nd_flag |= ND_PUBLOOKUP; in nfsrv_mtofh()
1489 if (len == NFSX_V4PNFSFH && (nd->nd_flag & ND_NFSV41) != 0) { in nfsrv_mtofh()
1492 nd->nd_flag |= ND_DSSERVER; in nfsrv_mtofh()
1494 if (nd->nd_flag & ND_NFSV4) { in nfsrv_mtofh()
1520 if ((nd->nd_flag & ND_NFSV2) && nfs_pubfhset && in nfsrv_mtofh()
1523 nd->nd_flag |= ND_PUBLOOKUP; in nfsrv_mtofh()
[all …]
H A Dnfs_nfsdsocket.c563 if (!(nd->nd_flag & ND_NFSV4)) { in nfsrvd_dorpc()
569 if ((nd->nd_flag & ND_NFSV3) && nfsrv_mallocmget_limit()) { in nfsrvd_dorpc()
592 if (nd->nd_flag & ND_PUBLOOKUP) in nfsrvd_dorpc()
608 if (!(nd->nd_flag & ND_NFSV4) && nfsrv_nonidempotent[nd->nd_procnum]) in nfsrvd_dorpc()
609 nd->nd_flag |= ND_SAVEREPLY; in nfsrvd_dorpc()
617 if (nd->nd_repstat && (nd->nd_flag & ND_NFSV2)) { in nfsrvd_dorpc()
632 if (nd->nd_flag & ND_NFSV4) { in nfsrvd_dorpc()
682 if (nd->nd_repstat && (nd->nd_flag & ND_SAVEREPLY) && in nfsrvd_dorpc()
696 nd->nd_flag &= ~ND_SAVEREPLY; in nfsrvd_dorpc()
884 (op >= NFSV4OP_NOPS && (nd->nd_flag & ND_NFSV41) == 0) || in nfsrvd_compound()
[all …]
H A Dnfs_nfsdport.c434 (nd->nd_flag & ND_NFSV4) == 0 || in nfsvno_getattr()
678 if (nd->nd_flag & ND_PUBLOOKUP) { in nfsvno_namei()
697 (nd->nd_flag & ND_NFSV4) == 0) { in nfsvno_namei()
745 if (!(nd->nd_flag & ND_PUBLOOKUP)) { in nfsvno_namei()
1453 if ((nd->nd_flag & ND_NFSV3) && in nfsvno_getsymlink()
1466 if (nd->nd_flag & ND_NFSV2) { in nfsvno_getsymlink()
2095 if (nd->nd_flag & ND_NFSV2) { in nfsrvd_readdir()
2111 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_readdir()
2128 if (nd->nd_flag & ND_NFSV2) in nfsrvd_readdir()
2140 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdir()
[all …]
H A Dnfs_nfsdstate.c323 ((nd->nd_flag & ND_GSS) != 0 && nfsrv_nogsscallback != 0)) in nfsrv_setclient()
363 if ((nd->nd_flag & ND_NFSV41) != 0 && confirmp->lval[1] != 0) { in nfsrv_setclient()
390 if ((nd->nd_flag & ND_NFSV41) != 0) { in nfsrv_setclient()
503 if ((nd->nd_flag & ND_NFSV41) != 0) { in nfsrv_setclient()
575 if ((nd->nd_flag & ND_NFSV41) != 0) { in nfsrv_setclient()
623 if ((nd->nd_flag & ND_NFSV41) == 0) { in nfsrv_setclient()
675 if ((nd == NULL || (nd->nd_flag & ND_NFSV41) == 0 || in nfsrv_getclient()
712 if ((nd->nd_flag & ND_NFSV41) != 0) { in nfsrv_getclient()
723 if (nd != NULL && (nd->nd_flag & ND_NFSV41) != 0 && in nfsrv_getclient()
726 if ((nd->nd_flag & ND_HASSEQUENCE) != 0) { in nfsrv_getclient()
[all …]
H A Dnfs_nfsdcache.c347 if (nd->nd_flag & ND_NFSV4) in nfsrvd_getcache()
349 else if (nd->nd_flag & ND_NFSV3) in nfsrvd_getcache()
357 if (nd->nd_flag & ND_SAMETCPCONN) in nfsrvd_getcache()
511 ((nd->nd_flag & ND_SAVEREPLY) && (rp->rc_flag & RC_UDP)) || in nfsrvd_updatecache()
512 ((nd->nd_flag & ND_SAVEREPLY) && !(rp->rc_flag & RC_UDP) && in nfsrvd_updatecache()
520 if ((nd->nd_flag & ND_NFSV2) && in nfsrvd_updatecache()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clcomsubs.c73 KASSERT((nd->nd_flag & ND_EXTPG) != 0 || mcp == in nfsm_uiombuf()
81 if ((nd->nd_flag & ND_EXTPG) != 0) in nfsm_uiombuf()
86 if ((nd->nd_flag & ND_EXTPG) != 0) { in nfsm_uiombuf()
116 if ((nd->nd_flag & ND_EXTPG) != 0) { in nfsm_uiombuf()
130 if ((nd->nd_flag & ND_EXTPG) == 0 && rem > in nfsm_uiombuf()
136 } else if ((nd->nd_flag & ND_EXTPG) != 0 && rem > in nfsm_uiombuf()
147 if ((nd->nd_flag & ND_EXTPG) != 0) { in nfsm_uiombuf()
272 if (nd->nd_flag & ND_NFSV4) { in nfsm_loadattr()
275 } else if (nd->nd_flag & ND_NFSV3) { in nfsm_loadattr()
351 if (nd->nd_flag & ND_NFSV3) { in nfscl_mtofh()
[all …]
H A Dnfs_clrpcops.c327 if (nd->nd_flag & ND_NFSV4) { in nfsrpc_accessrpc()
339 if (nd->nd_flag & ND_NFSV3) { in nfsrpc_accessrpc()
345 if (nd->nd_flag & ND_NFSV4) { in nfsrpc_accessrpc()
352 if (nd->nd_flag & ND_NFSV4) in nfsrpc_accessrpc()
606 nd->nd_flag |= ND_USEGSSNAME; in nfsrpc_openrpc()
613 reclaim != 0 && (nd->nd_flag & ND_NOMOREDATA) == 0)) { in nfsrpc_openrpc()
968 nd->nd_flag |= ND_USEGSSNAME; in nfsrpc_closerpc()
1247 nd->nd_flag |= ND_USEGSSNAME; in nfsrpc_setclient()
1271 nd->nd_flag |= ND_USEGSSNAME; in nfsrpc_setclient()
1310 if (nd->nd_flag & ND_NFSV4) { in nfsrpc_getattr()
[all …]
H A Dnfs_clkrpc.c81 nd.nd_flag = (ND_NFSCB | ND_NFSV4); in nfscb_program()
116 nd.nd_flag |= ND_EXTPG; in nfscb_program()
167 nd->nd_flag |= ND_STREAMSOCK; in nfs_cbproc()
H A Dnfs_clport.c810 if (nd->nd_flag & ND_NFSV3) { in nfscl_wcc_data()
827 } else if ((nd->nd_flag & (ND_NOMOREDATA | ND_NFSV4 | ND_V4WCCATTR)) in nfscl_wcc_data()
839 nd->nd_flag |= ND_NOMOREDATA; in nfscl_wcc_data()
866 if (nd->nd_flag & ND_NOMOREDATA) in nfscl_postop_attr()
868 if (nd->nd_flag & ND_NFSV3) { in nfscl_postop_attr()
871 } else if (nd->nd_flag & ND_NFSV4) { in nfscl_postop_attr()
880 nd->nd_flag |= ND_NOMOREDATA; in nfscl_postop_attr()
908 if (nd->nd_flag & ND_NFSV4) in nfscl_request()
910 else if (nd->nd_flag & ND_NFSV3) in nfscl_request()
/freebsd/sys/fs/nfs/
H A Dnfs_commonkrpc.c768 nd->nd_flag |= ND_USEGSSNAME; in newnfs_request()
769 if ((nd->nd_flag & ND_USEGSSNAME) != 0) { in newnfs_request()
812 (nd->nd_flag & ND_USEGSSNAME) != 0) { in newnfs_request()
866 if ((nd->nd_flag & ND_NFSV4) && in newnfs_request()
875 if ((nd->nd_flag & ND_NFSV2) != 0) { in newnfs_request()
887 if ((nd->nd_flag & ND_NFSV4) && procnum == NFSV4PROC_COMPOUND) in newnfs_request()
895 if (nd->nd_flag & ND_NFSV4) { in newnfs_request()
899 } else if (nd->nd_flag & ND_NFSV3) { in newnfs_request()
1018 if ((nd->nd_flag & (ND_NFSV41 | ND_HASSLOTID)) == in newnfs_request()
1052 if ((nd->nd_flag & (ND_NFSV41 | ND_HASSLOTID)) == in newnfs_request()
[all …]
H A Dnfs.h163 (((n)->nd_flag & (ND_NFSV3 | ND_NFSV4)) ? \
438 if (((n)->nd_flag & ND_NFSV41) == 0) { \
442 if (((n)->nd_flag & ND_NFSV42) == 0) \
466 if (((n)->nd_flag & ND_NFSV41) == 0) { \
470 if (((n)->nd_flag & ND_NFSV42) == 0) \
478 if (((n)->nd_flag & ND_NFSV41) == 0) \
480 if (((n)->nd_flag & ND_NFSV42) == 0) \
691 u_int64_t nd_flag; /* nd_flag */ member
H A Dnfs_commonsubs.c342 nd->nd_flag = ND_NFSV4 | ND_NFSCL; in nfscl_reqstart()
344 nd->nd_flag |= ND_NFSV41; in nfscl_reqstart()
346 nd->nd_flag |= (ND_NFSV41 | ND_NFSV42); in nfscl_reqstart()
348 nd->nd_flag = ND_NFSV3 | ND_NFSCL; in nfscl_reqstart()
351 nd->nd_flag = ND_NFSV4 | ND_NFSCL; in nfscl_reqstart()
353 nd->nd_flag |= ND_NFSV41; in nfscl_reqstart()
355 nd->nd_flag |= (ND_NFSV41 | ND_NFSV42); in nfscl_reqstart()
357 nd->nd_flag = ND_NFSV3 | ND_NFSCL; in nfscl_reqstart()
359 nd->nd_flag = ND_NFSV2 | ND_NFSCL; in nfscl_reqstart()
383 if (nd->nd_flag & ND_NFSV4) { in nfscl_reqstart()
[all …]
H A Dnfsm_subs.h63 if ((nd->nd_flag & ND_EXTPG) == 0 && in nfsm_build()
72 } else if ((nd->nd_flag & ND_EXTPG) != 0) { in nfsm_build()
H A Dnfsclstate.h452 if (((n)->nd_flag & ND_INCRSEQID)) \
/freebsd/sys/nfsserver/
H A Dnfs.h66 (((n)->nd_flag & ND_NFSV3) ? (((n)->nd_nam2) ? \
189 int nd_flag; /* nd_flag */ member