Home
last modified time | relevance | path

Searched refs:kernel_size (Results 1 – 5 of 5) sorted by relevance

/system/core/fastboot/
Dbootimg_utils.cpp40 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()
Dbootimg_utils.h39 boot_img_hdr *mkbootimg(void *kernel, unsigned kernel_size, unsigned kernel_offset,
/system/core/mkbootimg/
Dmkbootimg.c221 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()
Dbootimg.h35 uint32_t kernel_size; /* size in bytes */ member
/system/extras/verity/
Dverify_boot_signature.c124 + page_align(hdr.kernel_size, hdr.page_size) in get_signature_offset()