Searched refs:kernel_size (Results 1 – 5 of 5) sorted by relevance
/system/core/fastboot/ |
D | bootimg_utils.cpp | 40 boot_img_hdr *mkbootimg(void *kernel, unsigned kernel_size, unsigned kernel_offset, in mkbootimg() argument 53 kernel_actual = (kernel_size + page_mask) & (~page_mask); in mkbootimg() 66 hdr->kernel_size = kernel_size; in mkbootimg() 79 kernel, kernel_size); in mkbootimg()
|
D | bootimg_utils.h | 39 boot_img_hdr *mkbootimg(void *kernel, unsigned kernel_size, unsigned kernel_offset,
|
/system/core/mkbootimg/ |
D | mkbootimg.c | 221 kernel_data = load_file(kernel_fn, &hdr.kernel_size); in main() 250 SHA_update(&ctx, kernel_data, hdr.kernel_size); in main() 251 SHA_update(&ctx, &hdr.kernel_size, sizeof(hdr.kernel_size)); in main() 269 if(write(fd, kernel_data, hdr.kernel_size) != (ssize_t) hdr.kernel_size) goto fail; in main() 270 if(write_padding(fd, pagesize, hdr.kernel_size)) goto fail; in main()
|
D | bootimg.h | 35 uint32_t kernel_size; /* size in bytes */ member
|
/system/extras/verity/ |
D | verify_boot_signature.c | 124 + page_align(hdr.kernel_size, hdr.page_size) in get_signature_offset()
|