Home
last modified time | relevance | path

Searched refs:pte_page (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.6.21/arch/powerpc/include/asm/nohash/32/
Dpgalloc.h27 pgtable_t pte_page) in pmd_populate() argument
30 *pmdp = __pmd((unsigned long)pte_page | _PMD_PRESENT); in pmd_populate()
32 *pmdp = __pmd(__pa(pte_page) | _PMD_USER | _PMD_PRESENT); in pmd_populate()
/linux-6.6.21/arch/powerpc/mm/
Dpgtable_64.c106 return pte_page(p4d_pte(p4d)); in p4d_page()
117 return pte_page(pud_pte(pud)); in pud_page()
136 return pte_page(pmd_pte(pmd)); in pmd_page()
/linux-6.6.21/arch/parisc/include/asm/
Dpgalloc.h70 #define pmd_populate(mm, pmd, pte_page) \ argument
71 pmd_populate_kernel(mm, pmd, page_address(pte_page))
/linux-6.6.21/arch/powerpc/include/asm/book3s/32/
Dpgalloc.h35 pgtable_t pte_page) in pmd_populate() argument
37 *pmdp = __pmd(__pa(pte_page) | _PMD_PRESENT); in pmd_populate()
/linux-6.6.21/arch/powerpc/include/asm/nohash/64/
Dpgalloc.h46 pgtable_t pte_page) in pmd_populate() argument
48 pmd_set(pmd, (unsigned long)pte_page); in pmd_populate()
/linux-6.6.21/arch/arc/include/asm/
Dpgalloc.h49 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte_page) in pmd_populate() argument
51 set_pmd(pmd, __pmd((unsigned long)page_address(pte_page))); in pmd_populate()
Dpgtable-levels.h176 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) macro
/linux-6.6.21/arch/riscv/mm/
Dpageattr.c112 struct page *pte_page; in __split_linear_mapping_pmd() local
118 pte_page = alloc_page(GFP_KERNEL); in __split_linear_mapping_pmd()
119 if (!pte_page) in __split_linear_mapping_pmd()
122 ptep_new = (pte_t *)page_address(pte_page); in __split_linear_mapping_pmd()
128 set_pmd(pmdp, pfn_pmd(page_to_pfn(pte_page), PAGE_TABLE)); in __split_linear_mapping_pmd()
Dcacheflush.c85 struct folio *folio = page_folio(pte_page(pte)); in flush_icache_pte()
/linux-6.6.21/include/asm-generic/
Dpgalloc.h104 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free() argument
106 struct ptdesc *ptdesc = page_ptdesc(pte_page); in pte_free()
/linux-6.6.21/mm/
Dhugetlb_vmemmap.c102 walk->reuse_page = pte_page(ptep_get(pte)); in vmemmap_pte_range()
236 struct page *page = pte_page(ptep_get(pte)); in vmemmap_remap_pte()
283 BUG_ON(pte_page(ptep_get(pte)) != walk->reuse_page); in vmemmap_restore_pte()
513 vmemmap_page = pte_page(*pte_offset_kernel(pmdp, vaddr)); in vmemmap_should_optimize()
Dhighmem.c164 return pte_page(ptep_get(&pkmap_page_table[PKMAP_NR(addr)])); in __kmap_to_page()
177 return pte_page(kctrl->pteval[i]); in __kmap_to_page()
217 page = pte_page(ptent); in flush_all_zero_pkmaps()
516 kunmap_high(pte_page(ptep_get(&pkmap_page_table[PKMAP_NR(vaddr)]))); in kmap_high_unmap_local()
Dsparse-vmemmap.c418 pte_page(ptep_get(pte))); in vmemmap_populate_compound_pages()
442 pte_page(ptep_get(pte))); in vmemmap_populate_compound_pages()
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h165 pgtable_t pte_page) in pmd_populate() argument
167 *pmd = __pmd(__pgtable_ptr_val(pte_page) | PMD_VAL_BITS); in pmd_populate()
/linux-6.6.21/arch/um/kernel/skas/
Duaccess.c75 page = pte_page(*pte); in do_op_one_page()
264 page = pte_page(*pte); in arch_futex_atomic_op_inuser()
343 page = pte_page(*pte); in futex_atomic_cmpxchg_inatomic()
/linux-6.6.21/arch/nios2/include/asm/
Dpgtable.h171 #define pte_page(pte) (pfn_to_page(pte_pfn(pte))) macro
184 unsigned long paddr = (unsigned long)page_to_virt(pte_page(pte)); in set_ptes()
/linux-6.6.21/drivers/iommu/amd/
Dio_pgtable.c198 u64 **pte_page, in alloc_pte() argument
277 if (pte_page && level == end_lvl) in alloc_pte()
278 *pte_page = pte; in alloc_pte()
/linux-6.6.21/arch/arm64/mm/
Dflush.c54 struct folio *folio = page_folio(pte_page(pte)); in __sync_icache_dcache()
/linux-6.6.21/arch/powerpc/include/asm/
Dpgtable.h55 #define pte_page(x) pfn_to_page(pte_pfn(x)) macro
/linux-6.6.21/arch/hexagon/mm/
Dinit.c76 page = pte_page(pte); in sync_icache_dcache()
/linux-6.6.21/arch/powerpc/mm/kasan/
Dinit_32.c92 if (pte_page(*ptep) != virt_to_page(lm_alias(kasan_early_shadow_page))) in kasan_update_early_region()
/linux-6.6.21/arch/m68k/include/asm/
Dsun3_pgtable.h113 #define pte_page(pte) virt_to_page(__pte_page(pte)) macro
/linux-6.6.21/arch/mips/include/asm/
Dpgtable-32.h192 #define pte_page(x) pfn_to_page(pte_pfn(x)) macro
/linux-6.6.21/arch/hexagon/include/asm/
Dpgtable.h245 #define pte_page(x) pfn_to_page(pte_pfn(x)) macro
/linux-6.6.21/arch/x86/mm/
Dinit_64.c454 phys_pte_init(pte_t *pte_page, unsigned long paddr, unsigned long paddr_end, in phys_pte_init() argument
462 pte = pte_page + pte_index(paddr); in phys_pte_init()
1086 free_pagetable(pte_page(*pte), 0); in remove_pte_table()
1607 get_page_bootmem(section_nr, pte_page(*pte), in register_page_bootmem_memmap()

123