Lines Matching refs:opts
20 unsigned char *res, struct fat_mount_options *opts) in msdos_format_name() argument
33 if (opts->dotsOK) { in msdos_format_name()
48 if (opts->name_check != 'r' && strchr(bad_chars, c)) in msdos_format_name()
50 if (opts->name_check == 's' && strchr(bad_if_strict, c)) in msdos_format_name()
52 if (c >= 'A' && c <= 'Z' && opts->name_check == 's') in msdos_format_name()
69 *walk = (!opts->nocase && c >= 'a' && c <= 'z') ? c - 32 : c; in msdos_format_name()
73 if (opts->name_check == 's' && len && c != '.') { in msdos_format_name()
87 if (opts->name_check != 'r' && strchr(bad_chars, c)) in msdos_format_name()
89 if (opts->name_check == 's' && in msdos_format_name()
95 if (opts->name_check == 's') in msdos_format_name()
99 if (c >= 'A' && c <= 'Z' && opts->name_check == 's') in msdos_format_name()
102 if (!opts->nocase && c >= 'a' && c <= 'z') in msdos_format_name()
109 if (opts->name_check == 's' && len) in msdos_format_name()