Searched refs:page_size (Results 1 - 5 of 5) sorted by relevance

/system/core/fastboot/
H A Dbootimg.c43 unsigned page_size, unsigned base,
52 page_mask = page_size - 1;
58 *bootimg_size = page_size + kernel_actual + ramdisk_actual + second_actual;
75 hdr->page_size = page_size;
77 memcpy(hdr->magic + page_size,
79 memcpy(hdr->magic + page_size + kernel_actual,
81 memcpy(hdr->magic + page_size + kernel_actual + ramdisk_actual,
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.c64 unsigned page_size, unsigned base,
307 void *load_bootable_image(unsigned page_size, const char *kernel, const char *ramdisk, argument
348 bdata = mkbootimg(kdata, ksize, rdata, rsize, 0, 0, page_size, base_addr, &bsize);
809 unsigned page_size = 2048; local
835 page_size = (unsigned)strtoul(optarg, NULL, 0);
836 if (!page_size) die("invalid page size");
947 data = load_bootable_image(page_size, kname, rname, &sz, cmdline);
978 data = load_bootable_image(page_size, kname, rname, &sz, cmdline);
/system/core/mkbootimg/
H A Dbootimg.h42 unsigned page_size; /* flash page size we assume */ member in struct:boot_img_hdr
63 ** n = (kernel_size + page_size - 1) / page_size
64 ** m = (ramdisk_size + page_size - 1) / page_size
65 ** o = (second_size + page_size - 1) / page_size
67 ** 0. all entities are page_size aligned in flash
H A Dmkbootimg.c163 hdr.page_size = pagesize;
/system/extras/showslab/
H A Dshowslab.c274 unsigned int page_size = getpagesize() / 1024, nr_rows = DEF_NR_ROWS, i; local
343 p->nr_pages * page_size,

Completed in 50 milliseconds