Home
last modified time | relevance | path

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

/external/autotest/client/tests/memory_api/
Dmemory_api.c13 #define PAGE_SHIFT 12 macro
15 #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()
Dmremaps.c10 #define PAGE_SHIFT 12 macro
12 #define ROUND_PAGES(memsize) ((memsize >> (PAGE_SHIFT)) << PAGE_SHIFT)
34 numpages = memsize >> PAGE_SHIFT; in main()
/external/linux-kselftest/tools/testing/selftests/vm/
Dtranshuge-stress.c19 #define PAGE_SHIFT 12 macro
22 #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()
/external/erofs-utils/include/erofs/
Dinternal.h26 #ifndef PAGE_SHIFT
27 #define PAGE_SHIFT (12) macro
31 #define PAGE_SIZE (1U << PAGE_SHIFT)
/external/google-breakpad/src/third_party/mac_headers/mach/i386/
Dvm_param.h99 #define PAGE_SHIFT I386_PGSHIFT macro
/external/python/cpython2/Lib/plat-atheos/
DIN.py519 PAGE_SHIFT = 12 variable
/external/strace/
DChangeLog46149 Use sysconf(_SC_PAGESIZE) instead of hardcoded PAGE_SHIFT.
46150 PAGE_SHIFT couldn't be reliably obtained at compile time,