/linux-6.6.21/arch/powerpc/include/asm/nohash/32/ |
D | pgalloc.h | 27 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/ |
D | pgtable_64.c | 106 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/ |
D | pgalloc.h | 70 #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/ |
D | pgalloc.h | 35 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/ |
D | pgalloc.h | 46 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/ |
D | pgalloc.h | 49 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()
|
D | pgtable-levels.h | 176 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) macro
|
/linux-6.6.21/arch/riscv/mm/ |
D | pageattr.c | 112 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()
|
D | cacheflush.c | 85 struct folio *folio = page_folio(pte_page(pte)); in flush_icache_pte()
|
/linux-6.6.21/include/asm-generic/ |
D | pgalloc.h | 104 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/ |
D | hugetlb_vmemmap.c | 102 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()
|
D | highmem.c | 164 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()
|
D | sparse-vmemmap.c | 418 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/ |
D | pgalloc.h | 165 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/ |
D | uaccess.c | 75 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/ |
D | pgtable.h | 171 #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/ |
D | io_pgtable.c | 198 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/ |
D | flush.c | 54 struct folio *folio = page_folio(pte_page(pte)); in __sync_icache_dcache()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | pgtable.h | 55 #define pte_page(x) pfn_to_page(pte_pfn(x)) macro
|
/linux-6.6.21/arch/hexagon/mm/ |
D | init.c | 76 page = pte_page(pte); in sync_icache_dcache()
|
/linux-6.6.21/arch/powerpc/mm/kasan/ |
D | init_32.c | 92 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/ |
D | sun3_pgtable.h | 113 #define pte_page(pte) virt_to_page(__pte_page(pte)) macro
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pgtable-32.h | 192 #define pte_page(x) pfn_to_page(pte_pfn(x)) macro
|
/linux-6.6.21/arch/hexagon/include/asm/ |
D | pgtable.h | 245 #define pte_page(x) pfn_to_page(pte_pfn(x)) macro
|
/linux-6.6.21/arch/x86/mm/ |
D | init_64.c | 454 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()
|