Home
last modified time | relevance | path

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

/third_party/exfatprogs/lib/
Dlibexfat.c532 struct pbr *ppbr; in exfat_show_volume_serial() local
535 ppbr = malloc(EXFAT_MAX_SECTOR_SIZE); in exfat_show_volume_serial()
536 if (!ppbr) { in exfat_show_volume_serial()
542 ret = exfat_read(fd, (char *)ppbr, EXFAT_MAX_SECTOR_SIZE, 0); in exfat_show_volume_serial()
549 exfat_info("volume serial : 0x%x\n", ppbr->bsx.vol_serial); in exfat_show_volume_serial()
552 free(ppbr); in exfat_show_volume_serial()
600 struct pbr *ppbr; in exfat_set_volume_serial() local
602 ppbr = malloc(EXFAT_MAX_SECTOR_SIZE); in exfat_set_volume_serial()
603 if (!ppbr) { in exfat_set_volume_serial()
609 ret = exfat_read(bd->dev_fd, (char *)ppbr, EXFAT_MAX_SECTOR_SIZE, in exfat_set_volume_serial()
[all …]
/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 pbsx = &ppbr->bsx; in exfat_show_ondisk_all_info()
207 free(ppbr); in exfat_show_ondisk_all_info()
/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 …]