Home
last modified time | relevance | path

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

/openbmc/linux/fs/jffs2/
H A 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()
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()
227 c->mount_opts.rp_size = new_c->mount_opts.rp_size; in jffs2_update_mount_opts()
[all …]
H A Djffs2_fs_sb.h144 struct jffs2_mount_opts mount_opts; member
H A Dcompr.c159 if (c->mount_opts.override_compr) in jffs2_compress()
160 mode = c->mount_opts.compr; in jffs2_compress()
H A Dnodemgmt.c27 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_rp_can_write()
/openbmc/linux/fs/devpts/
H A Dinode.c103 struct pts_mount_opts mount_opts; member
312 struct pts_mount_opts *opts = &fsi->mount_opts; in mknod_ptmx()
362 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode; in update_ptmx_mode()
370 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_remount()
388 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_show_options()
419 fsi->mount_opts.mode = DEVPTS_DEFAULT_MODE; in new_pts_fs_info()
420 fsi->mount_opts.ptmxmode = DEVPTS_DEFAULT_PTMX_MODE; in new_pts_fs_info()
445 error = parse_mount_options(data, PARSE_MOUNT, &DEVPTS_SB(s)->mount_opts); in devpts_fill_super()
517 (fsi->mount_opts.reserve ? 0 : pty_reserve))) in devpts_new_index()
520 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
[all …]
/openbmc/linux/fs/ramfs/
H A Dinode.c49 struct ramfs_mount_opts mount_opts; member
180 if (fsi->mount_opts.mode != RAMFS_DEFAULT_MODE) in ramfs_show_options()
181 seq_printf(m, ",mode=%o", fsi->mount_opts.mode); in ramfs_show_options()
224 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
243 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
275 fsi->mount_opts.mode = RAMFS_DEFAULT_MODE; in ramfs_init_fs_context()
/openbmc/linux/fs/affs/
H A 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()
/openbmc/linux/fs/befs/
H A 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()
911 if (befs_sb->mount_opts.iocharset) { in befs_fill_super()
913 befs_sb->mount_opts.iocharset); in befs_fill_super()
918 befs_sb->mount_opts.iocharset); in befs_fill_super()
[all …]
H A Dbefs.h59 struct befs_mount_options mount_opts; member
/openbmc/linux/drivers/android/
H A Dbinderfs.c131 if (++info->device_count <= info->mount_opts.max) in binderfs_binder_device_create()
315 if (info->mount_opts.stats_mode != ctx->stats_mode) in binderfs_fs_context_reconfigure()
318 info->mount_opts.stats_mode = ctx->stats_mode; in binderfs_fs_context_reconfigure()
319 info->mount_opts.max = ctx->max; in binderfs_fs_context_reconfigure()
327 if (info->mount_opts.max <= BINDERFS_MAX_MINOR) in binderfs_show_options()
328 seq_printf(seq, ",max=%d", info->mount_opts.max); in binderfs_show_options()
330 switch (info->mount_opts.stats_mode) { in binderfs_show_options()
695 info->mount_opts.max = ctx->max; in binderfs_fill_super()
696 info->mount_opts.stats_mode = ctx->stats_mode; in binderfs_fill_super()
732 if (info->mount_opts.stats_mode == binderfs_stats_mode_global) in binderfs_fill_super()
H A Dbinder_internal.h71 struct binderfs_mount_opts mount_opts; member
/openbmc/linux/fs/ubifs/
H A Dsuper.c441 if (c->mount_opts.unmount_mode == 2) in ubifs_show_options()
446 if (c->mount_opts.bulk_read == 2) in ubifs_show_options()
451 if (c->mount_opts.chk_data_crc == 2) in ubifs_show_options()
456 if (c->mount_opts.override_compr) { in ubifs_show_options()
1059 c->mount_opts.unmount_mode = 2; in ubifs_parse_options()
1062 c->mount_opts.unmount_mode = 1; in ubifs_parse_options()
1065 c->mount_opts.bulk_read = 2; in ubifs_parse_options()
1069 c->mount_opts.bulk_read = 1; in ubifs_parse_options()
1073 c->mount_opts.chk_data_crc = 2; in ubifs_parse_options()
1077 c->mount_opts.chk_data_crc = 1; in ubifs_parse_options()
[all …]
H A Dsb.c209 if (c->mount_opts.override_compr) in create_default_filesystem()
210 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
728 if (!c->mount_opts.override_compr) in ubifs_read_superblock()
H A Dubifs.h1521 struct ubifs_mount_opts mount_opts; member
/openbmc/u-boot/fs/ubifs/
H A Dsuper.c608 if (c->mount_opts.unmount_mode == 2) in ubifs_show_options()
613 if (c->mount_opts.bulk_read == 2) in ubifs_show_options()
618 if (c->mount_opts.chk_data_crc == 2) in ubifs_show_options()
623 if (c->mount_opts.override_compr) { in ubifs_show_options()
1183 c->mount_opts.unmount_mode = 2; in ubifs_parse_options()
1186 c->mount_opts.unmount_mode = 1; in ubifs_parse_options()
1189 c->mount_opts.bulk_read = 2; in ubifs_parse_options()
1193 c->mount_opts.bulk_read = 1; in ubifs_parse_options()
1197 c->mount_opts.chk_data_crc = 2; in ubifs_parse_options()
1201 c->mount_opts.chk_data_crc = 1; in ubifs_parse_options()
[all …]
H A Dsb.c180 if (c->mount_opts.override_compr) in create_default_filesystem()
181 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
624 if (!c->mount_opts.override_compr) in ubifs_read_superblock()
H A Dubifs.h2061 struct ubifs_mount_opts mount_opts; member
/openbmc/linux/fs/debugfs/
H A Dinode.c103 struct debugfs_mount_opts mount_opts; member
161 struct debugfs_mount_opts *opts = &fsi->mount_opts; in _debugfs_apply_options()
196 err = debugfs_parse_options(data, &fsi->mount_opts); in debugfs_remount()
209 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_show_options()
273 err = debugfs_parse_options(data, &fsi->mount_opts); in debug_fill_super()
/openbmc/linux/fs/tracefs/
H A Dinode.c307 struct tracefs_mount_opts mount_opts; member
365 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_apply_options()
415 err = tracefs_parse_options(data, &fsi->mount_opts); in tracefs_remount()
428 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_show_options()
506 err = tracefs_parse_options(data, &fsi->mount_opts); in trace_fill_super()
/openbmc/qemu/block/export/
H A Dfuse.c235 char *mount_opts; in setup_fuse_export() local
243 mount_opts = g_strdup_printf("max_read=%zu,default_permissions%s", in setup_fuse_export()
249 fuse_argv[2] = mount_opts; in setup_fuse_export()
255 g_free(mount_opts); in setup_fuse_export()
/openbmc/linux/fs/ext4/
H A Dsuper.c1848 static const struct mount_opts { struct
2142 const struct mount_opts *m; in ext4_parse_param()
2961 const struct mount_opts *m; in _ext4_show_options()