Home | History | Annotate | Download | only in oem-recovery

Lines Matching refs:pentries

297     uint8_t  *pentries = NULL;
335 pentries = (uint8_t *) calloc(1, pentries_array_size);
336 if (pentries == NULL) {
343 r = blk_rw(fd, 0, pentries_start_offset, pentries, pentries_array_size);
347 crc = sparse_crc32(0, pentries, pentries_array_size);
364 r = gpt_boot_chain_swap(pentries, pentries + pentries_array_size,
370 crc = sparse_crc32(0, pentries, pentries_array_size);
382 r = blk_rw(fd, 1, pentries_start_offset, pentries,
388 if (pentries)
389 free(pentries);