Home
last modified time | relevance | path

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

/system/core/fastboot/
Dbootimg_utils.cpp54 const size_t page_mask = V3_PAGE_SIZE - 1; in mkbootimg_v3_and_above() local
55 int64_t kernel_actual = (kernel.size() + page_mask) & (~page_mask); in mkbootimg_v3_and_above()
56 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg_v3_and_above()
90 const size_t page_mask = src.page_size - 1; in mkbootimg() local
92 int64_t header_actual = (sizeof(boot_img_hdr_v1) + page_mask) & (~page_mask); in mkbootimg()
93 int64_t kernel_actual = (kernel.size() + page_mask) & (~page_mask); in mkbootimg()
94 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg()
95 int64_t second_actual = (second.size() + page_mask) & (~page_mask); in mkbootimg()
96 int64_t dtb_actual = (dtb.size() + page_mask) & (~page_mask); in mkbootimg()