Home
last modified time | relevance | path

Searched refs:mount_options (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/fs/ufs/
Dsuper.c382 static int ufs_parse_options (char * options, unsigned * mount_options) in ufs_parse_options() argument
400 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
401 ufs_set_opt (*mount_options, UFSTYPE_OLD); in ufs_parse_options()
404 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
405 ufs_set_opt (*mount_options, UFSTYPE_SUNx86); in ufs_parse_options()
408 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
409 ufs_set_opt (*mount_options, UFSTYPE_SUN); in ufs_parse_options()
412 ufs_clear_opt(*mount_options, UFSTYPE); in ufs_parse_options()
413 ufs_set_opt(*mount_options, UFSTYPE_SUNOS); in ufs_parse_options()
416 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
[all …]
/Linux-v4.19/fs/ceph/
Dsuper.c398 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options()
515 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options()
640 fsc->mount_options = fsopt; in create_fs_client()
664 page_count = fsc->mount_options->wsize >> PAGE_SHIFT; in create_fs_client()
708 destroy_mount_options(fsc->mount_options); in destroy_fs_client()
905 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount()
911 if (!fsc->mount_options->server_path) { in ceph_real_mount()
915 path = fsc->mount_options->server_path + 1; in ceph_real_mount()
950 s->s_flags = fsc->mount_options->sb_flags; in ceph_set_super()
982 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super()
[all …]
Ddebugfs.c209 fsc->mount_options->congestion_kb = (int)val; in CEPH_DEFINE_SHOW_FUNC()
217 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
Daddr.c457 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages()
623 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
659 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
753 fsc->mount_options->congestion_kb)) in writepages_finish()
819 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start()
820 wsize = fsc->mount_options->wsize; in ceph_writepages_start()
999 fsc->mount_options->congestion_kb)) { in ceph_writepages_start()
Dsuper.h47 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
49 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
96 struct ceph_mount_options *mount_options; member
Dcache.c68 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
Ddir.c671 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
753 fsc->mount_options->snapdir_name, in ceph_lookup()
Dfile.c959 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
961 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
Dmds_client.c938 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg()
1773 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
2295 if (!(mdsc->fsc->mount_options->flags & in __do_request()
3932 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
Dinode.c1276 fsc->mount_options->snapdir_name, in ceph_fill_trace()
Dcaps.c503 struct ceph_mount_options *ma = mdsc->fsc->mount_options; in __cap_set_timeouts()
/Linux-v4.19/tools/testing/selftests/mount/
Dunprivileged-remount-test.c182 bool test_unpriv_remount(const char *fstype, const char *mount_options, in test_unpriv_remount() argument
216 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount()
219 mount_options? mount_options : "", in test_unpriv_remount()
/Linux-v4.19/fs/reiserfs/
Dsuper.c1126 unsigned long *mount_options, in reiserfs_parse_options() argument
1194 c = reiserfs_getopt(s, &pos, opts, &arg, mount_options); in reiserfs_parse_options()
1291 *mount_options |= 1 << REISERFS_USRQUOTA; in reiserfs_parse_options()
1293 *mount_options |= 1 << REISERFS_GRPQUOTA; in reiserfs_parse_options()
1300 *mount_options &= ~(1 << REISERFS_USRQUOTA); in reiserfs_parse_options()
1302 *mount_options &= ~(1 << REISERFS_GRPQUOTA); in reiserfs_parse_options()
1341 if ((!(*mount_options & (1 << REISERFS_USRQUOTA)) && in reiserfs_parse_options()
1343 (!(*mount_options & (1 << REISERFS_GRPQUOTA)) && in reiserfs_parse_options()
1362 static void handle_data_mode(struct super_block *s, unsigned long mount_options) in handle_data_mode() argument
1364 if (mount_options & (1 << REISERFS_DATA_LOG)) { in handle_data_mode()
[all …]
/Linux-v4.19/fs/ocfs2/
Dsuper.c90 struct mount_options struct
103 struct mount_options *mopt, argument
106 struct mount_options *options);
640 struct mount_options parsed_options; in ocfs2_remount()
882 struct mount_options *mopt) in ocfs2_verify_userspace_stack()
1006 struct mount_options parsed_options; in ocfs2_fill_super()
1255 struct mount_options *options) in ocfs2_check_set_options()
1290 struct mount_options *mopt, in ocfs2_parse_options()
/Linux-v4.19/security/selinux/
Dhooks.c731 char **mount_options = opts->mnt_opts; in selinux_set_mnt_opts() local
784 mount_options[i], &sid, in selinux_set_mnt_opts()
789 mount_options[i], sb->s_id, name, rc); in selinux_set_mnt_opts()
2840 char *secdata, **mount_options; in selinux_sb_remount() local
2864 mount_options = opts.mnt_opts; in selinux_sb_remount()
2873 mount_options[i], &sid, in selinux_sb_remount()
2878 mount_options[i], sb->s_id, sb->s_type->name, rc); in selinux_sb_remount()