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

/system/core/fastboot/
H A Dbootimg.c41 void *ramdisk, unsigned ramdisk_size,
55 ramdisk_actual = (ramdisk_size + page_mask) & (~page_mask);
69 hdr->ramdisk_size = ramdisk_size;
80 ramdisk, ramdisk_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.c62 void *ramdisk, unsigned ramdisk_size,
/system/core/mkbootimg/
H A Dbootimg.h35 unsigned ramdisk_size; /* size in bytes */ member in struct:boot_img_hdr
64 ** m = (ramdisk_size + page_size - 1) / page_size
H A Dmkbootimg.c208 hdr.ramdisk_size = 0;
210 ramdisk_data = load_file(ramdisk_fn, &hdr.ramdisk_size);
231 SHA_update(&ctx, ramdisk_data, hdr.ramdisk_size);
232 SHA_update(&ctx, &hdr.ramdisk_size, sizeof(hdr.ramdisk_size));
251 if(write(fd, ramdisk_data, hdr.ramdisk_size) != hdr.ramdisk_size) goto fail;
252 if(write_padding(fd, pagesize, hdr.ramdisk_size)) goto fail;
256 if(write_padding(fd, pagesize, hdr.ramdisk_size)) goto fail;

Completed in 36 milliseconds