Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/ftrace/test.d/00basic/
H A Dmount_options.tc71 local mount_options=$(get_mnt_options "$mount_point")
76 local new_options=`echo "$mount_options" | sed -e "s/gid=[0-9]*/gid=$other_group/"`
77 if [ "$new_options" = "$mount_options" ]; then
78 new_options="$mount_options,gid=$other_group"
79 mount_options="$mount_options,gid=$original_group"
95 remount_tracefs_with_options "$mount_point" "$mount_options"
H A Dtest_ownership.tc11 mount_options=$(get_mnt_options "$mount_point")
18 new_options=`echo "$mount_options" | sed -e "s/gid=[0-9]*/gid=$other_group/"`
20 if [ "$new_options" = "$mount_options" ]; then
21 new_options="$mount_options,gid=$other_group"
22 mount_options="$mount_options,gid=$original_group"
97 mount -o remount,"$mount_options" .
/linux/tools/testing/selftests/mount/
H A 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/fs/ceph/
H A Dsuper.c652 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options()
691 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options()
836 fsc->mount_options = fsopt; in create_fs_client()
897 destroy_mount_options(fsc->mount_options); in destroy_fs_client()
1152 const char *path = fsc->mount_options->server_path ? in ceph_real_mount()
1153 fsc->mount_options->server_path + 1 : ""; in ceph_real_mount()
1160 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount()
1167 fsc->mount_options); in ceph_real_mount()
1234 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super()
1283 sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; in ceph_setup_bdi()
[all …]
H A Dcache.c89 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
H A Dmdsmap.c363 if (!namespace_equals(mdsc->fsc->mount_options, *p, in ceph_mdsmap_decode()
367 mdsc->fsc->mount_options->mds_namespace); in ceph_mdsmap_decode()
H A Daddr.c346 rreq->io_streams[0].sreq_max_len = umin(xlen, fsc->mount_options->rsize); in ceph_netfs_prepare_read()
513 rreq->io_streams[0].sreq_max_len = fsc->mount_options->rsize; in ceph_init_request()
778 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in write_folio_nounlock()
861 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in write_folio_nounlock()
937 fsc->mount_options->congestion_kb)) in writepages_finish()
1005 if (fsc->mount_options->wsize < wsize) in ceph_define_write_size()
1006 wsize = fsc->mount_options->wsize; in ceph_define_write_size()
1243 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb); in is_write_congestion_happened()
H A Dsuper.h55 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt
57 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt
59 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
139 struct ceph_mount_options *mount_options; member
H A Ddebugfs.c381 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()
389 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
H A Dexport.c465 strscpy(name, fsc->mount_options->snapdir_name, in __get_snap_name()
H A Ddir.c731 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
833 fsc->mount_options->snapdir_name, in ceph_lookup()
1786 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
H A Dmds_client.c1548 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_full_msg()
2534 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
3483 if (!(mdsc->fsc->mount_options->flags & in __do_request()
5589 ceph_adjust_caps_max_min(mdsc, fsc->mount_options); in ceph_mdsc_init()
5674 const char *fs_name = mdsc->fsc->mount_options->mds_namespace; in ceph_mds_auth_match()
5675 const char *spath = mdsc->fsc->mount_options->server_path; in ceph_mds_auth_match()
6125 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
H A Dfile.c205 ceph_inode_to_fs_client(&ci->netfs.inode)->mount_options; in ceph_init_file_info()
1530 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1532 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
H A Dcaps.c502 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in __cap_set_timeouts()
1014 ceph_inode_to_fs_client(&ci->netfs.inode)->mount_options; in __ceph_caps_file_wanted()
4616 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in ceph_check_delayed_caps()
H A Dinode.c1702 fsc->mount_options->snapdir_name, in ceph_fill_trace()
/linux/fs/ocfs2/
H A Dsuper.c73 struct mount_options struct
88 struct mount_options *options); argument
611 struct mount_options *parsed_options = fc->fs_private; in ocfs2_reconfigure()
853 struct mount_options *mopt) in ocfs2_verify_userspace_stack()
977 struct mount_options *parsed_options = fc->fs_private; in ocfs2_fill_super()
1201 struct mount_options *mopt; in ocfs2_init_fs_context()
1203 mopt = kzalloc(sizeof(struct mount_options), GFP_KERNEL); in ocfs2_init_fs_context()
1234 struct mount_options *options) in ocfs2_check_set_options()
1283 struct mount_options *mopt = fc->fs_private; in ocfs2_parse_param()