Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/include/asm/
Dmemory.h27 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
75 #define virt_to_page(kaddr) (pfn_to_page(__pa(kaddr) >> PAGE_SHIFT))
90 + (page_zone(page)->zone_start_paddr >> PAGE_SHIFT))
93 (PFN_TO_MAPBASE(pfn) + LOCAL_MAP_NR((pfn) << PAGE_SHIFT))
100 ((pfn - (nd->node_start_paddr >> PAGE_SHIFT)) < nd->node_size));\
112 #define PHYS_TO_NID(addr) PFN_TO_NID((addr) >> PAGE_SHIFT)
/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/u-boot/arch/mips/include/asm/
Dpgtable-bits.h64 #define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3)
100 #define _PFN_SHIFT PAGE_SHIFT
167 #define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3)
/external/u-boot/arch/arm/include/asm/armv8/
Dmmu.h16 #define PAGE_SHIFT 12 macro
17 #define PAGE_SIZE (1 << PAGE_SHIFT)
/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,