Searched refs:PAGE_SHIFT (Results 1 – 25 of 29) sorted by relevance
12
/external/kernel-headers/original/asm-mips/ |
D | page.h | 4 #ifndef PAGE_SHIFT 5 #define PAGE_SHIFT 12 macro 7 #define PAGE_SIZE (1UL << PAGE_SHIFT) 8 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))
|
D | fixmap.h | 75 #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) 78 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) 79 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
|
D | mmzone.h | 13 #define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT)
|
D | pgtable.h | 86 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) 362 phys_t phys_addr_high = fixup_bigphys_addr(pfn << PAGE_SHIFT, size); in io_remap_pfn_range() 363 return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size, prot); in io_remap_pfn_range()
|
D | dma.h | 94 #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
|
/external/kernel-headers/original/asm-arm/ |
D | memory.h | 133 #define __phys_to_pfn(paddr) ((paddr) >> PAGE_SHIFT) 134 #define __pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT) 160 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) 183 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) 221 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) 234 #define arch_local_page_offset(pfn, nid) LOCAL_MAP_NR((pfn) << PAGE_SHIFT) 257 #define PHYS_TO_NID(addr) PFN_TO_NID((addr) >> PAGE_SHIFT) 264 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
|
D | pgtable.h | 221 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) 222 #define pfn_pte(pfn,prot) (__pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) 309 #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT)) 340 #define __pte_index(addr) (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
|
D | page.h | 15 #define PAGE_SHIFT 12 macro 16 #define PAGE_SIZE (1UL << PAGE_SHIFT)
|
D | pgalloc.h | 128 __pmd_populate(pmdp, page_to_pfn(ptep) << PAGE_SHIFT | _PAGE_USER_TABLE); in pmd_populate()
|
D | cacheflush.h | 19 #define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT)
|
/external/kernel-headers/original/asm-x86/ |
D | page_32.h | 5 #define PAGE_SHIFT 12 macro 6 #define PAGE_SIZE (1UL << PAGE_SHIFT) 124 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 187 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) 191 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) 193 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
D | fixmap_32.h | 118 #define __FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT) 119 #define __FIXADDR_BOOT_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) 123 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) 124 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
|
D | pgtable-2level.h | 55 #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) 56 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) 57 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
D | highmem.h | 63 #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) 64 #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
|
D | pgalloc_32.h | 20 paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); \ 29 (unsigned long long) PAGE_SHIFT))); \
|
D | pgtable_32.h | 212 #define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT)) 426 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) 430 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT))
|
D | io_32.h | 101 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
|
/external/kernel-headers/original/linux/ |
D | pagemap.h | 45 #define PAGE_CACHE_SHIFT PAGE_SHIFT 127 pgoff_t pgoff = (address - vma->vm_start) >> PAGE_SHIFT; in linear_page_index() 129 return pgoff >> (PAGE_CACHE_SHIFT - PAGE_SHIFT); in linear_page_index()
|
D | nfsacl.h | 38 >> PAGE_SHIFT)
|
D | vmalloc.h | 22 #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */
|
D | mmzone.h | 513 #define PFN_SECTION_SHIFT (SECTION_SIZE_BITS - PAGE_SHIFT) 520 #if (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS
|
D | mm.h | 531 return __va(page_to_pfn(page) << PAGE_SHIFT); in lowmem_page_address() 947 ret = do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); in do_mmap() 1013 return (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in vma_pages()
|
D | blkdev.h | 568 #define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT) 569 #define BLK_BOUNCE_ANY ((u64)blk_max_pfn << PAGE_SHIFT)
|
/external/oprofile/module/ |
D | compat24.h | 31 #define GET_VM_OFFSET(v) ((v)->vm_pgoff << PAGE_SHIFT)
|
/external/oprofile/module/x86/ |
D | op_syscalls.c | 176 out_mmap(ret, len, prot, flags, fd, pgoff << PAGE_SHIFT); in my_sys_mmap2()
|
12