Lines Matching refs:opts
77 static int debugfs_parse_options(char *data, struct debugfs_mount_opts *opts) in debugfs_parse_options() argument
86 opts->mode = DEBUGFS_DEFAULT_MODE; in debugfs_parse_options()
100 opts->uid = uid; in debugfs_parse_options()
108 opts->gid = gid; in debugfs_parse_options()
113 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
129 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_apply_options() local
132 inode->i_mode |= opts->mode; in debugfs_apply_options()
134 inode->i_uid = opts->uid; in debugfs_apply_options()
135 inode->i_gid = opts->gid; in debugfs_apply_options()
159 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_show_options() local
161 if (!uid_eq(opts->uid, GLOBAL_ROOT_UID)) in debugfs_show_options()
163 from_kuid_munged(&init_user_ns, opts->uid)); in debugfs_show_options()
164 if (!gid_eq(opts->gid, GLOBAL_ROOT_GID)) in debugfs_show_options()
166 from_kgid_munged(&init_user_ns, opts->gid)); in debugfs_show_options()
167 if (opts->mode != DEBUGFS_DEFAULT_MODE) in debugfs_show_options()
168 seq_printf(m, ",mode=%o", opts->mode); in debugfs_show_options()