/linux-4.1.27/fs/ufs/ |
D | super.c | 396 static int ufs_parse_options (char * options, unsigned * mount_options) in ufs_parse_options() argument 414 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options() 415 ufs_set_opt (*mount_options, UFSTYPE_OLD); in ufs_parse_options() 418 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options() 419 ufs_set_opt (*mount_options, UFSTYPE_SUNx86); in ufs_parse_options() 422 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options() 423 ufs_set_opt (*mount_options, UFSTYPE_SUN); in ufs_parse_options() 426 ufs_clear_opt(*mount_options, UFSTYPE); in ufs_parse_options() 427 ufs_set_opt(*mount_options, UFSTYPE_SUNOS); in ufs_parse_options() 430 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options() [all …]
|
/linux-4.1.27/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 181 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.1.27/fs/ceph/ |
D | super.c | 308 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options() 413 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options() 522 fsc->mount_options = fsopt; in create_fs_client() 550 page_count = fsc->mount_options->wsize >> PAGE_CACHE_SHIFT; in create_fs_client() 597 destroy_mount_options(fsc->mount_options); in destroy_fs_client() 833 s->s_flags = fsc->mount_options->sb_flags; in ceph_set_super() 863 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super() 878 if (fsopt->sb_flags != other->mount_options->sb_flags) { in ceph_compare_super() 896 if (fsc->mount_options->rasize >= PAGE_CACHE_SIZE) in ceph_register_bdi() 898 (fsc->mount_options->rasize + PAGE_CACHE_SIZE - 1) in ceph_register_bdi()
|
D | addr.c | 414 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages() 415 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages() 532 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 644 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepages_finish() 718 if (fsc->mount_options->wsize && fsc->mount_options->wsize < wsize) in ceph_writepages_start() 719 wsize = fsc->mount_options->wsize; in ceph_writepages_start() 911 fsc->mount_options->congestion_kb)) { in ceph_writepages_start()
|
D | debugfs.c | 209 fsc->mount_options->congestion_kb = (int)val; in CEPH_DEFINE_SHOW_FUNC() 217 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
|
D | super.h | 43 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; 45 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 77 struct ceph_mount_options *mount_options; member
|
D | dir.c | 552 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 637 fsc->mount_options->snapdir_name, in ceph_lookup()
|
D | mds_client.c | 1438 int extra = mdsc->fsc->mount_options->cap_release_safety; in ceph_add_cap_releases() 1625 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
|
D | inode.c | 1173 fsc->mount_options->snapdir_name, in ceph_fill_trace()
|
D | caps.c | 400 struct ceph_mount_options *ma = mdsc->fsc->mount_options; in __cap_set_timeouts()
|
/linux-4.1.27/fs/reiserfs/ |
D | super.c | 1075 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.1.27/fs/ocfs2/ |
D | super.c | 94 struct mount_options struct 107 struct mount_options *mopt, argument 110 struct mount_options *options); 642 struct mount_options parsed_options; in ocfs2_remount() 884 struct mount_options *mopt) in ocfs2_verify_userspace_stack() 1009 struct mount_options parsed_options; in ocfs2_fill_super() 1240 struct mount_options *options) in ocfs2_check_set_options() 1275 struct mount_options *mopt, in ocfs2_parse_options()
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 616 char **mount_options = opts->mnt_opts; in selinux_set_mnt_opts() local 666 rc = security_context_to_sid(mount_options[i], in selinux_set_mnt_opts() 667 strlen(mount_options[i]), &sid, GFP_KERNEL); in selinux_set_mnt_opts() 671 mount_options[i], sb->s_id, name, rc); in selinux_set_mnt_opts() 2577 char *secdata, **mount_options; in selinux_sb_remount() local 2601 mount_options = opts.mnt_opts; in selinux_sb_remount() 2610 len = strlen(mount_options[i]); in selinux_sb_remount() 2611 rc = security_context_to_sid(mount_options[i], len, &sid, in selinux_sb_remount() 2616 mount_options[i], sb->s_id, sb->s_type->name, rc); in selinux_sb_remount()
|