Searched refs:bsx (Results 1 – 12 of 12) sorted by relevance
/third_party/exfatprogs/lib/ |
D | libexfat.c | 49 last_clu = le32_to_cpu(exfat->bs->bsx.clu_count) + in exfat_bitmap_find_bit() 376 sector_size = 1 << bs->bsx.sect_size_bits; in exfat_get_root_entry_offset() 377 cluster_size = (1 << bs->bsx.sect_per_clus_bits) * sector_size; in exfat_get_root_entry_offset() 378 root_clu_off = le32_to_cpu(bs->bsx.clu_offset) * sector_size + in exfat_get_root_entry_offset() 379 (le32_to_cpu(bs->bsx.root_cluster) - EXFAT_RESERVED_CLUSTERS) * in exfat_get_root_entry_offset() 578 exfat_info("volume serial : 0x%x\n", ppbr->bsx.vol_serial); in exfat_show_volume_serial() 652 bd->sector_size = 1 << ppbr->bsx.sect_size_bits; in exfat_set_volume_serial() 653 ppbr->bsx.vol_serial = ui->volume_serial; in exfat_set_volume_serial() 704 offset = (off_t)le32_to_cpu(exfat->bs->bsx.fat_offset) << in exfat_get_next_clus() 705 exfat->bs->bsx.sect_size_bits; in exfat_get_next_clus() [all …]
|
D | exfat_fs.c | 137 exfat->clus_count = le32_to_cpu(bs->bsx.clu_count); in exfat_alloc_exfat()
|
D | exfat_dir.c | 683 clus_t end = le32_to_cpu(exfat->bs->bsx.clu_count) + in find_free_cluster()
|
/third_party/exfatprogs/fsck/ |
D | fsck.c | 348 flags = le16_to_cpu(exfat->bs->bsx.vol_flags); in exfat_mark_volume_dirty() 354 exfat->bs->bsx.vol_flags = cpu_to_le16(flags); in exfat_mark_volume_dirty() 414 if (bs->bsx.fs_version[1] != 1 || bs->bsx.fs_version[0] != 0) { in read_boot_region() 417 bs->bsx.fs_version[1], bs->bsx.fs_version[0]); in read_boot_region() 421 if (bs->bsx.num_fats != 1) { in read_boot_region() 424 bs->bsx.num_fats); in read_boot_region() 428 if (le64_to_cpu(bs->bsx.vol_length) * EXFAT_SECTOR_SIZE(bs) > in read_boot_region() 432 le64_to_cpu(bs->bsx.vol_length), in read_boot_region() 437 if (le32_to_cpu(bs->bsx.clu_count) * EXFAT_CLUSTER_SIZE(bs) > in read_boot_region() 441 le32_to_cpu(bs->bsx.clu_count), in read_boot_region() [all …]
|
/third_party/FreeBSD/sbin/newfs_msdos/ |
D | mkfs_msdos.c | 138 struct bsx { struct 250 struct bsx *bsx; in mkfs_msdos() local 703 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()
|
/third_party/exfatprogs/exfat2img/ |
D | exfat2img.c | 252 possible_count = (256 * MB) >> (exfat->bs->bsx.sect_per_clus_bits + in dump_directory() 253 exfat->bs->bsx.sect_size_bits); in dump_directory() 289 root->first_clus = le32_to_cpu(exfat->bs->bsx.root_cluster); in dump_root() 667 end_off = exfat_s2o(exfat, le32_to_cpu(exfat->bs->bsx.clu_offset)); in dump_to_stdout() 731 cpu_to_le32(le32_to_cpu(exfat->bs->bsx.clu_offset) * in dump_header() 969 err = dump_sectors(&ei, 0, le32_to_cpu(ei.exfat->bs->bsx.clu_offset)); in main() 975 last_sect = (off_t)le32_to_cpu(ei.exfat->bs->bsx.clu_offset) + in main() 976 (le32_to_cpu(ei.exfat->bs->bsx.clu_count) << in main() 977 ei.exfat->bs->bsx.sect_per_clus_bits) - 1; in main()
|
/third_party/exfatprogs/include/ |
D | libexfat.h | 51 #define EXFAT_CLUSTER_SIZE(pbr) (1 << ((pbr)->bsx.sect_size_bits + \ 52 (pbr)->bsx.sect_per_clus_bits)) 53 #define EXFAT_SECTOR_SIZE(pbr) (1 << (pbr)->bsx.sect_size_bits)
|
D | exfat_ondisk.h | 130 struct bsx64 bsx; member
|
/third_party/exfatprogs/label/ |
D | label.c | 119 exfat->root->first_clus = le32_to_cpu(exfat->bs->bsx.root_cluster); in main()
|
/third_party/exfatprogs/tune/ |
D | tune.c | 131 exfat->root->first_clus = le32_to_cpu(exfat->bs->bsx.root_cluster); in main()
|
/third_party/exfatprogs/dump/ |
D | dump.c | 99 pbsx = &ppbr->bsx; in exfat_show_ondisk_all_info()
|
/third_party/exfatprogs/mkfs/ |
D | mkfs.c | 46 struct bsx64 *pbsx = &ppbr->bsx; in exfat_setup_boot_sector()
|