Lines Matching refs:opts
211 struct fat_mount_options *opts, in parse_options() argument
218 opts->name_check = 'n'; in parse_options()
219 opts->conversion = 'b'; in parse_options()
220 opts->fs_uid = current->uid; in parse_options()
221 opts->fs_gid = current->gid; in parse_options()
222 opts->fs_umask = current->fs->umask; in parse_options()
223 opts->quiet = opts->sys_immutable = opts->dotsOK = opts->showexec = 0; in parse_options()
224 opts->codepage = 0; in parse_options()
225 opts->nocase = 0; in parse_options()
226 opts->shortname = 0; in parse_options()
227 opts->utf8 = 0; in parse_options()
228 opts->iocharset = NULL; in parse_options()
244 opts->name_check = *value; in parse_options()
246 opts->name_check = 'r'; in parse_options()
248 opts->name_check = 'n'; in parse_options()
250 opts->name_check = 's'; in parse_options()
255 opts->conversion = *value; in parse_options()
257 opts->conversion = 'b'; in parse_options()
259 opts->conversion = 't'; in parse_options()
261 opts->conversion = 'a'; in parse_options()
265 opts->dotsOK = 1; in parse_options()
268 opts->nocase = 1; in parse_options()
271 opts->dotsOK = 0; in parse_options()
274 opts->showexec = 1; in parse_options()
277 if (!strcmp(value,"yes")) opts->dotsOK = 1; in parse_options()
278 else if (!strcmp(value,"no")) opts->dotsOK = 0; in parse_options()
284 opts->fs_uid = simple_strtoul(value,&value,0); in parse_options()
291 opts->fs_gid = simple_strtoul(value,&value,0); in parse_options()
298 opts->fs_umask = simple_strtoul(value,&value,8); in parse_options()
317 else opts->quiet = 1; in parse_options()
325 else opts->sys_immutable = 1; in parse_options()
328 opts->codepage = simple_strtoul(value,&value,0); in parse_options()
331 opts->codepage); in parse_options()
341 if (opts->iocharset != NULL) { in parse_options()
342 kfree(opts->iocharset); in parse_options()
343 opts->iocharset = NULL; in parse_options()
347 opts->iocharset = buffer; in parse_options()
570 struct fat_mount_options opts; in fat_read_super() local
590 opts.isvfat = sbi->options.isvfat; in fat_read_super()
591 if (!parse_options((char *) data, &fat, &debug, &opts, in fat_read_super()
595 memcpy(&(sbi->options), &opts, sizeof(struct fat_mount_options)); in fat_read_super()
749 sbi->fat_bits,opts.name_check, in fat_read_super()
750 opts.conversion,opts.fs_uid,opts.fs_gid,opts.fs_umask, in fat_read_super()
772 cp = opts.codepage ? opts.codepage : 437; in fat_read_super()
777 if (opts.codepage != 0) in fat_read_super()
784 if (sbi->options.isvfat && !opts.utf8) { in fat_read_super()
785 p = opts.iocharset ? opts.iocharset : CONFIG_NLS_DEFAULT; in fat_read_super()
789 if (opts.iocharset) in fat_read_super()
823 if (opts.iocharset) { in fat_read_super()
824 printk("FAT: freeing iocharset=%s\n", opts.iocharset); in fat_read_super()
825 kfree(opts.iocharset); in fat_read_super()