Searched refs:pentries (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/msm8998/gpt-utils/ |
D | gpt-utils.cpp | 291 uint8_t *pentries = NULL; in gpt2_set_boot_chain() local 329 pentries = (uint8_t *) calloc(1, pentries_array_size); in gpt2_set_boot_chain() 330 if (pentries == NULL) { in gpt2_set_boot_chain() 337 r = blk_rw(fd, 0, pentries_start_offset, pentries, pentries_array_size); in gpt2_set_boot_chain() 341 crc = crc32(0, pentries, pentries_array_size); in gpt2_set_boot_chain() 358 r = gpt_boot_chain_swap(pentries, pentries + pentries_array_size, in gpt2_set_boot_chain() 364 crc = crc32(0, pentries, pentries_array_size); in gpt2_set_boot_chain() 376 r = blk_rw(fd, 1, pentries_start_offset, pentries, in gpt2_set_boot_chain() 382 if (pentries) in gpt2_set_boot_chain() 383 free(pentries); in gpt2_set_boot_chain()
|