Lines Matching defs:opts
693 parse_options(char *options, struct befs_mount_options *opts)
702 opts->uid = GLOBAL_ROOT_UID;
703 opts->gid = GLOBAL_ROOT_GID;
704 opts->use_uid = 0;
705 opts->use_gid = 0;
706 opts->iocharset = NULL;
707 opts->debug = 0;
731 opts->uid = uid;
732 opts->use_uid = 1;
745 opts->gid = gid;
746 opts->use_gid = 1;
749 kfree(opts->iocharset);
750 opts->iocharset = match_strdup(&args[0]);
751 if (!opts->iocharset) {
758 opts->debug = 1;
772 struct befs_mount_options *opts = &befs_sb->mount_opts;
774 if (!uid_eq(opts->uid, GLOBAL_ROOT_UID))
776 from_kuid_munged(&init_user_ns, opts->uid));
777 if (!gid_eq(opts->gid, GLOBAL_ROOT_GID))
779 from_kgid_munged(&init_user_ns, opts->gid));
780 if (opts->iocharset)
781 seq_printf(m, ",charset=%s", opts->iocharset);
782 if (opts->debug)