Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/ftrace/test.d/00basic/
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 mount_tracefs_with_options "$mount_point" "$mount_options"
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-6.12.1/fs/ufs/
Dsuper.c383 static int ufs_parse_options (char * options, unsigned * mount_options) in ufs_parse_options() argument
401 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
402 ufs_set_opt (*mount_options, UFSTYPE_OLD); in ufs_parse_options()
405 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
406 ufs_set_opt (*mount_options, UFSTYPE_SUNx86); in ufs_parse_options()
409 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
410 ufs_set_opt (*mount_options, UFSTYPE_SUN); in ufs_parse_options()
413 ufs_clear_opt(*mount_options, UFSTYPE); in ufs_parse_options()
414 ufs_set_opt(*mount_options, UFSTYPE_SUNOS); in ufs_parse_options()
417 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options()
[all …]
/linux-6.12.1/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-6.12.1/fs/ceph/
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()
1154 const char *path = fsc->mount_options->server_path ? in ceph_real_mount()
1155 fsc->mount_options->server_path + 1 : ""; in ceph_real_mount()
1162 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount()
1169 fsc->mount_options); in ceph_real_mount()
1235 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super()
1284 sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; in ceph_setup_bdi()
[all …]
Dcache.c89 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
Daddr.c333 rreq->io_streams[0].sreq_max_len = umin(xlen, fsc->mount_options->rsize); in ceph_netfs_prepare_read()
489 rreq->io_streams[0].sreq_max_len = fsc->mount_options->rsize; in ceph_init_request()
724 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
807 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
908 fsc->mount_options->congestion_kb)) in writepages_finish()
982 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start()
983 wsize = fsc->mount_options->wsize; in ceph_writepages_start()
1174 fsc->mount_options->congestion_kb)) in ceph_writepages_start()
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))
125 struct ceph_mount_options *mount_options; member
Ddebugfs.c383 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()
391 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
Dexport.c455 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
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()
1781 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
Dmds_client.c1546 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_full_msg()
2540 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
3434 if (!(mdsc->fsc->mount_options->flags & in __do_request()
5533 ceph_adjust_caps_max_min(mdsc, fsc->mount_options); in ceph_mdsc_init()
5618 const char *spath = mdsc->fsc->mount_options->server_path; in ceph_mds_auth_match()
6058 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
Dfile.c205 ceph_inode_to_fs_client(&ci->netfs.inode)->mount_options; in ceph_init_file_info()
1538 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1540 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
Dcaps.c501 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in __cap_set_timeouts()
1027 ceph_inode_to_fs_client(&ci->netfs.inode)->mount_options; in __ceph_caps_file_wanted()
4627 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in ceph_check_delayed_caps()
Dinode.c1658 fsc->mount_options->snapdir_name, in ceph_fill_trace()
/linux-6.12.1/fs/reiserfs/
Dsuper.c1120 unsigned long *mount_options, in reiserfs_parse_options() argument
1188 c = reiserfs_getopt(s, &pos, opts, &arg, mount_options); in reiserfs_parse_options()
1287 *mount_options |= 1 << REISERFS_USRQUOTA; in reiserfs_parse_options()
1289 *mount_options |= 1 << REISERFS_GRPQUOTA; in reiserfs_parse_options()
1292 *mount_options &= ~(1 << REISERFS_USRQUOTA); in reiserfs_parse_options()
1294 *mount_options &= ~(1 << REISERFS_GRPQUOTA); in reiserfs_parse_options()
1333 if ((!(*mount_options & (1 << REISERFS_USRQUOTA)) && in reiserfs_parse_options()
1335 (!(*mount_options & (1 << REISERFS_GRPQUOTA)) && in reiserfs_parse_options()
1354 static void handle_data_mode(struct super_block *s, unsigned long mount_options) in handle_data_mode() argument
1356 if (mount_options & (1 << REISERFS_DATA_LOG)) { in handle_data_mode()
[all …]
/linux-6.12.1/fs/ocfs2/
Dsuper.c73 struct mount_options struct
86 struct mount_options *mopt, argument
89 struct mount_options *options);
607 struct mount_options parsed_options; in ocfs2_remount()
849 struct mount_options *mopt) in ocfs2_verify_userspace_stack()
973 struct mount_options parsed_options; in ocfs2_fill_super()
1202 struct mount_options *options) in ocfs2_check_set_options()
1237 struct mount_options *mopt, in ocfs2_parse_options()