Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ufs/
Dsuper.c381 static int ufs_parse_options (char * options, unsigned * mount_options) in ufs_parse_options() argument
399 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
400 ufs_set_opt (*mount_options, UFSTYPE_OLD); in ufs_parse_options()
403 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
404 ufs_set_opt (*mount_options, UFSTYPE_SUNx86); in ufs_parse_options()
407 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
408 ufs_set_opt (*mount_options, UFSTYPE_SUN); in ufs_parse_options()
411 ufs_clear_opt(*mount_options, UFSTYPE); in ufs_parse_options()
412 ufs_set_opt(*mount_options, UFSTYPE_SUNOS); in ufs_parse_options()
415 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
[all …]
/linux-4.4.14/tools/testing/selftests/mount/
Dunprivileged-remount-test.c181 bool test_unpriv_remount(const char *fstype, const char *mount_options, in test_unpriv_remount() argument
215 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount()
218 mount_options? mount_options : "", in test_unpriv_remount()
/linux-4.4.14/fs/ceph/
Dsuper.c319 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options()
424 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options()
535 fsc->mount_options = fsopt; in create_fs_client()
563 page_count = fsc->mount_options->wsize >> PAGE_CACHE_SHIFT; in create_fs_client()
610 destroy_mount_options(fsc->mount_options); in destroy_fs_client()
855 s->s_flags = fsc->mount_options->sb_flags; in ceph_set_super()
885 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super()
900 if (fsopt->sb_flags != other->mount_options->sb_flags) { in ceph_compare_super()
918 if (fsc->mount_options->rasize >= PAGE_CACHE_SIZE) in ceph_register_bdi()
920 (fsc->mount_options->rasize + PAGE_CACHE_SIZE - 1) in ceph_register_bdi()
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.c418 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages()
419 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages()
537 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
649 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepages_finish()
726 if (fsc->mount_options->wsize && fsc->mount_options->wsize < wsize) in ceph_writepages_start()
727 wsize = fsc->mount_options->wsize; in ceph_writepages_start()
919 fsc->mount_options->congestion_kb)) { in ceph_writepages_start()
Dsuper.h44 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
46 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
78 struct ceph_mount_options *mount_options; member
Ddir.c562 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
647 fsc->mount_options->snapdir_name, in ceph_lookup()
Dinode.c1178 fsc->mount_options->snapdir_name, in ceph_fill_trace()
Dcaps.c400 struct ceph_mount_options *ma = mdsc->fsc->mount_options; in __cap_set_timeouts()
Dmds_client.c1667 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
/linux-4.4.14/fs/reiserfs/
Dsuper.c1075 unsigned long *mount_options, in reiserfs_parse_options() argument
1143 c = reiserfs_getopt(s, &pos, opts, &arg, mount_options); in reiserfs_parse_options()
1240 *mount_options |= 1 << REISERFS_USRQUOTA; in reiserfs_parse_options()
1242 *mount_options |= 1 << REISERFS_GRPQUOTA; in reiserfs_parse_options()
1249 *mount_options &= ~(1 << REISERFS_USRQUOTA); in reiserfs_parse_options()
1251 *mount_options &= ~(1 << REISERFS_GRPQUOTA); in reiserfs_parse_options()
1290 if ((!(*mount_options & (1 << REISERFS_USRQUOTA)) && in reiserfs_parse_options()
1292 (!(*mount_options & (1 << REISERFS_GRPQUOTA)) && in reiserfs_parse_options()
1311 static void handle_data_mode(struct super_block *s, unsigned long mount_options) in handle_data_mode() argument
1313 if (mount_options & (1 << REISERFS_DATA_LOG)) { in handle_data_mode()
[all …]
/linux-4.4.14/fs/ocfs2/
Dsuper.c94 struct mount_options struct
107 struct mount_options *mopt, argument
110 struct mount_options *options);
644 struct mount_options parsed_options; in ocfs2_remount()
886 struct mount_options *mopt) in ocfs2_verify_userspace_stack()
1011 struct mount_options parsed_options; in ocfs2_fill_super()
1242 struct mount_options *options) in ocfs2_check_set_options()
1277 struct mount_options *mopt, in ocfs2_parse_options()
/linux-4.4.14/security/selinux/
Dhooks.c628 char **mount_options = opts->mnt_opts; in selinux_set_mnt_opts() local
678 rc = security_context_str_to_sid(mount_options[i], &sid, GFP_KERNEL); in selinux_set_mnt_opts()
682 mount_options[i], sb->s_id, name, rc); in selinux_set_mnt_opts()
2591 char *secdata, **mount_options; in selinux_sb_remount() local
2615 mount_options = opts.mnt_opts; in selinux_sb_remount()
2623 rc = security_context_str_to_sid(mount_options[i], &sid, GFP_KERNEL); in selinux_sb_remount()
2627 mount_options[i], sb->s_id, sb->s_type->name, rc); in selinux_sb_remount()