Home | History | Annotate | Download | only in verity

Lines Matching refs:hdr

92     struct boot_img_hdr hdr;
98 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) {
102 if (memcmp(BOOT_MAGIC, hdr.magic, BOOT_MAGIC_SIZE) != 0) {
107 if (!hdr.page_size) {
112 *offset = page_align(hdr.page_size
113 + page_align(hdr.kernel_size, hdr.page_size)
114 + page_align(hdr.ramdisk_size, hdr.page_size)
115 + page_align(hdr.second_size, hdr.page_size),
116 hdr.page_size);