Lines Matching refs:bsx
214 exfat->clus_count = le32_to_cpu(bs->bsx.clu_count); in init_exfat()
386 offset = (off_t)le32_to_cpu(exfat->bs->bsx.fat_offset) << in get_next_clus()
387 exfat->bs->bsx.sect_size_bits; in get_next_clus()
401 offset = le32_to_cpu(exfat->bs->bsx.fat_offset) << in set_fat()
402 exfat->bs->bsx.sect_size_bits; in set_fat()
574 return sect << exfat->bs->bsx.sect_size_bits; in exfat_s2o()
582 return exfat_s2o(exfat, le32_to_cpu(exfat->bs->bsx.clu_offset) + in exfat_c2o()
584 exfat->bs->bsx.sect_per_clus_bits)); in exfat_c2o()
639 flags = le16_to_cpu(exfat->bs->bsx.vol_flags); in exfat_mark_volume_dirty()
645 exfat->bs->bsx.vol_flags = cpu_to_le16(flags); in exfat_mark_volume_dirty()
705 if (bs->bsx.fs_version[1] != 1 || bs->bsx.fs_version[0] != 0) { in read_boot_region()
708 bs->bsx.fs_version[1], bs->bsx.fs_version[0]); in read_boot_region()
712 if (bs->bsx.num_fats != 1) { in read_boot_region()
715 bs->bsx.num_fats); in read_boot_region()
719 if (le64_to_cpu(bs->bsx.vol_length) * EXFAT_SECTOR_SIZE(bs) > in read_boot_region()
723 le64_to_cpu(bs->bsx.vol_length), in read_boot_region()
728 if (le32_to_cpu(bs->bsx.clu_count) * EXFAT_CLUSTER_SIZE(bs) > in read_boot_region()
732 le32_to_cpu(bs->bsx.clu_count), in read_boot_region()
763 ((struct pbr *)sector)->bsx.perc_in_use = 0xff; in restore_boot_region()
802 sect_size = 1 << boot_sect->bsx.sect_size_bits; in exfat_boot_region_check()
899 if (node->size > le32_to_cpu(exfat->bs->bsx.clu_count) * in check_inode()
1281 last_clus = le32_to_cpu(exfat->bs->bsx.clu_count) + 2; in write_dirty_fat()
1284 offset = le32_to_cpu(exfat->bs->bsx.fat_offset) * in write_dirty_fat()
1453 root->first_clus = le32_to_cpu(exfat->bs->bsx.root_cluster); in exfat_root_dir_check()
1501 bytes_to_human_readable(1 << exfat->bs->bsx.sect_size_bits)); in exfat_show_info()