Searched refs:HUGEPAGE_SIZE (Results 1 – 7 of 7) sorted by relevance
78 . = ALIGN(HUGEPAGE_SIZE);144 . = ALIGN(HUGEPAGE_SIZE);163 . = ALIGN(HUGEPAGE_SIZE);
277 DEFINE(HUGEPAGE_SIZE, 1UL << REAL_HPAGE_SHIFT); in main()279 DEFINE(HUGEPAGE_SIZE, 4*1024*1024); in main()281 DEFINE(HUGEPAGE_SIZE, PAGE_SIZE); in main()
57 #define HUGEPAGE_SIZE (2 * 1024 * 1024) macro
1535 umem_sz = ceil_u64(umem_sz, HUGEPAGE_SIZE) * HUGEPAGE_SIZE; in testapp_clean_xsk_umem()2052 mmap_sz = ceil_u64(mmap_sz, HUGEPAGE_SIZE) * HUGEPAGE_SIZE; in hugepages_present()
12 static unsigned long HUGEPAGE_SIZE; variable41 HUGEPAGE_SIZE = get_huge_page_size(); in setup_sizes()44 rc = posix_memalign(&buffer, HUGEPAGE_SIZE, BUFFER_SIZE); in setup_sizes()47 assert((uintptr_t)buffer % HUGEPAGE_SIZE == 0); in setup_sizes()638 size_t buf_size = 2 * HUGEPAGE_SIZE; in TEST_F()1106 self->mmap_buf_size = HUGEPAGE_SIZE * 2; in FIXTURE_SETUP()1762 size_t buf_size = HUGEPAGE_SIZE * 2; in TEST_F()
337 #define HUGEPAGE_SIZE(x) (1UL << HUGEPAGE_SHIFT(x)) macro338 #define HUGEPAGE_MASK(x) (~(HUGEPAGE_SIZE(x) - 1) & PHYSICAL_PAGE_MASK)
735 size = HUGEPAGE_SIZE; in alloc_btlb()