Home
last modified time | relevance | path

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

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp286 uint32_t gpt_header_size; in gpt2_set_boot_chain() local
353 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET); in gpt2_set_boot_chain()
369 crc = crc32(0, gpt_header, gpt_header_size); in gpt2_set_boot_chain()
403 uint32_t gpt_header_size; in gpt_get_state() local
436 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET); in gpt_get_state()
441 if (crc32(0, gpt_header, gpt_header_size) != crc) in gpt_get_state()
469 uint32_t gpt_header_size; in gpt_set_state() local
506 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET); in gpt_set_state()
510 crc = crc32(0, gpt_header, gpt_header_size); in gpt_set_state()
1379 uint32_t gpt_header_size = 0; in gpt_disk_get_disk_info() local
[all …]