Lines Matching refs:flags
524 ctx->flags &= ~NFS_MOUNT_VER3; in nfs_parse_version_string()
530 ctx->flags |= NFS_MOUNT_VER3; in nfs_parse_version_string()
568 if (test_bit(KEY_FLAG_REVOKED, &key->flags) || in nfs_tls_key_verify()
569 test_bit(KEY_FLAG_INVALIDATED, &key->flags)) { in nfs_tls_key_verify()
617 ctx->flags |= NFS_MOUNT_SOFT; in nfs_fs_context_parse_param()
618 ctx->flags &= ~NFS_MOUNT_SOFTERR; in nfs_fs_context_parse_param()
621 ctx->flags |= NFS_MOUNT_SOFTERR | NFS_MOUNT_SOFTREVAL; in nfs_fs_context_parse_param()
622 ctx->flags &= ~NFS_MOUNT_SOFT; in nfs_fs_context_parse_param()
625 ctx->flags &= ~(NFS_MOUNT_SOFT | in nfs_fs_context_parse_param()
631 ctx->flags &= ~NFS_MOUNT_SOFTREVAL; in nfs_fs_context_parse_param()
633 ctx->flags |= NFS_MOUNT_SOFTREVAL; in nfs_fs_context_parse_param()
637 ctx->flags &= ~NFS_MOUNT_POSIX; in nfs_fs_context_parse_param()
639 ctx->flags |= NFS_MOUNT_POSIX; in nfs_fs_context_parse_param()
643 ctx->flags |= NFS_MOUNT_NOCTO; in nfs_fs_context_parse_param()
645 ctx->flags &= ~NFS_MOUNT_NOCTO; in nfs_fs_context_parse_param()
649 ctx->flags &= ~NFS_MOUNT_TRUNK_DISCOVERY; in nfs_fs_context_parse_param()
651 ctx->flags |= NFS_MOUNT_TRUNK_DISCOVERY; in nfs_fs_context_parse_param()
655 ctx->flags |= NFS_MOUNT_NO_ALIGNWRITE; in nfs_fs_context_parse_param()
657 ctx->flags &= ~NFS_MOUNT_NO_ALIGNWRITE; in nfs_fs_context_parse_param()
661 ctx->flags |= NFS_MOUNT_NOAC; in nfs_fs_context_parse_param()
663 ctx->flags &= ~NFS_MOUNT_NOAC; in nfs_fs_context_parse_param()
668 ctx->flags |= NFS_MOUNT_NONLM; in nfs_fs_context_parse_param()
669 ctx->flags |= (NFS_MOUNT_LOCAL_FLOCK | NFS_MOUNT_LOCAL_FCNTL); in nfs_fs_context_parse_param()
672 ctx->flags &= ~NFS_MOUNT_NONLM; in nfs_fs_context_parse_param()
673 ctx->flags &= ~(NFS_MOUNT_LOCAL_FLOCK | NFS_MOUNT_LOCAL_FCNTL); in nfs_fs_context_parse_param()
677 ctx->flags &= ~NFS_MOUNT_TCP; in nfs_fs_context_parse_param()
682 ctx->flags |= NFS_MOUNT_TCP; /* for side protocols */ in nfs_fs_context_parse_param()
690 ctx->flags |= NFS_MOUNT_NOACL; in nfs_fs_context_parse_param()
692 ctx->flags &= ~NFS_MOUNT_NOACL; in nfs_fs_context_parse_param()
696 ctx->flags &= ~NFS_MOUNT_FORCE_RDIRPLUS; in nfs_fs_context_parse_param()
697 ctx->flags |= NFS_MOUNT_NORDIRPLUS; in nfs_fs_context_parse_param()
699 ctx->flags &= ~(NFS_MOUNT_NORDIRPLUS | NFS_MOUNT_FORCE_RDIRPLUS); in nfs_fs_context_parse_param()
703 ctx->flags &= ~NFS_MOUNT_FORCE_RDIRPLUS; in nfs_fs_context_parse_param()
704 ctx->flags |= NFS_MOUNT_NORDIRPLUS; in nfs_fs_context_parse_param()
707 ctx->flags &= ~NFS_MOUNT_NORDIRPLUS; in nfs_fs_context_parse_param()
708 ctx->flags |= NFS_MOUNT_FORCE_RDIRPLUS; in nfs_fs_context_parse_param()
717 ctx->flags |= NFS_MOUNT_UNSHARED; in nfs_fs_context_parse_param()
719 ctx->flags &= ~NFS_MOUNT_UNSHARED; in nfs_fs_context_parse_param()
723 ctx->flags |= NFS_MOUNT_NORESVPORT; in nfs_fs_context_parse_param()
725 ctx->flags &= ~NFS_MOUNT_NORESVPORT; in nfs_fs_context_parse_param()
863 ctx->flags &= ~NFS_MOUNT_TCP; in nfs_fs_context_parse_param()
870 ctx->flags |= NFS_MOUNT_TCP; in nfs_fs_context_parse_param()
878 ctx->flags |= NFS_MOUNT_TCP; in nfs_fs_context_parse_param()
963 ctx->flags |= NFS_MOUNT_NETUNREACH_FATAL; in nfs_fs_context_parse_param()
965 ctx->flags &= ~NFS_MOUNT_NETUNREACH_FATAL; in nfs_fs_context_parse_param()
968 ctx->flags |= NFS_MOUNT_NETUNREACH_FATAL; in nfs_fs_context_parse_param()
971 ctx->flags &= ~NFS_MOUNT_NETUNREACH_FATAL; in nfs_fs_context_parse_param()
981 ctx->flags &= ~(NFS_MOUNT_LOOKUP_CACHE_NONEG|NFS_MOUNT_LOOKUP_CACHE_NONE); in nfs_fs_context_parse_param()
984 ctx->flags &= ~NFS_MOUNT_LOOKUP_CACHE_NONE; in nfs_fs_context_parse_param()
985 ctx->flags |= NFS_MOUNT_LOOKUP_CACHE_NONEG; in nfs_fs_context_parse_param()
988 ctx->flags |= NFS_MOUNT_LOOKUP_CACHE_NONEG|NFS_MOUNT_LOOKUP_CACHE_NONE; in nfs_fs_context_parse_param()
998 ctx->flags |= (NFS_MOUNT_LOCAL_FLOCK | in nfs_fs_context_parse_param()
1002 ctx->flags |= NFS_MOUNT_LOCAL_FLOCK; in nfs_fs_context_parse_param()
1005 ctx->flags |= NFS_MOUNT_LOCAL_FCNTL; in nfs_fs_context_parse_param()
1008 ctx->flags &= ~(NFS_MOUNT_LOCAL_FLOCK | in nfs_fs_context_parse_param()
1019 ctx->flags &= in nfs_fs_context_parse_param()
1023 ctx->flags |= NFS_MOUNT_WRITE_EAGER; in nfs_fs_context_parse_param()
1024 ctx->flags &= ~NFS_MOUNT_WRITE_WAIT; in nfs_fs_context_parse_param()
1027 ctx->flags |= in nfs_fs_context_parse_param()
1171 if (data->flags & NFS_MOUNT_VER3) in nfs23_parse_monolithic()
1179 if (data->flags & NFS_MOUNT_SECFLAVOUR) in nfs23_parse_monolithic()
1186 if (data->flags & NFS_MOUNT_VER3) { in nfs23_parse_monolithic()
1207 if (!(data->flags & NFS_MOUNT_TCP)) /* this will be UDP */ in nfs23_parse_monolithic()
1215 ctx->flags = data->flags & NFS_MOUNT_FLAGMASK; in nfs23_parse_monolithic()
1216 ctx->flags |= extra_flags; in nfs23_parse_monolithic()
1237 if (!(data->flags & NFS_MOUNT_TCP)) in nfs23_parse_monolithic()
1247 if (data->flags & NFS_MOUNT_SECFLAVOUR) in nfs23_parse_monolithic()
1252 if (!(data->flags & NFS_MOUNT_NONLM)) in nfs23_parse_monolithic()
1253 ctx->flags &= ~(NFS_MOUNT_LOCAL_FLOCK| in nfs23_parse_monolithic()
1256 ctx->flags |= (NFS_MOUNT_LOCAL_FLOCK| in nfs23_parse_monolithic()
1337 compat_int_t flags; member
1378 data->flags = compat->flags; in nfs4_compat_mount_data_conv()
1453 ctx->flags = data->flags & NFS4_MOUNT_FLAGMASK; in nfs4_parse_monolithic()
1552 ctx->flags &= ~(NFS_MOUNT_NONLM | NFS_MOUNT_NOACL | in nfs_fs_context_validate()
1714 ctx->flags = nfss->flags; in nfs_init_fs_context()
1757 ctx->flags |= NFS_MOUNT_NETUNREACH_FATAL; in nfs_init_fs_context()