Searched refs:hdr_bak (Results 1 – 2 of 2) sorted by relevance
1363 if (disk->hdr_bak) in gpt_disk_free()1364 free(disk->hdr_bak); in gpt_disk_free()1393 disk->hdr_bak = gpt_get_header(dev, PRIMARY_GPT); in gpt_disk_get_disk_info()1394 if (!disk->hdr_bak) { in gpt_disk_get_disk_info()1398 disk->hdr_bak_crc = crc32(0, disk->hdr_bak, gpt_header_size); in gpt_disk_get_disk_info()1424 disk->pentry_arr_bak = gpt_get_pentry_arr(disk->hdr_bak, fd); in gpt_disk_get_disk_info()1435 disk->pentry_arr_bak_crc = GET_4_BYTES(disk->hdr_bak + in gpt_disk_get_disk_info()1488 PUT_4_BYTES(disk->hdr_bak + PARTITION_CRC_OFFSET, in gpt_disk_update_crc()1494 PUT_4_BYTES(disk->hdr_bak + HEADER_CRC_OFFSET, 0); in gpt_disk_update_crc()1496 disk->hdr_bak_crc = crc32(0, disk->hdr_bak, gpt_header_size); in gpt_disk_update_crc()[all …]
119 uint8_t *hdr_bak; member