Home
last modified time | relevance | path

Searched refs:pfn_pte (Results 1 – 25 of 77) sorted by relevance

1234

/linux-3.4.99/arch/mips/include/asm/
Dpgtable-32.h98 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
Dpgtable-64.h217 #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/
Dinit.c509 *(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/
Dpgtable.h271 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/
Dpgtable-2level.h42 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
/linux-3.4.99/arch/m68k/sun3/
Ddvma.c31 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
/linux-3.4.99/arch/powerpc/include/asm/
Dpgtable.h46 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/
Dcrash_dump_32.c27 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/linux-3.4.99/arch/um/include/asm/
Dpgtable-2level.h41 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
/linux-3.4.99/arch/tile/lib/
Dmemcpy_tile64.c174 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/
Dflush.c30 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()
Dhighmem.c124 set_top_pte(vaddr, pfn_pte(pfn, kmap_prot)); in kmap_atomic_pfn()
/linux-3.4.99/arch/powerpc/mm/
Dpgtable_64.c101 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/
Dinit_64.c395 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()
Diomap_32.c67 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
/linux-3.4.99/arch/m68k/mm/
Dsun3mmu.c79 pte_t pte = pfn_pte(virt_to_pfn(address), PAGE_INIT); in paging_init()
Dsun3kmap.c36 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin()
/linux-3.4.99/arch/m68k/include/asm/
Dsun3_pgtable.h104 #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/
Dpgtable.h273 #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/
Dhibernate.c110 set_pte(pte, pfn_pte(pfn, PAGE_KERNEL_EXEC)); in resume_physical_mapping_init()
/linux-3.4.99/arch/m32r/include/asm/
Dpgtable-2level.h70 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
/linux-3.4.99/arch/unicore32/include/asm/
Dpgtable.h153 #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/
Dmmu.c854 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/
Dpage_tables.c263 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/
Dhighmem.c111 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()

1234