Searched refs:image_size (Results 1 – 2 of 2) sorted by relevance
213 static std::string VerifyHashtree(int image_fd, uint64_t image_size, in VerifyHashtree() argument226 if (image_size % data_block_size != 0) { in VerifyHashtree()230 uint64_t data_block_count = image_size / data_block_size; in VerifyHashtree()272 for (uint64_t image_offset = 0; image_offset < image_size; in VerifyHashtree()282 bool is_last_data = (image_offset + data_block.size() == image_size); in VerifyHashtree()479 ALOGI("image_size = %llu", (unsigned long long)descriptor->image_size); in TEST()486 fd, descriptor->image_size, salt, descriptor->data_block_size, in TEST()563 std::to_string(descriptor->image_size / in TEST()565 std::to_string(descriptor->image_size / in TEST()
69 def get_number_of_pages(self, image_size, page_size): argument79 return (image_size + page_size - 1) / page_size