Searched refs:pentries (Results 1 – 2 of 2) sorted by relevance
/device/google/marlin/recovery/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()
|
/device/linaro/hikey/l-loader/ |
D | gen_loader.py | 86 pentries = data[0] 90 for i in range(1, pentries):
|