Lines Matching defs:opts
85 unsigned int opts;
106 static int debugfs_parse_options(char *data, struct debugfs_mount_opts *opts)
115 opts->opts = 0;
116 opts->mode = DEBUGFS_DEFAULT_MODE;
130 opts->uid = uid;
138 opts->gid = gid;
143 opts->mode = option & S_IALLUGO;
151 opts->opts |= BIT(token);
161 struct debugfs_mount_opts *opts = &fsi->mount_opts;
168 if (!remount || opts->opts & BIT(Opt_mode)) {
170 inode->i_mode |= opts->mode;
173 if (!remount || opts->opts & BIT(Opt_uid))
174 inode->i_uid = opts->uid;
176 if (!remount || opts->opts & BIT(Opt_gid))
177 inode->i_gid = opts->gid;
209 struct debugfs_mount_opts *opts = &fsi->mount_opts;
211 if (!uid_eq(opts->uid, GLOBAL_ROOT_UID))
213 from_kuid_munged(&init_user_ns, opts->uid));
214 if (!gid_eq(opts->gid, GLOBAL_ROOT_GID))
216 from_kgid_munged(&init_user_ns, opts->gid));
217 if (opts->mode != DEBUGFS_DEFAULT_MODE)
218 seq_printf(m, ",mode=%o", opts->mode);