Lines Matching refs:options
422 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_attach()
441 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { in fat_detach()
521 inode->i_uid = sbi->options.fs_uid; in fat_fill_inode()
522 inode->i_gid = sbi->options.fs_gid; in fat_fill_inode()
547 ((sbi->options.showexec && !is_exec(de->name + 8)) in fat_fill_inode()
559 if (sbi->options.sys_immutable) in fat_fill_inode()
568 if (sbi->options.isvfat) { in fat_fill_inode()
580 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_lock_build_inode()
586 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_unlock_build_inode()
726 fat_reset_iocharset(&sbi->options); in delayed_free()
799 *flags |= SB_NODIRATIME | (sbi->options.isvfat ? 0 : SB_NOATIME); in fat_remount()
835 (sbi->options.isvfat ? FAT_LFN_LEN : 12) * NLS_MAX_CHARSET_SIZE; in fat_statfs()
881 if (sbi->options.isvfat) { in __fat_write_inode()
936 struct fat_mount_options *opts = &sbi->options; in fat_show_options()
1120 static int parse_options(struct super_block *sb, char *options, int is_vfat, in parse_options() argument
1155 if (!options) in parse_options()
1158 while ((p = strsep(&options, ",")) != NULL) { in parse_options()
1392 inode->i_uid = sbi->options.fs_uid; in fat_read_root()
1393 inode->i_gid = sbi->options.fs_gid; in fat_read_root()
1639 error = parse_options(sb, data, isvfat, silent, &debug, &sbi->options); in fat_fill_super()
1655 if (error == -EINVAL && sbi->options.dos1xfloppy) in fat_fill_super()
1743 if (sbi->options.usefree) in fat_fill_super()
1825 sprintf(buf, "cp%d", sbi->options.codepage); in fat_fill_super()
1833 if (sbi->options.isvfat) { in fat_fill_super()
1834 sbi->nls_io = load_nls(sbi->options.iocharset); in fat_fill_super()
1837 sbi->options.iocharset); in fat_fill_super()
1876 if (sbi->options.discard) { in fat_fill_super()
1899 fat_reset_iocharset(&sbi->options); in fat_fill_super()
1939 if (!MSDOS_SB(sb)->options.flush) in fat_flush_inodes()