Home
last modified time | relevance | path

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

/Linux-v4.19/fs/devpts/
Dinode.c124 struct pts_mount_opts mount_opts; member
333 struct pts_mount_opts *opts = &fsi->mount_opts; in mknod_ptmx()
383 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode; in update_ptmx_mode()
391 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_remount()
409 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_show_options()
440 fsi->mount_opts.mode = DEVPTS_DEFAULT_MODE; in new_pts_fs_info()
441 fsi->mount_opts.ptmxmode = DEVPTS_DEFAULT_PTMX_MODE; in new_pts_fs_info()
465 error = parse_mount_options(data, PARSE_MOUNT, &DEVPTS_SB(s)->mount_opts); in devpts_fill_super()
537 (fsi->mount_opts.reserve ? 0 : pty_reserve))) in devpts_new_index()
540 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
[all …]
/Linux-v4.19/fs/ramfs/
Dinode.c46 struct ramfs_mount_opts mount_opts; member
167 if (fsi->mount_opts.mode != RAMFS_DEFAULT_MODE) in ramfs_show_options()
168 seq_printf(m, ",mode=%o", fsi->mount_opts.mode); in ramfs_show_options()
231 err = ramfs_parse_options(data, &fsi->mount_opts); in ramfs_fill_super()
242 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
/Linux-v4.19/fs/jffs2/
Dsuper.c89 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_show_options()
201 c->mount_opts.compr = JFFS2_COMPR_MODE_NONE; in jffs2_parse_options()
204 c->mount_opts.compr = JFFS2_COMPR_MODE_FORCELZO; in jffs2_parse_options()
208 c->mount_opts.compr = in jffs2_parse_options()
218 c->mount_opts.override_compr = true; in jffs2_parse_options()
229 c->mount_opts.rp_size = opt; in jffs2_parse_options()
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-v4.19/fs/affs/
Dsuper.c196 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) in parse_options() argument
210 *mount_opts = 0; in parse_options()
235 affs_set_opt(*mount_opts, SF_SETMODE); in parse_options()
238 affs_set_opt(*mount_opts, SF_MUFS); in parse_options()
241 affs_set_opt(*mount_opts, SF_NO_TRUNCATE); in parse_options()
248 affs_set_opt(*mount_opts, SF_PREFIX); in parse_options()
251 affs_set_opt(*mount_opts, SF_IMMUTABLE); in parse_options()
267 affs_set_opt(*mount_opts, SF_SETGID); in parse_options()
275 affs_set_opt(*mount_opts, SF_SETUID); in parse_options()
278 affs_set_opt(*mount_opts, SF_VERBOSE); in parse_options()
/Linux-v4.19/fs/befs/
Dlinuxvfs.c350 inode->i_uid = befs_sb->mount_opts.use_uid ? in befs_iget()
351 befs_sb->mount_opts.uid : in befs_iget()
353 inode->i_gid = befs_sb->mount_opts.use_gid ? in befs_iget()
354 befs_sb->mount_opts.gid : in befs_iget()
776 struct befs_mount_options *opts = &befs_sb->mount_opts; in befs_show_options()
799 kfree(BEFS_SB(sb)->mount_opts.iocharset); in befs_put_super()
800 BEFS_SB(sb)->mount_opts.iocharset = NULL; in befs_put_super()
830 if (!parse_options((char *) data, &befs_sb->mount_opts)) { in befs_fill_super()
914 if (befs_sb->mount_opts.iocharset) { in befs_fill_super()
916 befs_sb->mount_opts.iocharset); in befs_fill_super()
[all …]
Dbefs.h59 struct befs_mount_options mount_opts; member
/Linux-v4.19/fs/tracefs/
Dinode.c162 struct tracefs_mount_opts mount_opts; member
217 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_apply_options()
234 err = tracefs_parse_options(data, &fsi->mount_opts); in tracefs_remount()
247 struct tracefs_mount_opts *opts = &fsi->mount_opts; in tracefs_show_options()
280 err = tracefs_parse_options(data, &fsi->mount_opts); in trace_fill_super()
/Linux-v4.19/fs/ubifs/
Dsuper.c428 if (c->mount_opts.unmount_mode == 2) in ubifs_show_options()
430 else if (c->mount_opts.unmount_mode == 1) in ubifs_show_options()
433 if (c->mount_opts.bulk_read == 2) in ubifs_show_options()
435 else if (c->mount_opts.bulk_read == 1) in ubifs_show_options()
438 if (c->mount_opts.chk_data_crc == 2) in ubifs_show_options()
440 else if (c->mount_opts.chk_data_crc == 1) in ubifs_show_options()
443 if (c->mount_opts.override_compr) { in ubifs_show_options()
445 ubifs_compr_name(c, c->mount_opts.compr_type)); in ubifs_show_options()
1010 c->mount_opts.unmount_mode = 2; in ubifs_parse_options()
1013 c->mount_opts.unmount_mode = 1; in ubifs_parse_options()
[all …]
Dsb.c186 if (c->mount_opts.override_compr) in create_default_filesystem()
187 sup->default_compr = cpu_to_le16(c->mount_opts.compr_type); in create_default_filesystem()
633 if (!c->mount_opts.override_compr) in ubifs_read_superblock()
Dubifs.h1457 struct ubifs_mount_opts mount_opts; member
/Linux-v4.19/fs/debugfs/
Dinode.c67 struct debugfs_mount_opts mount_opts; member
122 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_apply_options()
139 err = debugfs_parse_options(data, &fsi->mount_opts); in debugfs_remount()
152 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_show_options()
215 err = debugfs_parse_options(data, &fsi->mount_opts); in debug_fill_super()
/Linux-v4.19/fs/ext4/
Dsuper.c1612 static const struct mount_opts { struct
1711 const struct mount_opts *m; in handle_mount_opt()
2079 const struct mount_opts *m; in _ext4_show_options()