/kernel/linux/linux-5.10/fs/ufs/ |
H A D | super.c | 383 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, UFSTYP in ufs_parse_options() [all...] |
/kernel/linux/linux-6.6/fs/ufs/ |
H A D | super.c | 382 static int ufs_parse_options (char * options, unsigned * mount_options) in ufs_parse_options() argument 400 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options() 401 ufs_set_opt (*mount_options, UFSTYPE_OLD); in ufs_parse_options() 404 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options() 405 ufs_set_opt (*mount_options, UFSTYPE_SUNx86); in ufs_parse_options() 408 ufs_clear_opt (*mount_options, UFSTYPE); in ufs_parse_options() 409 ufs_set_opt (*mount_options, UFSTYPE_SUN); in ufs_parse_options() 412 ufs_clear_opt(*mount_options, UFSTYPE); in ufs_parse_options() 413 ufs_set_opt(*mount_options, UFSTYPE_SUNOS); in ufs_parse_options() 416 ufs_clear_opt (*mount_options, UFSTYP in ufs_parse_options() [all...] |
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | super.c | 649 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options() 688 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options() 833 fsc->mount_options = fsopt; in create_fs_client() 894 destroy_mount_options(fsc->mount_options); in destroy_fs_client() 1147 const char *path = fsc->mount_options->server_path ? in ceph_real_mount() 1148 fsc->mount_options->server_path + 1 : ""; in ceph_real_mount() 1155 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount() 1162 fsc->mount_options); in ceph_real_mount() 1227 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super() 1275 sb->s_bdi->ra_pages = fsc->mount_options in ceph_setup_bdi() [all...] |
H A D | cache.c | 89 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
|
H A D | addr.c | 240 subreq->len = min(xlen, fsc->mount_options->rsize); in ceph_netfs_clamp_length() 712 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 792 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 888 fsc->mount_options->congestion_kb)) in writepages_finish() 960 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start() 961 wsize = fsc->mount_options->wsize; in ceph_writepages_start() 1151 fsc->mount_options->congestion_kb)) in ceph_writepages_start()
|
H A D | debugfs.c | 383 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set() 391 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
|
H A D | super.h | 54 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 56 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 58 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 124 struct ceph_mount_options *mount_options; member
|
H A D | dir.c | 711 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 807 fsc->mount_options->snapdir_name, in ceph_lookup() 1706 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
|
H A D | export.c | 452 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
|
H A D | mds_client.c | 1531 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg() 2444 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer() 3271 if (!(mdsc->fsc->mount_options->flags & in __do_request() 5227 ceph_adjust_caps_max_min(mdsc, fsc->mount_options); in ceph_mdsc_init() 5569 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
|
H A D | file.c | 203 ceph_inode_to_client(&ci->netfs.inode)->mount_options; in ceph_init_file_info() 1438 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write() 1440 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 182 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 182 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()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | super.c | 877 * bitmask which is to set on mount_options bitmask 882 * bitmask which is to clear on mount_options bitmask 906 * bitmask which is to set on mount_options bitmask 912 * bitmask which is to clear on mount_options bitmask 1121 unsigned long *mount_options, in reiserfs_parse_options() 1189 c = reiserfs_getopt(s, &pos, opts, &arg, mount_options); in reiserfs_parse_options() 1290 *mount_options |= 1 << REISERFS_USRQUOTA; in reiserfs_parse_options() 1292 *mount_options |= 1 << REISERFS_GRPQUOTA; in reiserfs_parse_options() 1295 *mount_options &= ~(1 << REISERFS_USRQUOTA); in reiserfs_parse_options() 1297 *mount_options in reiserfs_parse_options() 1111 reiserfs_parse_options(struct super_block *s, char *options, unsigned long *mount_options, unsigned long *blocks, char **jdev_name, unsigned int *commit_max_age, char **qf_names, unsigned int *qfmt) reiserfs_parse_options() argument 1357 handle_data_mode(struct super_block *s, unsigned long mount_options) handle_data_mode() argument 1436 unsigned long mount_options = REISERFS_SB(s)->s_mount_opt; reiserfs_remount() local [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | super.c | 877 * bitmask which is to set on mount_options bitmask 882 * bitmask which is to clear on mount_options bitmask 906 * bitmask which is to set on mount_options bitmask 912 * bitmask which is to clear on mount_options bitmask 1121 unsigned long *mount_options, in reiserfs_parse_options() 1189 c = reiserfs_getopt(s, &pos, opts, &arg, mount_options); in reiserfs_parse_options() 1288 *mount_options |= 1 << REISERFS_USRQUOTA; in reiserfs_parse_options() 1290 *mount_options |= 1 << REISERFS_GRPQUOTA; in reiserfs_parse_options() 1293 *mount_options &= ~(1 << REISERFS_USRQUOTA); in reiserfs_parse_options() 1295 *mount_options in reiserfs_parse_options() 1111 reiserfs_parse_options(struct super_block *s, char *options, unsigned long *mount_options, unsigned long *blocks, char **jdev_name, unsigned int *commit_max_age, char **qf_names, unsigned int *qfmt) reiserfs_parse_options() argument 1355 handle_data_mode(struct super_block *s, unsigned long mount_options) handle_data_mode() argument 1434 unsigned long mount_options = REISERFS_SB(s)->s_mount_opt; reiserfs_remount() local [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | super.c | 496 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options() 531 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options() 666 fsc->mount_options = fsopt; in create_fs_client() 723 destroy_mount_options(fsc->mount_options); in destroy_fs_client() 928 const char *path = fsc->mount_options->server_path ? in ceph_real_mount() 929 fsc->mount_options->server_path + 1 : ""; in ceph_real_mount() 936 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount() 999 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super() 1047 sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; in ceph_setup_bdi() 1050 sb->s_bdi->io_pages = fsc->mount_options in ceph_setup_bdi() [all...] |
H A D | super.h | 53 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 55 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 57 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 106 struct ceph_mount_options *mount_options; member
|
H A D | addr.c | 473 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages() 638 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 697 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 779 fsc->mount_options->congestion_kb)) in writepages_finish() 844 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start() 845 wsize = fsc->mount_options->wsize; in ceph_writepages_start() 1024 fsc->mount_options->congestion_kb)) { in ceph_writepages_start()
|
H A D | debugfs.c | 321 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set() 329 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
|
H A D | cache.c | 56 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
|
H A D | dir.c | 687 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 769 fsc->mount_options->snapdir_name, in ceph_lookup() 1510 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
|
H A D | export.c | 439 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
|
H A D | mds_client.c | 1291 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg() 2295 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer() 2848 if (!(mdsc->fsc->mount_options->flags & in __do_request() 4621 ceph_adjust_caps_max_min(mdsc, fsc->mount_options); in ceph_mdsc_init() 4942 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | super.c | 76 struct mount_options struct 89 struct mount_options *mopt, 92 struct mount_options *options); 610 struct mount_options parsed_options; in ocfs2_remount() 852 struct mount_options *mopt) in ocfs2_verify_userspace_stack() 978 struct mount_options parsed_options; in ocfs2_fill_super() 1205 struct mount_options *options) in ocfs2_check_set_options() 1240 struct mount_options *mopt, in ocfs2_parse_options()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | super.c | 73 struct mount_options struct 86 struct mount_options *mopt, 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() 1200 struct mount_options *options) in ocfs2_check_set_options() 1235 struct mount_options *mopt, in ocfs2_parse_options()
|