Lines Matching refs:opts

135 	struct exfat_mount_options *opts = &sbi->options;
138 if (!uid_eq(opts->fs_uid, GLOBAL_ROOT_UID))
140 from_kuid_munged(&init_user_ns, opts->fs_uid));
141 if (!gid_eq(opts->fs_gid, GLOBAL_ROOT_GID))
143 from_kgid_munged(&init_user_ns, opts->fs_gid));
144 seq_printf(m, ",fmask=%04o,dmask=%04o", opts->fs_fmask, opts->fs_dmask);
145 if (opts->allow_utime)
146 seq_printf(m, ",allow_utime=%04o", opts->allow_utime);
147 if (opts->utf8)
151 if (opts->errors == EXFAT_ERRORS_CONT)
153 else if (opts->errors == EXFAT_ERRORS_PANIC)
157 if (opts->discard)
159 if (opts->keep_last_dots)
161 if (opts->sys_tz)
163 else if (opts->time_offset)
164 seq_printf(m, ",time_offset=%d", opts->time_offset);
165 if (opts->zero_size_dir)
255 struct exfat_mount_options *opts = &sbi->options;
265 opts->fs_uid = make_kuid(current_user_ns(), result.uint_32);
268 opts->fs_gid = make_kgid(current_user_ns(), result.uint_32);
271 opts->fs_fmask = result.uint_32;
272 opts->fs_dmask = result.uint_32;
275 opts->fs_dmask = result.uint_32;
278 opts->fs_fmask = result.uint_32;
281 opts->allow_utime = result.uint_32 & 0022;
285 opts->iocharset = param->string;
289 opts->errors = result.uint_32;
292 opts->discard = 1;
295 opts->keep_last_dots = 1;
298 opts->sys_tz = 1;
307 opts->time_offset = result.int_32;
310 opts->zero_size_dir = true;
621 struct exfat_mount_options *opts = &sbi->options;
625 if (opts->allow_utime == (unsigned short)-1)
626 opts->allow_utime = ~opts->fs_dmask & 0022;
628 if (opts->discard && !bdev_max_discard_sectors(sb->s_bdev)) {
630 opts->discard = 0;
651 opts->utf8 = 1;