Home
last modified time | relevance | path

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

/Linux-v5.4/fs/devpts/
Dinode.c121 struct pts_mount_opts mount_opts; member
330 struct pts_mount_opts *opts = &fsi->mount_opts; in mknod_ptmx()
380 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode; in update_ptmx_mode()
388 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_remount()
406 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_show_options()
437 fsi->mount_opts.mode = DEVPTS_DEFAULT_MODE; in new_pts_fs_info()
438 fsi->mount_opts.ptmxmode = DEVPTS_DEFAULT_PTMX_MODE; in new_pts_fs_info()
463 error = parse_mount_options(data, PARSE_MOUNT, &DEVPTS_SB(s)->mount_opts); in devpts_fill_super()
535 (fsi->mount_opts.reserve ? 0 : pty_reserve))) in devpts_new_index()
538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
[all …]
/Linux-v5.4/fs/ramfs/
Dinode.c48 struct ramfs_mount_opts mount_opts; member
169 if (fsi->mount_opts.mode != RAMFS_DEFAULT_MODE) in ramfs_show_options()
170 seq_printf(m, ",mode=%o", fsi->mount_opts.mode); in ramfs_show_options()
215 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
234 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
266 fsi->mount_opts.mode = RAMFS_DEFAULT_MODE; in ramfs_init_fs_context()
/Linux-v5.4/fs/affs/
Dsuper.c191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) in parse_options() argument
205 *mount_opts = 0; in parse_options()
230 affs_set_opt(*mount_opts, SF_SETMODE); in parse_options()
233 affs_set_opt(*mount_opts, SF_MUFS); in parse_options()
236 affs_set_opt(*mount_opts, SF_NO_TRUNCATE); in parse_options()
243 affs_set_opt(*mount_opts, SF_PREFIX); in parse_options()
246 affs_set_opt(*mount_opts, SF_IMMUTABLE); in parse_options()
262 affs_set_opt(*mount_opts, SF_SETGID); in parse_options()
270 affs_set_opt(*mount_opts, SF_SETUID); in parse_options()
273 affs_set_opt(*mount_opts, SF_VERBOSE); in parse_options()
/Linux-v5.4/drivers/android/
Dbinderfs.c119 if (++info->device_count <= info->mount_opts.max) in binderfs_binder_device_create()
323 prev_stats_mode = info->mount_opts.stats_mode; in binderfs_remount()
324 ret = binderfs_parse_mount_opts(data, &info->mount_opts); in binderfs_remount()
328 if (prev_stats_mode != info->mount_opts.stats_mode) { in binderfs_remount()
330 info->mount_opts.stats_mode = prev_stats_mode; in binderfs_remount()
342 if (info->mount_opts.max <= BINDERFS_MAX_MINOR) in binderfs_show_mount_opts()
343 seq_printf(seq, ",max=%d", info->mount_opts.max); in binderfs_show_mount_opts()
344 if (info->mount_opts.stats_mode == STATS_GLOBAL) in binderfs_show_mount_opts()
688 ret = binderfs_parse_mount_opts(data, &info->mount_opts); in binderfs_fill_super()
729 if (info->mount_opts.stats_mode == STATS_GLOBAL) in binderfs_fill_super()
Dbinder_internal.h67 struct binderfs_mount_opts mount_opts; member
/Linux-v5.4/fs/befs/
Dlinuxvfs.c345 inode->i_uid = befs_sb->mount_opts.use_uid ? in befs_iget()
346 befs_sb->mount_opts.uid : in befs_iget()
348 inode->i_gid = befs_sb->mount_opts.use_gid ? in befs_iget()
349 befs_sb->mount_opts.gid : in befs_iget()
771 struct befs_mount_options *opts = &befs_sb->mount_opts; in befs_show_options()
794 kfree(BEFS_SB(sb)->mount_opts.iocharset); in befs_put_super()
795 BEFS_SB(sb)->mount_opts.iocharset = NULL; in befs_put_super()
825 if (!parse_options((char *) data, &befs_sb->mount_opts)) { in befs_fill_super()
911 if (befs_sb->mount_opts.iocharset) { in befs_fill_super()
913 befs_sb->mount_opts.iocharset); in befs_fill_super()
[all …]
Dbefs.h59 struct befs_mount_options mount_opts; member
/Linux-v5.4/fs/jffs2/
Dsuper.c87 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_show_options()
205 c->mount_opts.compr = result.uint_32; in jffs2_parse_param()
206 c->mount_opts.override_compr = true; in jffs2_parse_param()
215 c->mount_opts.rp_size = opt; in jffs2_parse_param()
Dcompr.c159 if (c->mount_opts.override_compr) in jffs2_compress()
160 mode = c->mount_opts.compr; in jffs2_compress()
Djffs2_fs_sb.h143 struct jffs2_mount_opts mount_opts; member
Dnodemgmt.c27 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_rp_can_write()
/Linux-v5.4/fs/ubifs/
Dsuper.c422 if (c->mount_opts.unmount_mode == 2) in ubifs_show_options()
424 else if (c->mount_opts.unmount_mode == 1) in ubifs_show_options()
427 if (c->mount_opts.bulk_read == 2) in ubifs_show_options()
429 else if (c->mount_opts.bulk_read == 1) in ubifs_show_options()
432 if (c->mount_opts.chk_data_crc == 2) in ubifs_show_options()
434 else if (c->mount_opts.chk_data_crc == 1) in ubifs_show_options()
437 if (c->mount_opts.override_compr) { in ubifs_show_options()
439 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options()
1029 c->mount_opts.unmount_mode = 2; in ubifs_parse_options()
1032 c->mount_opts.unmount_mode = 1; in ubifs_parse_options()
[all …]
Dsb.c206 if (c->mount_opts.override_compr) in create_default_filesystem()
207 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
727 if (!c->mount_opts.override_compr) in ubifs_read_superblock()
Dubifs.h1491 struct ubifs_mount_opts mount_opts; member
/Linux-v5.4/fs/tracefs/
Dinode.c159 struct tracefs_mount_opts mount_opts; member
214 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_apply_options()
231 err = tracefs_parse_options(data, &fsi->mount_opts); in tracefs_remount()
244 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_show_options()
277 err = tracefs_parse_options(data, &fsi->mount_opts); in trace_fill_super()
/Linux-v5.4/fs/debugfs/
Dinode.c97 struct debugfs_mount_opts mount_opts; member
152 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_apply_options()
169 err = debugfs_parse_options(data, &fsi->mount_opts); in debugfs_remount()
182 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_show_options()
244 err = debugfs_parse_options(data, &fsi->mount_opts); in debug_fill_super()
/Linux-v5.4/fs/ext4/
Dsuper.c1667 static const struct mount_opts { struct
1796 const struct mount_opts *m; in handle_mount_opt()
2177 const struct mount_opts *m; in _ext4_show_options()