Home
last modified time | relevance | path

Searched refs:bsx (Results 1 – 12 of 12) sorted by relevance

/third_party/exfatprogs/lib/
Dlibexfat.c49 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 …]
Dexfat_fs.c137 exfat->clus_count = le32_to_cpu(bs->bsx.clu_count); in exfat_alloc_exfat()
Dexfat_dir.c683 clus_t end = le32_to_cpu(exfat->bs->bsx.clu_count) + in find_free_cluster()
/third_party/exfatprogs/fsck/
Dfsck.c348 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/
Dmkfs_msdos.c138 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/
Dexfat2img.c252 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/
Dlibexfat.h51 #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)
Dexfat_ondisk.h130 struct bsx64 bsx; member
/third_party/exfatprogs/label/
Dlabel.c119 exfat->root->first_clus = le32_to_cpu(exfat->bs->bsx.root_cluster); in main()
/third_party/exfatprogs/tune/
Dtune.c131 exfat->root->first_clus = le32_to_cpu(exfat->bs->bsx.root_cluster); in main()
/third_party/exfatprogs/dump/
Ddump.c99 pbsx = &ppbr->bsx; in exfat_show_ondisk_all_info()
/third_party/exfatprogs/mkfs/
Dmkfs.c46 struct bsx64 *pbsx = &ppbr->bsx; in exfat_setup_boot_sector()