Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/jffs2/
Dsuper.c87 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_show_options()
199 c->mount_opts.compr = result.uint_32; in jffs2_parse_param()
200 c->mount_opts.override_compr = true; in jffs2_parse_param()
205 c->mount_opts.rp_size = result.uint_32 * 1024; in jffs2_parse_param()
206 c->mount_opts.set_rp_size = true; in jffs2_parse_param()
221 if (new_c->mount_opts.override_compr) { in jffs2_update_mount_opts()
222 c->mount_opts.override_compr = new_c->mount_opts.override_compr; in jffs2_update_mount_opts()
223 c->mount_opts.compr = new_c->mount_opts.compr; in jffs2_update_mount_opts()
225 if (new_c->mount_opts.set_rp_size) { in jffs2_update_mount_opts()
226 c->mount_opts.set_rp_size = new_c->mount_opts.set_rp_size; in jffs2_update_mount_opts()
[all …]
Dcompr.c159 if (c->mount_opts.override_compr) in jffs2_compress()
160 mode = c->mount_opts.compr; in jffs2_compress()
Djffs2_fs_sb.h144 struct jffs2_mount_opts mount_opts; member
Dnodemgmt.c27 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_rp_can_write()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
213 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
232 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
264 fsi->mount_opts.mode = RAMFS_DEFAULT_MODE; in ramfs_init_fs_context()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/befs/
Dlinuxvfs.c346 inode->i_uid = befs_sb->mount_opts.use_uid ? in befs_iget()
347 befs_sb->mount_opts.uid : in befs_iget()
349 inode->i_gid = befs_sb->mount_opts.use_gid ? in befs_iget()
350 befs_sb->mount_opts.gid : in befs_iget()
772 struct befs_mount_options *opts = &befs_sb->mount_opts; in befs_show_options()
795 kfree(BEFS_SB(sb)->mount_opts.iocharset); in befs_put_super()
796 BEFS_SB(sb)->mount_opts.iocharset = NULL; in befs_put_super()
826 if (!parse_options((char *) data, &befs_sb->mount_opts)) { in befs_fill_super()
912 if (befs_sb->mount_opts.iocharset) { in befs_fill_super()
914 befs_sb->mount_opts.iocharset); in befs_fill_super()
[all …]
Dbefs.h59 struct befs_mount_options mount_opts; member
/kernel/linux/linux-5.10/drivers/android/
Dbinderfs.c123 if (++info->device_count <= info->mount_opts.max) in binderfs_binder_device_create()
307 if (info->mount_opts.stats_mode != ctx->stats_mode) in binderfs_fs_context_reconfigure()
310 info->mount_opts.stats_mode = ctx->stats_mode; in binderfs_fs_context_reconfigure()
311 info->mount_opts.max = ctx->max; in binderfs_fs_context_reconfigure()
319 if (info->mount_opts.max <= BINDERFS_MAX_MINOR) in binderfs_show_options()
320 seq_printf(seq, ",max=%d", info->mount_opts.max); in binderfs_show_options()
322 switch (info->mount_opts.stats_mode) { in binderfs_show_options()
679 info->mount_opts.max = ctx->max; in binderfs_fill_super()
680 info->mount_opts.stats_mode = ctx->stats_mode; in binderfs_fill_super()
712 if (info->mount_opts.stats_mode == binderfs_stats_mode_global) in binderfs_fill_super()
Dbinder_internal.h69 struct binderfs_mount_opts mount_opts; member
/kernel/linux/linux-5.10/fs/ubifs/
Dsuper.c441 if (c->mount_opts.unmount_mode == 2) in ubifs_show_options()
443 else if (c->mount_opts.unmount_mode == 1) in ubifs_show_options()
446 if (c->mount_opts.bulk_read == 2) in ubifs_show_options()
448 else if (c->mount_opts.bulk_read == 1) in ubifs_show_options()
451 if (c->mount_opts.chk_data_crc == 2) in ubifs_show_options()
453 else if (c->mount_opts.chk_data_crc == 1) in ubifs_show_options()
456 if (c->mount_opts.override_compr) { in ubifs_show_options()
458 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options()
1050 c->mount_opts.unmount_mode = 2; in ubifs_parse_options()
1053 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()
725 if (!c->mount_opts.override_compr) in ubifs_read_superblock()
Dubifs.h1493 struct ubifs_mount_opts mount_opts; member
/kernel/linux/linux-5.10/fs/tracefs/
Dinode.c159 struct tracefs_mount_opts mount_opts; member
286 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_apply_options()
303 err = tracefs_parse_options(data, &fsi->mount_opts); in tracefs_remount()
316 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_show_options()
349 err = tracefs_parse_options(data, &fsi->mount_opts); in trace_fill_super()
/kernel/linux/linux-5.10/fs/debugfs/
Dinode.c101 struct debugfs_mount_opts mount_opts; member
156 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_apply_options()
173 err = debugfs_parse_options(data, &fsi->mount_opts); in debugfs_remount()
186 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_show_options()
248 err = debugfs_parse_options(data, &fsi->mount_opts); in debug_fill_super()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch4779 - struct jffs2_mount_opts *opts = &c->mount_opts;
6236 - struct jffs2_mount_opts *opts = &c->mount_opts;
6356 - c->mount_opts.compr = result.uint_32;
6357 - c->mount_opts.override_compr = true;
6362 - c->mount_opts.rp_size = result.uint_32 * 1024;
6363 - c->mount_opts.set_rp_size = true;
6381 - if (new_c->mount_opts.override_compr) {
6382 - c->mount_opts.override_compr = new_c->mount_opts.override_compr;
6383 - c->mount_opts.compr = new_c->mount_opts.compr;
6385 - if (new_c->mount_opts.set_rp_size) {
[all …]
/kernel/linux/linux-5.10/fs/ext4/
Dsuper.c1906 static const struct mount_opts { struct
2091 const struct mount_opts *m; in handle_mount_opt()
2532 const struct mount_opts *m; in _ext4_show_options()