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

/system/core/fastboot/
H A Dbootimg.c42 void *second, unsigned second_size,
56 second_actual = (second_size + page_mask) & (~page_mask);
70 hdr->second_size = second_size;
82 second, second_size);
40 mkbootimg(void *kernel, unsigned kernel_size, void *ramdisk, unsigned ramdisk_size, void *second, unsigned second_size, unsigned page_size, unsigned base, unsigned *bootimg_size) argument
H A Dfastboot.c49 void *second, unsigned second_size,
/system/core/mkbootimg/
H A Dbootimg.h38 unsigned second_size; /* size in bytes */ member in struct:boot_img_hdr
65 ** o = (second_size + page_size - 1) / page_size
69 ** 2. second is optional (second_size == 0 -> no second)
75 ** 6. if second_size != 0: jump to second_addr
H A Dmkbootimg.c211 second_data = load_file(second_fn, &hdr.second_size);
226 SHA_update(&ctx, second_data, hdr.second_size);
227 SHA_update(&ctx, &hdr.second_size, sizeof(hdr.second_size));
248 if(write(fd, second_data, hdr.second_size) != hdr.second_size) goto fail;

Completed in 46 milliseconds