Home
last modified time | relevance | path

Searched refs:mount_options (Results 1 – 15 of 15) 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.c653 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options()
692 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options()
837 fsc->mount_options = fsopt; in create_fs_client()
898 destroy_mount_options(fsc->mount_options); in destroy_fs_client()
1160 const char *path = fsc->mount_options->server_path ? in ceph_real_mount()
1161 fsc->mount_options->server_path + 1 : ""; in ceph_real_mount()
1168 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount()
1175 fsc->mount_options); in ceph_real_mount()
1242 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super()
1291 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 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))
151 struct ceph_mount_options *mount_options; member
H A Dmdsmap.c371 if (!namespace_equals(mdsc->fsc->mount_options, m->m_fs_name, in ceph_mdsmap_decode()
375 mdsc->fsc->mount_options->mds_namespace); in ceph_mdsmap_decode()
H A Daddr.c351 rreq->io_streams[0].sreq_max_len = umin(xlen, fsc->mount_options->rsize); in ceph_netfs_prepare_read()
518 rreq->io_streams[0].sreq_max_len = fsc->mount_options->rsize; in ceph_init_request()
783 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in write_folio_nounlock()
870 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in write_folio_nounlock()
946 fsc->mount_options->congestion_kb)) in writepages_finish()
1020 if (fsc->mount_options->wsize < wsize) in ceph_define_write_size()
1021 wsize = fsc->mount_options->wsize; in ceph_define_write_size()
1256 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb); in is_write_congestion_happened()
H A Ddebugfs.c531 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()
539 *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()
834 fsc->mount_options->snapdir_name, in ceph_lookup()
1801 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
H A Dmds_client.c1592 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_full_msg()
2578 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
3530 if (!(mdsc->fsc->mount_options->flags & in __do_request()
5655 ceph_adjust_caps_max_min(mdsc, fsc->mount_options); in ceph_mdsc_init()
5741 const char *spath = mdsc->fsc->mount_options->server_path; in ceph_mds_auth_match()
6194 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
H A Dfile.c224 ceph_inode_to_fs_client(&ci->netfs.inode)->mount_options; in ceph_init_file_info()
1573 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1575 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.c1743 fsc->mount_options->snapdir_name, in ceph_fill_trace()