Searched refs:PAGE_SHIFT (Results 1 – 7 of 7) sorted by relevance
13 #define PAGE_SHIFT 12 macro15 #define ROUND_PAGES(memsize) ((memsize >> (PAGE_SHIFT)) << PAGE_SHIFT)18 #define HALF_MEM(memsize) ((memsize >> (PAGE_SHIFT))<<(PAGE_SHIFT - 1))46 numpages = memsize >> PAGE_SHIFT; in main()
10 #define PAGE_SHIFT 12 macro12 #define ROUND_PAGES(memsize) ((memsize >> (PAGE_SHIFT)) << PAGE_SHIFT)34 numpages = memsize >> PAGE_SHIFT; in main()
19 #define PAGE_SHIFT 12 macro22 #define PAGE_SIZE (1 << PAGE_SHIFT)47 (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) in allocate_transhuge()52 !(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - PAGE_SHIFT)) - 1))) in allocate_transhuge()82 len >> (20 + HPAGE_SHIFT - PAGE_SHIFT - 1)); in main()117 size_t idx = pfn >> (HPAGE_SHIFT - PAGE_SHIFT); in main()
26 #ifndef PAGE_SHIFT27 #define PAGE_SHIFT (12) macro31 #define PAGE_SIZE (1U << PAGE_SHIFT)
99 #define PAGE_SHIFT I386_PGSHIFT macro
519 PAGE_SHIFT = 12 variable
46149 Use sysconf(_SC_PAGESIZE) instead of hardcoded PAGE_SHIFT.46150 PAGE_SHIFT couldn't be reliably obtained at compile time,