Lines Matching refs:mount_opts
103 struct pts_mount_opts mount_opts; member
224 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_parse_param()
267 struct pts_mount_opts *opts = &fsi->mount_opts; in mknod_ptmx()
317 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode; in update_ptmx_mode()
331 fsi->mount_opts.setuid = new->mount_opts.setuid; in devpts_reconfigure()
332 fsi->mount_opts.setgid = new->mount_opts.setgid; in devpts_reconfigure()
333 fsi->mount_opts.uid = new->mount_opts.uid; in devpts_reconfigure()
334 fsi->mount_opts.gid = new->mount_opts.gid; in devpts_reconfigure()
335 fsi->mount_opts.mode = new->mount_opts.mode; in devpts_reconfigure()
336 fsi->mount_opts.ptmxmode = new->mount_opts.ptmxmode; in devpts_reconfigure()
337 fsi->mount_opts.max = new->mount_opts.max; in devpts_reconfigure()
353 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_show_options()
442 fsi->mount_opts.uid = GLOBAL_ROOT_UID; in devpts_init_fs_context()
443 fsi->mount_opts.gid = GLOBAL_ROOT_GID; in devpts_init_fs_context()
444 fsi->mount_opts.mode = DEVPTS_DEFAULT_MODE; in devpts_init_fs_context()
445 fsi->mount_opts.ptmxmode = DEVPTS_DEFAULT_PTMX_MODE; in devpts_init_fs_context()
446 fsi->mount_opts.max = NR_UNIX98_PTY_MAX; in devpts_init_fs_context()
450 fsi->mount_opts.reserve = true; in devpts_init_fs_context()
485 (fsi->mount_opts.reserve ? 0 : pty_reserve))) in devpts_new_index()
488 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
522 opts = &fsi->mount_opts; in devpts_pty_new()