Home
last modified time | relevance | path

Searched refs:ppbr (Results 1 – 3 of 3) sorted by relevance

/third_party/exfatprogs/dump/
Ddump.c69 struct pbr *ppbr; in exfat_show_ondisk_all_info() local
79 ppbr = malloc(EXFAT_MAX_SECTOR_SIZE); in exfat_show_ondisk_all_info()
80 if (!ppbr) { in exfat_show_ondisk_all_info()
86 if (exfat_read(bd->dev_fd, (char *)ppbr, EXFAT_MAX_SECTOR_SIZE, in exfat_show_ondisk_all_info()
93 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_show_ondisk_all_info()
99 pbsx = &ppbr->bsx; in exfat_show_ondisk_all_info()
213 free(ppbr); in exfat_show_ondisk_all_info()
/third_party/exfatprogs/lib/
Dlibexfat.c555 struct pbr *ppbr; in exfat_show_volume_serial() local
558 ppbr = malloc(EXFAT_MAX_SECTOR_SIZE); in exfat_show_volume_serial()
559 if (!ppbr) { in exfat_show_volume_serial()
565 ret = exfat_read(fd, (char *)ppbr, EXFAT_MAX_SECTOR_SIZE, 0); in exfat_show_volume_serial()
572 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_show_volume_serial()
578 exfat_info("volume serial : 0x%x\n", ppbr->bsx.vol_serial); in exfat_show_volume_serial()
581 free(ppbr); in exfat_show_volume_serial()
629 struct pbr *ppbr; in exfat_set_volume_serial() local
631 ppbr = malloc(EXFAT_MAX_SECTOR_SIZE); in exfat_set_volume_serial()
632 if (!ppbr) { in exfat_set_volume_serial()
[all …]
/third_party/exfatprogs/mkfs/
Dmkfs.c42 static void exfat_setup_boot_sector(struct pbr *ppbr, in exfat_setup_boot_sector() argument
45 struct bpb64 *pbpb = &ppbr->bpb; in exfat_setup_boot_sector()
46 struct bsx64 *pbsx = &ppbr->bsx; in exfat_setup_boot_sector()
78 memset(ppbr->boot_code, 0, 390); in exfat_setup_boot_sector()
79 ppbr->signature = cpu_to_le16(PBR_SIGNATURE); in exfat_setup_boot_sector()
106 struct pbr *ppbr; in exfat_write_boot_sector() local
113 ppbr = malloc(bd->sector_size); in exfat_write_boot_sector()
114 if (!ppbr) { in exfat_write_boot_sector()
118 memset(ppbr, 0, bd->sector_size); in exfat_write_boot_sector()
120 exfat_setup_boot_sector(ppbr, bd, ui); in exfat_write_boot_sector()
[all …]