Searched refs:kernel_size (Results 1 - 4 of 4) sorted by relevance

/system/core/fastboot/
H A Dbootimg.c40 boot_img_hdr *mkbootimg(void *kernel, unsigned kernel_size, argument
54 kernel_actual = (kernel_size + page_mask) & (~page_mask);
68 hdr->kernel_size = kernel_size;
78 kernel, kernel_size);
H A Dfastboot.c61 boot_img_hdr *mkbootimg(void *kernel, unsigned kernel_size,
/system/core/mkbootimg/
H A Dbootimg.h32 unsigned kernel_size; /* size in bytes */ member in struct:boot_img_hdr
63 ** n = (kernel_size + page_size - 1) / page_size
H A Dmkbootimg.c200 kernel_data = load_file(kernel_fn, &hdr.kernel_size);
229 SHA_update(&ctx, kernel_data, hdr.kernel_size);
230 SHA_update(&ctx, &hdr.kernel_size, sizeof(hdr.kernel_size));
248 if(write(fd, kernel_data, hdr.kernel_size) != hdr.kernel_size) goto fail;
249 if(write_padding(fd, pagesize, hdr.kernel_size)) goto fail;

Completed in 72 milliseconds