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() local
55 int64_t kernel_actual = (kernel.size() + page_mask) & (~page_mask); in mkbootimg_v3()
56 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg_v3()
85 const size_t page_mask = src.page_size - 1; in mkbootimg() local
87 int64_t header_actual = (sizeof(boot_img_hdr_v1) + page_mask) & (~page_mask); in mkbootimg()
88 int64_t kernel_actual = (kernel.size() + page_mask) & (~page_mask); in mkbootimg()
89 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg()
90 int64_t second_actual = (second.size() + page_mask) & (~page_mask); in mkbootimg()
91 int64_t dtb_actual = (dtb.size() + page_mask) & (~page_mask); in mkbootimg()