Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ufs/
Dsuper.c382 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-6.1.9/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.1.9/fs/ceph/
Dsuper.c618 struct ceph_mount_options *fsopt2 = fsc->mount_options; in compare_mount_options()
657 struct ceph_mount_options *fsopt = fsc->mount_options; in ceph_show_options()
799 fsc->mount_options = fsopt; in create_fs_client()
860 destroy_mount_options(fsc->mount_options); in destroy_fs_client()
1069 const char *path = fsc->mount_options->server_path ? in ceph_real_mount()
1070 fsc->mount_options->server_path + 1 : ""; in ceph_real_mount()
1077 if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { in ceph_real_mount()
1141 struct ceph_mount_options *fsopt = new->mount_options; in ceph_compare_super()
1189 sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; in ceph_setup_bdi()
1192 sb->s_bdi->io_pages = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_setup_bdi()
[all …]
Dcache.c87 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
Dsuper.h52 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt
54 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt
56 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
110 struct ceph_mount_options *mount_options; member
Daddr.c213 subreq->len = min(xlen, fsc->mount_options->rsize); in ceph_netfs_clamp_length()
599 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
660 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
751 fsc->mount_options->congestion_kb)) in writepages_finish()
821 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start()
822 wsize = fsc->mount_options->wsize; in ceph_writepages_start()
1004 fsc->mount_options->congestion_kb)) in ceph_writepages_start()
Ddebugfs.c377 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()
385 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
Ddir.c687 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
771 fsc->mount_options->snapdir_name, in ceph_lookup()
1591 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
Dexport.c451 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
Dfile.c207 ceph_inode_to_client(&ci->netfs.inode)->mount_options; in ceph_init_file_info()
1309 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1311 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
Dmds_client.c1372 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg()
2267 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
2885 if (!(mdsc->fsc->mount_options->flags & in __do_request()
4807 ceph_adjust_caps_max_min(mdsc, fsc->mount_options); in ceph_mdsc_init()
5149 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
Dcaps.c492 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in __cap_set_timeouts()
997 ceph_inode_to_client(&ci->netfs.inode)->mount_options; in __ceph_caps_file_wanted()
4311 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in ceph_check_delayed_caps()
Dinode.c1390 fsc->mount_options->snapdir_name, in ceph_fill_trace()
/linux-6.1.9/fs/reiserfs/
Dsuper.c1121 unsigned long *mount_options, in reiserfs_parse_options() argument
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 &= ~(1 << REISERFS_GRPQUOTA); in reiserfs_parse_options()
1334 if ((!(*mount_options & (1 << REISERFS_USRQUOTA)) && in reiserfs_parse_options()
1336 (!(*mount_options & (1 << REISERFS_GRPQUOTA)) && in reiserfs_parse_options()
1355 static void handle_data_mode(struct super_block *s, unsigned long mount_options) in handle_data_mode() argument
1357 if (mount_options & (1 << REISERFS_DATA_LOG)) { in handle_data_mode()
[all …]
/linux-6.1.9/fs/cifs/
Dfs_context.c311 new_ctx->mount_options = NULL; in smb3_fs_context_dup()
324 DUP_CTX_STR(mount_options); in smb3_fs_context_dup()
579 ctx->mount_options = kstrdup(data, GFP_KERNEL); in smb3_fs_context_parse_monolithic()
580 if (ctx->mount_options == NULL) in smb3_fs_context_parse_monolithic()
1579 kfree(ctx->mount_options); in smb3_cleanup_fs_context_contents()
1580 ctx->mount_options = NULL; in smb3_cleanup_fs_context_contents()
Dfs_context.h268 char *mount_options; member
Dcifs_dfs_ref.c291 mountdata = cifs_compose_mount_options(cifs_sb->ctx->mount_options, in cifs_dfs_do_mount()
Dconnect.c3422 mdata = cifs_compose_mount_options(cifs_sb->ctx->mount_options, full_path + 1, referral, in expand_dfs_referral()
3438 kfree(cifs_sb->ctx->mount_options); in expand_dfs_referral()
3439 cifs_sb->ctx->mount_options = mdata; in expand_dfs_referral()
3640 char *oldmnt = cifs_sb->ctx->mount_options; in connect_dfs_target()
3654 if (oldmnt != cifs_sb->ctx->mount_options) { in connect_dfs_target()
/linux-6.1.9/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()
971 struct mount_options parsed_options; in ocfs2_fill_super()
1198 struct mount_options *options) in ocfs2_check_set_options()
1233 struct mount_options *mopt, in ocfs2_parse_options()