/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | super.c | 88 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_show_options() 200 c->mount_opts.compr = result.uint_32; in jffs2_parse_param() 201 c->mount_opts.override_compr = true; in jffs2_parse_param() 206 c->mount_opts.rp_size = result.uint_32 * 1024; in jffs2_parse_param() 207 c->mount_opts.set_rp_size = true; in jffs2_parse_param() 222 if (new_c->mount_opts.override_compr) { in jffs2_update_mount_opts() 223 c->mount_opts.override_compr = new_c->mount_opts.override_compr; in jffs2_update_mount_opts() 224 c->mount_opts.compr = new_c->mount_opts in jffs2_update_mount_opts() [all...] |
H A D | compr.c | 159 if (c->mount_opts.override_compr) in jffs2_compress() 160 mode = c->mount_opts.compr; in jffs2_compress()
|
H A D | jffs2_fs_sb.h | 144 struct jffs2_mount_opts mount_opts; member
|
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | super.c | 87 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 in jffs2_update_mount_opts() [all...] |
H A D | compr.c | 159 if (c->mount_opts.override_compr) in jffs2_compress() 160 mode = c->mount_opts.compr; in jffs2_compress()
|
H A D | jffs2_fs_sb.h | 144 struct jffs2_mount_opts mount_opts; member
|
/kernel/linux/linux-5.10/fs/devpts/ |
H A D | inode.c | 121 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 in devpts_new_index() [all...] |
/kernel/linux/linux-6.6/fs/devpts/ |
H A D | inode.c | 103 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 in devpts_new_index() [all...] |
/kernel/linux/linux-5.10/fs/ramfs/ |
H A D | inode.c | 48 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-6.6/fs/ramfs/ |
H A D | inode.c | 49 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()
|
/kernel/linux/linux-5.10/drivers/android/ |
H A D | binderfs.c | 123 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 in binderfs_fill_super() [all...] |
H A D | binder_internal.h | 59 * @mount_opts: The mount options in use. 69 struct binderfs_mount_opts mount_opts; member
|
/kernel/linux/linux-5.10/fs/affs/ |
H A D | super.c | 191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) in parse_options() 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_VERBOS in parse_options() 190 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) parse_options() argument [all...] |
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binderfs.c | 131 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 in binderfs_fill_super() [all...] |
/kernel/linux/linux-6.6/fs/affs/ |
H A D | super.c | 191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) in parse_options() 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_VERBOS in parse_options() 190 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) parse_options() argument [all...] |
/kernel/linux/linux-5.10/fs/befs/ |
H A D | linuxvfs.c | 346 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 in befs_fill_super() [all...] |
H A D | befs.h | 59 struct befs_mount_options mount_opts; member
|
/kernel/linux/linux-6.6/fs/befs/ |
H A D | linuxvfs.c | 345 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 in befs_fill_super() [all...] |
H A D | befs.h | 59 struct befs_mount_options mount_opts; member
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | super.c | 441 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() 1059 c->mount_opts.unmount_mode = 2; in ubifs_parse_options() 1062 c->mount_opts in ubifs_parse_options() [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | super.c | 441 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() 1059 c->mount_opts.unmount_mode = 2; in ubifs_parse_options() 1062 c->mount_opts in ubifs_parse_options() [all...] |
/kernel/linux/linux-5.10/fs/tracefs/ |
H A D | inode.c | 161 struct tracefs_mount_opts mount_opts; member 290 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_apply_options() 319 err = tracefs_parse_options(data, &fsi->mount_opts); in tracefs_remount() 332 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_show_options() 365 err = tracefs_parse_options(data, &fsi->mount_opts); in trace_fill_super()
|
/kernel/linux/linux-5.10/fs/debugfs/ |
H A D | inode.c | 101 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() 250 err = debugfs_parse_options(data, &fsi->mount_opts); in debug_fill_super()
|
/kernel/linux/linux-6.6/fs/debugfs/ |
H A D | inode.c | 103 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()
|
/kernel/linux/linux-6.6/fs/tracefs/ |
H A D | inode.c | 257 struct tracefs_mount_opts mount_opts; member 315 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_apply_options() 344 err = tracefs_parse_options(data, &fsi->mount_opts); in tracefs_remount() 357 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_show_options() 419 err = tracefs_parse_options(data, &fsi->mount_opts); in trace_fill_super()
|