Lines Matching refs:opts
70 static int debugfs_parse_options(char *data, struct debugfs_mount_opts *opts) in debugfs_parse_options() argument
79 opts->mode = DEBUGFS_DEFAULT_MODE; in debugfs_parse_options()
93 opts->uid = uid; in debugfs_parse_options()
101 opts->gid = gid; in debugfs_parse_options()
106 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
122 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_apply_options() local
125 inode->i_mode |= opts->mode; in debugfs_apply_options()
127 inode->i_uid = opts->uid; in debugfs_apply_options()
128 inode->i_gid = opts->gid; in debugfs_apply_options()
152 struct debugfs_mount_opts *opts = &fsi->mount_opts; in debugfs_show_options() local
154 if (!uid_eq(opts->uid, GLOBAL_ROOT_UID)) in debugfs_show_options()
156 from_kuid_munged(&init_user_ns, opts->uid)); in debugfs_show_options()
157 if (!gid_eq(opts->gid, GLOBAL_ROOT_GID)) in debugfs_show_options()
159 from_kgid_munged(&init_user_ns, opts->gid)); in debugfs_show_options()
160 if (opts->mode != DEBUGFS_DEFAULT_MODE) in debugfs_show_options()
161 seq_printf(m, ",mode=%o", opts->mode); in debugfs_show_options()