/linux-3.4.99/arch/mips/include/asm/ |
D | pgtable-32.h | 98 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function 112 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) macro 115 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
D | pgtable-64.h | 217 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) macro 220 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
/linux-3.4.99/arch/tile/mm/ |
D | init.c | 509 *(pte_t *)pmd = pte_mkhuge(pfn_pte(pfn, prot)); in kernel_physical_mapping_init() 512 pte[pte_ofs] = pfn_pte(pfn, prot); in kernel_physical_mapping_init() 520 pte[pte_ofs] = pfn_pte(pfn, prot); in kernel_physical_mapping_init() 593 pte[pte_ofs] = pfn_pte(pfn, prot); in kernel_physical_mapping_init() 598 pte_t pteval = pfn_pte(0, PAGE_KERNEL_EXEC); in kernel_physical_mapping_init() 621 *(pte_t *)(pmd++) = pfn_pte(pfn, pteval); in kernel_physical_mapping_init() 973 set_pte_at(&init_mm, addr, ptep, pfn_pte(pfn, PAGE_KERNEL_RO)); in mark_w1data_ro() 1034 pfn_pte(pfn, PAGE_KERNEL)); in free_init_pages()
|
/linux-3.4.99/arch/tile/include/asm/ |
D | pgtable.h | 271 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function 307 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 315 return pfn_pte(hv_pte_get_pfn(pte), newprot); in pte_modify()
|
/linux-3.4.99/arch/avr32/include/asm/ |
D | pgtable-2level.h | 42 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
|
/linux-3.4.99/arch/m68k/sun3/ |
D | dvma.c | 31 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | pgtable.h | 46 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) { in pfn_pte() function 54 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
|
/linux-3.4.99/arch/x86/kernel/ |
D | crash_dump_32.c | 27 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/linux-3.4.99/arch/um/include/asm/ |
D | pgtable-2level.h | 41 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
|
/linux-3.4.99/arch/tile/lib/ |
D | memcpy_tile64.c | 174 src_pte = pfn_pte(pfn, src_pte); in fast_copy() 212 dst_pte = pfn_pte(pfn, dst_pte); in fast_copy()
|
/linux-3.4.99/arch/arm/mm/ |
D | flush.c | 30 set_top_pte(to, pfn_pte(pfn, PAGE_KERNEL)); in flush_pfn_alias() 45 set_top_pte(va, pfn_pte(pfn, PAGE_KERNEL)); in flush_icache_alias()
|
D | highmem.c | 124 set_top_pte(vaddr, pfn_pte(pfn, kmap_prot)); in kmap_atomic_pfn()
|
/linux-3.4.99/arch/powerpc/mm/ |
D | pgtable_64.c | 101 set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, in map_kernel_page() 130 set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, in map_kernel_page()
|
/linux-3.4.99/arch/x86/mm/ |
D | init_64.c | 395 pte, addr, pfn_pte(addr >> PAGE_SHIFT, PAGE_KERNEL).pte); in phys_pte_init() 397 set_pte(pte, pfn_pte(addr >> PAGE_SHIFT, prot)); in phys_pte_init() 462 pfn_pte(address >> PAGE_SHIFT, in phys_pmd_init() 536 pfn_pte(addr >> PAGE_SHIFT, PAGE_KERNEL_LARGE)); in phys_pud_init() 956 entry = pfn_pte(__pa(p) >> PAGE_SHIFT, in vmemmap_populate()
|
D | iomap_32.c | 67 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
|
/linux-3.4.99/arch/m68k/mm/ |
D | sun3mmu.c | 79 pte_t pte = pfn_pte(virt_to_pfn(address), PAGE_INIT); in paging_init()
|
D | sun3kmap.c | 36 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin()
|
/linux-3.4.99/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 104 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 132 #define pfn_pte(pfn, pgprot) \ macro
|
/linux-3.4.99/arch/frv/include/asm/ |
D | pgtable.h | 273 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro 421 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 425 #define mk_pte_phys(physpage, pgprot) pfn_pte((physpage) >> PAGE_SHIFT, pgprot)
|
/linux-3.4.99/arch/unicore32/kernel/ |
D | hibernate.c | 110 set_pte(pte, pfn_pte(pfn, PAGE_KERNEL_EXEC)); in resume_physical_mapping_init()
|
/linux-3.4.99/arch/m32r/include/asm/ |
D | pgtable-2level.h | 70 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
|
/linux-3.4.99/arch/unicore32/include/asm/ |
D | pgtable.h | 153 #define pfn_pte(pfn, prot) (__pte(((pfn) << PAGE_SHIFT) \ macro 230 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot)
|
/linux-3.4.99/arch/x86/xen/ |
D | mmu.c | 854 pfn_pte(pfn, PAGE_KERNEL_RO), in xen_pin_page() 986 pfn_pte(pfn, PAGE_KERNEL), in xen_unpin_page() 1509 pfn_pte(pfn, prot), 0); in __set_pfn_prot() 1645 pte_t pte = pfn_pte(pfn, prot); in set_page_prot() 1691 pte = pfn_pte(pfn, PAGE_KERNEL_EXEC); in xen_map_identity_early() 1912 pte = pfn_pte(phys, prot); in xen_set_fixmap() 1917 pte = pfn_pte(PFN_DOWN(__pa(dummy_mapping)), PAGE_KERNEL); in xen_set_fixmap() 1927 pte = pfn_pte(PFN_DOWN(__pa(fake_ioapic_mapping)), PAGE_KERNEL); in xen_set_fixmap() 2338 pte_t pte = pte_mkspecial(pfn_pte(rmd->mfn++, rmd->prot)); in remap_area_mfn_pte_fn()
|
/linux-3.4.99/drivers/lguest/ |
D | page_tables.c | 263 return pfn_pte(pfn, __pgprot(flags)); in gpte_to_spte() 1068 regs_pte = pfn_pte(__pa(cpu->regs_page) >> PAGE_SHIFT, PAGE_KERNEL); in map_switcher_in_guest() 1104 set_pte(&pte[i], pfn_pte(page_to_pfn(switcher_page[i]), in populate_switcher_pte_page() 1111 set_pte(&pte[i+1], pfn_pte(page_to_pfn(switcher_page[i+1]), in populate_switcher_pte_page()
|
/linux-3.4.99/arch/mips/mm/ |
D | highmem.c | 111 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
|