Lines Matching refs:ppbr
555 struct pbr *ppbr;
558 ppbr = malloc(EXFAT_MAX_SECTOR_SIZE);
559 if (!ppbr) {
565 ret = exfat_read(fd, (char *)ppbr, EXFAT_MAX_SECTOR_SIZE, 0);
572 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) {
578 exfat_info("volume serial : 0x%x\n", ppbr->bsx.vol_serial);
581 free(ppbr);
629 struct pbr *ppbr;
631 ppbr = malloc(EXFAT_MAX_SECTOR_SIZE);
632 if (!ppbr) {
638 ret = exfat_read(bd->dev_fd, (char *)ppbr, EXFAT_MAX_SECTOR_SIZE,
646 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) {
652 bd->sector_size = 1 << ppbr->bsx.sect_size_bits;
653 ppbr->bsx.vol_serial = ui->volume_serial;
656 ret = exfat_write_sector(bd, (char *)ppbr, BOOT_SEC_IDX);
664 ret = exfat_write_sector(bd, (char *)ppbr, BACKUP_BOOT_SEC_IDX);
681 free(ppbr);