| /Linux-v5.15/fs/ufs/ |
| 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, UFSTYPE); in ufs_parse_options() [all …]
|
| /Linux-v5.15/tools/testing/selftests/mount/ |
| 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()
|
| /Linux-v5.15/fs/ceph/ |
| D | super.c | 495 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options() 530 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options() 665 fsc->mount_options = fsopt; in create_fs_client() 722 destroy_mount_options(fsc->mount_options); in destroy_fs_client() 932 const char *path = fsc->mount_options->server_path ? in ceph_real_mount() 933 fsc->mount_options->server_path + 1 : ""; in ceph_real_mount() 940 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount() 1003 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super() 1051 sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; in ceph_setup_bdi() 1054 sb->s_bdi->io_pages = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_setup_bdi()
|
| 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)) 107 struct ceph_mount_options *mount_options; member
|
| D | addr.c | 208 subreq->len = min(xlen, fsc->mount_options->rsize); in ceph_netfs_clamp_length() 530 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 589 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 670 fsc->mount_options->congestion_kb)) in writepages_finish() 736 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start() 737 wsize = fsc->mount_options->wsize; in ceph_writepages_start() 916 fsc->mount_options->congestion_kb)) { in ceph_writepages_start()
|
| D | cache.c | 56 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
|
| D | debugfs.c | 364 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set() 372 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
|
| D | dir.c | 678 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 762 fsc->mount_options->snapdir_name, in ceph_lookup() 1521 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
|
| D | export.c | 440 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
|
| D | mds_client.c | 1272 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg() 2273 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer() 2868 if (!(mdsc->fsc->mount_options->flags & in __do_request() 4698 ceph_adjust_caps_max_min(mdsc, fsc->mount_options); in ceph_mdsc_init() 5019 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
|
| D | file.c | 1220 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write() 1222 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
|
| D | caps.c | 492 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in __cap_set_timeouts() 996 ceph_inode_to_client(&ci->vfs_inode)->mount_options; in __ceph_caps_file_wanted() 4267 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in ceph_check_delayed_caps()
|
| D | inode.c | 1378 fsc->mount_options->snapdir_name, in ceph_fill_trace()
|
| /Linux-v5.15/fs/reiserfs/ |
| D | super.c | 1121 unsigned long *mount_options, in reiserfs_parse_options() argument 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 &= ~(1 << REISERFS_GRPQUOTA); in reiserfs_parse_options() 1336 if ((!(*mount_options & (1 << REISERFS_USRQUOTA)) && in reiserfs_parse_options() 1338 (!(*mount_options & (1 << REISERFS_GRPQUOTA)) && in reiserfs_parse_options() 1357 static void handle_data_mode(struct super_block *s, unsigned long mount_options) in handle_data_mode() argument 1359 if (mount_options & (1 << REISERFS_DATA_LOG)) { in handle_data_mode() [all …]
|
| /Linux-v5.15/fs/cifs/ |
| D | fs_context.c | 306 new_ctx->mount_options = NULL; in smb3_fs_context_dup() 318 DUP_CTX_STR(mount_options); in smb3_fs_context_dup() 530 ctx->mount_options = kstrdup(data, GFP_KERNEL); in smb3_fs_context_parse_monolithic() 531 if (ctx->mount_options == NULL) in smb3_fs_context_parse_monolithic() 1493 kfree(ctx->mount_options); in smb3_cleanup_fs_context_contents() 1494 ctx->mount_options = NULL; in smb3_cleanup_fs_context_contents()
|
| D | fs_context.h | 260 char *mount_options; member
|
| D | cifs_dfs_ref.c | 291 mountdata = cifs_compose_mount_options(cifs_sb->ctx->mount_options, in cifs_dfs_do_mount()
|
| D | connect.c | 3072 mdata = cifs_compose_mount_options(cifs_sb->ctx->mount_options, in expand_dfs_referral() 3092 kfree(cifs_sb->ctx->mount_options); in expand_dfs_referral() 3093 cifs_sb->ctx->mount_options = mdata; in expand_dfs_referral() 3181 mdata = cifs_compose_mount_options(cifs_sb->ctx->mount_options, full_path + 1, &ref, in do_dfs_failover() 3527 oldmnt = cifs_sb->ctx->mount_options; in cifs_mount() 3532 if (oldmnt != cifs_sb->ctx->mount_options) { in cifs_mount()
|
| /Linux-v5.15/fs/ocfs2/ |
| D | super.c | 74 struct mount_options struct 87 struct mount_options *mopt, argument 90 struct mount_options *options); 610 struct mount_options parsed_options; in ocfs2_remount() 859 struct mount_options *mopt) in ocfs2_verify_userspace_stack() 982 struct mount_options parsed_options; in ocfs2_fill_super() 1216 struct mount_options *options) in ocfs2_check_set_options() 1251 struct mount_options *mopt, in ocfs2_parse_options()
|