Lines Matching refs:options
335 static int nfs4_validate_mount_data(void *options,
697 if (nfss->options & NFS_OPTION_FSCACHE) in nfs_show_mount_options()
700 if (nfss->options & NFS_OPTION_MIGRATION) in nfs_show_mount_options()
900 if (nfss->options & NFS_OPTION_FSCACHE) { in nfs_show_stats()
1338 mnt->options |= NFS_OPTION_FSCACHE; in nfs_parse_mount_options()
1343 mnt->options &= ~NFS_OPTION_FSCACHE; in nfs_parse_mount_options()
1348 mnt->options |= NFS_OPTION_MIGRATION; in nfs_parse_mount_options()
1351 mnt->options &= ~NFS_OPTION_MIGRATION; in nfs_parse_mount_options()
1600 mnt->options |= NFS_OPTION_FSCACHE; in nfs_parse_mount_options()
1657 if (mnt->options & NFS_OPTION_MIGRATION && in nfs_parse_mount_options()
2006 static int nfs23_validate_mount_data(void *options, in nfs23_validate_mount_data() argument
2011 struct nfs_mount_data *data = (struct nfs_mount_data *)options; in nfs23_validate_mount_data()
2155 void *options, in nfs_validate_mount_data() argument
2161 return nfs23_validate_mount_data(options, args, mntfh, dev_name); in nfs_validate_mount_data()
2162 return nfs4_validate_mount_data(options, args, dev_name); in nfs_validate_mount_data()
2166 void *options, in nfs_validate_mount_data() argument
2171 return nfs23_validate_mount_data(options, args, mntfh, dev_name); in nfs_validate_mount_data()
2175 static int nfs_validate_text_mount_data(void *options, in nfs_validate_text_mount_data() argument
2184 if (nfs_parse_mount_options((char *)options, args) == 0) in nfs_validate_text_mount_data()
2263 (data->options & NFS_OPTION_FSCACHE) != (nfss->options & NFS_OPTION_FSCACHE) || in nfs_compare_remount_data()
2279 struct nfs_mount_data *options = (struct nfs_mount_data *)raw_data; in nfs_remount() local
2292 (nfsvers <= 3 && (!options || (options->version >= 1 && in nfs_remount()
2293 options->version <= 6)))) in nfs_remount()
2321 if (!nfs_parse_mount_options((char *)options, data)) in nfs_remount()
2575 if (!(parsed->options & NFS_OPTION_FSCACHE)) in nfs_get_cache_cookie()
2583 if (!(mnt_s->options & NFS_OPTION_FSCACHE)) in nfs_get_cache_cookie()
2839 static int nfs4_validate_mount_data(void *options, in nfs4_validate_mount_data() argument
2844 struct nfs4_mount_data *data = (struct nfs4_mount_data *)options; in nfs4_validate_mount_data()