Lines Matching refs:nd_flag
434 (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()
2170 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_readdir()
2184 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdir()
2194 if (nd->nd_flag & ND_NFSV2) { in nfsrvd_readdir()
2247 (nd->nd_flag & (ND_TLS | ND_EXTPG | ND_SAVEREPLY)) == ND_TLS && in nfsrvd_readdir()
2248 (nd->nd_flag & (ND_NFSV4 | ND_NFSV41)) != ND_NFSV4) in nfsrvd_readdir()
2249 nd->nd_flag |= ND_EXTPG; in nfsrvd_readdir()
2257 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_readdir()
2271 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdir()
2284 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_readdir()
2294 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_readdir()
2394 if (nd->nd_flag & ND_NFSV4) { in nfsrvd_readdirplus()
2427 if (nd->nd_flag & ND_NFSV4) { in nfsrvd_readdirplus()
2445 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdirplus()
2486 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdirplus()
2496 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdirplus()
2527 ((nd->nd_flag & ND_NFSV4) && in nfsrvd_readdirplus()
2554 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdirplus()
2589 (nd->nd_flag & (ND_TLS | ND_EXTPG | ND_SAVEREPLY)) == ND_TLS && in nfsrvd_readdirplus()
2590 (nd->nd_flag & (ND_NFSV4 | ND_NFSV41)) != ND_NFSV4) in nfsrvd_readdirplus()
2591 nd->nd_flag |= ND_EXTPG; in nfsrvd_readdirplus()
2608 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_readdirplus()
2631 ((nd->nd_flag & ND_NFSV3) || nlen > 2 || in nfsrvd_readdirplus()
2654 if ((nd->nd_flag & ND_NFSV3) || in nfsrvd_readdirplus()
2659 if (nd->nd_flag & ND_NFSV4) in nfsrvd_readdirplus()
2713 (nd->nd_flag & ND_NFSV4) != 0 && in nfsrvd_readdirplus()
2743 ((nd->nd_flag & ND_NFSV3) || in nfsrvd_readdirplus()
2751 (nd->nd_flag & ND_NFSV4) != 0 && in nfsrvd_readdirplus()
2788 if ((nd->nd_flag & ND_NFSV3) || in nfsrvd_readdirplus()
2805 if (nd->nd_flag & ND_NFSV3) { in nfsrvd_readdirplus()
2880 if (nd->nd_flag & ND_NFSV3) in nfsrvd_readdirplus()
2919 switch (nd->nd_flag & (ND_NFSV2 | ND_NFSV3 | ND_NFSV4)) { in nfsrv_sattr()
3209 if ((nd->nd_flag & ND_NFSV41) == 0) in nfsv4_sattr()
3234 if ((nd->nd_flag & ND_NFSV42) == 0) in nfsv4_sattr()
3282 if (nd->nd_flag & ND_GSS) in nfsd_excred()
3298 if (NFSVNO_EXV4ONLY(exp) && !(nd->nd_flag & ND_NFSV4)) { in nfsd_excred()
3310 if (((nd->nd_flag & ND_GSS) == 0 && nd->nd_cred->cr_uid == 0) || in nfsd_excred()
3312 (nd->nd_flag & ND_AUTHNONE) != 0) { in nfsd_excred()
3321 } else if ((nd->nd_flag & ND_GSS) == 0) { in nfsd_excred()
3470 !(nd->nd_flag & ND_NFSV4)) { in nfsd_fhtovp()
3497 if (!(nd->nd_flag & ND_NFSV4) && in nfsd_fhtovp()
3756 nd->nd_flag |= ND_EXAUTHSYS; in nfsvno_v4rootexport()
3758 nd->nd_flag |= ND_EXGSS; in nfsvno_v4rootexport()
3760 nd->nd_flag |= ND_EXGSSINTEGRITY; in nfsvno_v4rootexport()
3762 nd->nd_flag |= ND_EXGSSPRIVACY; in nfsvno_v4rootexport()
3767 nd->nd_flag |= ND_EXTLS; in nfsvno_v4rootexport()
3769 nd->nd_flag |= ND_EXTLSCERT; in nfsvno_v4rootexport()
3771 nd->nd_flag |= ND_EXTLSCERTUSER; in nfsvno_v4rootexport()
4183 if ((NFSVNO_EXTLS(exp) && (nd->nd_flag & ND_TLS) == 0) || in nfsvno_testexp()
4185 (nd->nd_flag & ND_TLSCERT) == 0) || in nfsvno_testexp()
4187 (nd->nd_flag & ND_TLSCERTUSER) == 0)) { in nfsvno_testexp()
4188 if ((nd->nd_flag & ND_NFSV4) != 0) in nfsvno_testexp()
4192 else if ((nd->nd_flag & ND_TLS) == 0) in nfsvno_testexp()
4205 if ((nd->nd_flag & ND_NFSV3) != 0 && nd->nd_procnum == NFSPROC_FSINFO) in nfsvno_testexp()
4223 (nd->nd_flag & ND_GSSPRIVACY)) in nfsvno_testexp()
4226 (nd->nd_flag & ND_GSSINTEGRITY)) in nfsvno_testexp()
4229 (nd->nd_flag & ND_GSS)) in nfsvno_testexp()
4232 (nd->nd_flag & ND_GSS) == 0) in nfsvno_testexp()
4235 if ((nd->nd_flag & ND_NFSV4) != 0) in nfsvno_testexp()
5528 if ((nd->nd_flag & (ND_NOMOREDATA | ND_NFSV4 | ND_V4WCCATTR)) == in nfsrv_writedsdorpc()
5540 nd->nd_flag |= ND_NOMOREDATA; in nfsrv_writedsdorpc()
5892 if ((nd->nd_flag & (ND_NOMOREDATA | ND_NFSV4 | ND_V4WCCATTR)) == in nfsrv_deallocatedsdorpc()
5904 nd->nd_flag |= ND_NOMOREDATA; in nfsrv_deallocatedsdorpc()
6054 if ((nd->nd_flag & (ND_NOMOREDATA | ND_NFSV4 | ND_V4WCCATTR)) == in nfsrv_setattrdsdorpc()
6066 nd->nd_flag |= ND_NOMOREDATA; in nfsrv_setattrdsdorpc()
7125 if ((nd->nd_flag & ND_NFSV4) == 0) in nfsrv_checkwrongsec()
7128 if ((nd->nd_flag & ND_LASTOP) != 0) in nfsrv_checkwrongsec()