Lines Matching refs:options
313 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_attach()
332 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_detach()
394 inode->i_uid = sbi->options.fs_uid; in fat_fill_inode()
395 inode->i_gid = sbi->options.fs_gid; in fat_fill_inode()
416 ((sbi->options.showexec && !is_exec(de->name + 8)) in fat_fill_inode()
428 if (sbi->options.sys_immutable) in fat_fill_inode()
437 if (sbi->options.isvfat) { in fat_fill_inode()
449 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_lock_build_inode()
455 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_unlock_build_inode()
563 if (sbi->options.iocharset != fat_default_iocharset) in fat_put_super()
564 kfree(sbi->options.iocharset); in fat_put_super()
633 *flags |= MS_NODIRATIME | (sbi->options.isvfat ? 0 : MS_NOATIME); in fat_remount()
669 (sbi->options.isvfat ? FAT_LFN_LEN : 12) * NLS_MAX_CHARSET_SIZE; in fat_statfs()
715 if (sbi->options.isvfat) { in __fat_write_inode()
770 struct fat_mount_options *opts = &sbi->options; in fat_show_options()
951 static int parse_options(struct super_block *sb, char *options, int is_vfat, in parse_options() argument
984 if (!options) in parse_options()
987 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
1205 inode->i_uid = sbi->options.fs_uid; in fat_read_root()
1206 inode->i_gid = sbi->options.fs_gid; in fat_read_root()
1285 error = parse_options(sb, data, isvfat, silent, &debug, &sbi->options); in fat_fill_super()
1414 if (sbi->options.usefree) in fat_fill_super()
1496 sprintf(buf, "cp%d", sbi->options.codepage); in fat_fill_super()
1504 if (sbi->options.isvfat) { in fat_fill_super()
1505 sbi->nls_io = load_nls(sbi->options.iocharset); in fat_fill_super()
1508 sbi->options.iocharset); in fat_fill_super()
1546 if (sbi->options.discard) { in fat_fill_super()
1569 if (sbi->options.iocharset != fat_default_iocharset) in fat_fill_super()
1570 kfree(sbi->options.iocharset); in fat_fill_super()
1610 if (!MSDOS_SB(sb)->options.flush) in fat_flush_inodes()