Searched refs:bsx (Results 1 – 7 of 7) sorted by relevance
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()[all …]
79 #define EXFAT_CLUSTER_SIZE(pbr) (1 << ((pbr)->bsx.sect_size_bits + \80 (pbr)->bsx.sect_per_clus_bits))81 #define EXFAT_SECTOR_SIZE(pbr) (1 << (pbr)->bsx.sect_size_bits)
377 sector_size = 1 << bs->bsx.sect_size_bits; in exfat_get_root_entry_offset()378 cluster_size = (1 << bs->bsx.sect_per_clus_bits) * sector_size; in exfat_get_root_entry_offset()379 root_clu_off = le32_to_cpu(bs->bsx.clu_offset) * sector_size + in exfat_get_root_entry_offset()380 (le32_to_cpu(bs->bsx.root_cluster) - EXFAT_RESERVED_CLUSTERS) * in exfat_get_root_entry_offset()549 exfat_info("volume serial : 0x%x\n", ppbr->bsx.vol_serial); in exfat_show_volume_serial()617 bd->sector_size = 1 << ppbr->bsx.sect_size_bits; in exfat_set_volume_serial()618 ppbr->bsx.vol_serial = ui->volume_serial; in exfat_set_volume_serial()
138 struct bsx { struct250 struct bsx *bsx; in mkfs_msdos() local703 bsx = (struct bsx *)(img + x1); in mkfs_msdos()704 mk1(bsx->exBootSignature, 0x29); in mkfs_msdos()715 mk4(bsx->exVolumeID, x); in mkfs_msdos()716 mklabel(bsx->exVolumeLabel, o.volume_label ? o.volume_label : "NO NAME"); in mkfs_msdos()718 setstr(bsx->exFileSysType, buf, sizeof(bsx->exFileSysType)); in mkfs_msdos()720 x1 += sizeof(struct bsx); in mkfs_msdos()
93 pbsx = &ppbr->bsx; in exfat_show_ondisk_all_info()
129 struct bsx64 bsx; member
46 struct bsx64 *pbsx = &ppbr->bsx; in exfat_setup_boot_sector()