Lines Matching refs:opts
71 static int debugfs_parse_options(char *data, struct debugfs_mount_opts *opts) in debugfs_parse_options() argument
80 opts->mode = DEBUGFS_DEFAULT_MODE; in debugfs_parse_options()
94 opts->uid = uid; in debugfs_parse_options()
102 opts->gid = gid; in debugfs_parse_options()
107 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
123 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_apply_options() local
126 inode->i_mode |= opts->mode; in debugfs_apply_options()
128 inode->i_uid = opts->uid; in debugfs_apply_options()
129 inode->i_gid = opts->gid; in debugfs_apply_options()
153 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_show_options() local
155 if (!uid_eq(opts->uid, GLOBAL_ROOT_UID)) in debugfs_show_options()
157 from_kuid_munged(&init_user_ns, opts->uid)); in debugfs_show_options()
158 if (!gid_eq(opts->gid, GLOBAL_ROOT_GID)) in debugfs_show_options()
160 from_kgid_munged(&init_user_ns, opts->gid)); in debugfs_show_options()
161 if (opts->mode != DEBUGFS_DEFAULT_MODE) in debugfs_show_options()
162 seq_printf(m, ",mode=%o", opts->mode); in debugfs_show_options()