Searched refs:roundup (Results 1 – 6 of 6) sorted by relevance
19 #define roundup(x, y) (((x) + ((y) - 1UL)) & (~((y) - 1UL))) macro
65 kernel_end = roundup(kernel_start, kernel_align) + kernel_init_size; in get_initrd_load_addr()166 load_addr = (void *)roundup((uint64_t)kernel_load_gpa, kernel_align); in get_bzimage_kernel_load_addr()
61 … return roundup((PPT_PML4_PAGE_NUM + PPT_PDPT_PAGE_NUM + ppt_pd_page_num + PPT_PT_PAGE_NUM), 64U); in get_ppt_page_num()
64 return roundup((EPT_PML4_PAGE_NUM + EPT_PDPT_PAGE_NUM + ept_pd_page_num + ept_pt_page_num), 64U); in get_ept_page_num()
110 addr = e820_alloc_memory(roundup(IVSHMEM_SHM_SIZE, PDE_SIZE), MEM_SIZE_MAX); in init_ivshmem_shared_memory()
957 reallen = roundup(caplen, 4U); /* dword aligned */ in vpci_add_capability()
Completed in 10 milliseconds