NFSMNT_NFSV3
#define NFSHASNFSV3(n) ((n)->nm_flag & NFSMNT_NFSV3)
#define NFSHASNFSV3OR4(n) ((n)->nm_flag & (NFSMNT_NFSV3 | NFSMNT_NFSV4))
(VFSTONFS((v)->v_mount)->nm_flag & NFSMNT_NFSV3)
(VFSTONFS((v)->v_mount)->nm_flag & (NFSMNT_NFSV3 | NFSMNT_NFSV4))
if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 &&
if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 &&
if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 &&
if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 &&
if (nmp->nm_flag & (NFSMNT_NFSV3 | NFSMNT_NFSV4)) {
args.flags |= NFSMNT_NFSV3;
~(NFSMNT_NFSV3 |
(NFSMNT_NFSV3 |
if ((argp->flags & (NFSMNT_NFSV3 | NFSMNT_NFSV4)) == 0)
if ((argp->flags & (NFSMNT_NFSV3 | NFSMNT_NFSV4)) == 0) {
else if ((argp->flags & NFSMNT_NFSV3))
if (argp->flags & NFSMNT_NFSV3)
} else if (nmp->nm_flag & NFSMNT_NFSV3) {
nfscl_printopt(nmp, (nmp->nm_flag & NFSMNT_NFSV3) != 0, "nfsv3", &buf,
nfscl_printopt(nmp, (nmp->nm_flag & (NFSMNT_NFSV3 | NFSMNT_NFSV4)) == 0,
if (nfsv3_diskless.root_args.flags & NFSMNT_NFSV3) {
if ((argp->flags & (NFSMNT_NFSV3 | NFSMNT_NFSV4)) == 0) {
args->flags |= NFSMNT_NFSV3;
if ((args->flags & NFSMNT_NFSV3) != 0) {
if (args->flags & NFSMNT_NFSV3) {
NFSMNT_NFSV3) ? NFS_VER3 : NFS_VER2,
nd->flags &= ~(NFSMNT_NFSV3 | NFSMNT_NFSV4);
nd->flags |= NFSMNT_NFSV3;
nd->flags &= ~NFSMNT_NFSV3;
nd3->root_args.flags = (NFSMNT_NFSV3 | NFSMNT_WSIZE |
#define NFS_ISV3(v) (VFSTONFS((v)->v_mount)->nm_flag & NFSMNT_NFSV3)