/kernel/linux/linux-5.10/arch/sh/mm/ |
D | tlb-sh4.c | 18 unsigned long flags, pteval, vpn; in __update_tlb() local 32 pteval = pte.pte_low; in __update_tlb() 48 __raw_writel(copy_ptea_attributes(pteval), MMU_PTEA); in __update_tlb() 53 pteval &= _PAGE_FLAGS_HARDWARE_MASK; /* drop software flags */ in __update_tlb() 55 pteval |= _PAGE_WT; in __update_tlb() 58 __raw_writel(pteval, MMU_PTEL); in __update_tlb()
|
D | tlb-pteaex.c | 20 unsigned long flags, pteval, vpn; in __update_tlb() local 37 pteval = pte.pte_low; in __update_tlb() 51 pteval &= _PAGE_FLAGS_HARDWARE_MASK; /* drop software flags */ in __update_tlb() 53 pteval |= _PAGE_WT; in __update_tlb() 56 __raw_writel(pteval, MMU_PTEL); in __update_tlb()
|
D | tlb-sh3.c | 29 unsigned long flags, pteval, vpn; in __update_tlb() local 43 pteval = pte_val(pte); in __update_tlb() 46 pteval &= _PAGE_FLAGS_HARDWARE_MASK; /* drop software flags */ in __update_tlb() 48 __raw_writel(pteval, MMU_PTEL); in __update_tlb()
|
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/ |
D | ipu3-mmu.c | 121 static u32 *imgu_mmu_alloc_page_table(u32 pteval) in imgu_mmu_alloc_page_table() argument 131 pt[pte] = pteval; in imgu_mmu_alloc_page_table() 172 u32 pteval; in imgu_mmu_get_l2pt() local 203 pteval = IPU3_ADDR2PTE(virt_to_phys(new_l2pt)); in imgu_mmu_get_l2pt() 204 mmu->l1pt[l1pt_idx] = pteval; in imgu_mmu_get_l2pt() 430 u32 pteval; in imgu_mmu_init() local 450 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->dummy_page)); in imgu_mmu_init() 451 mmu->dummy_page_pteval = pteval; in imgu_mmu_init() 457 mmu->dummy_l2pt = imgu_mmu_alloc_page_table(pteval); in imgu_mmu_init() 460 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->dummy_l2pt)); in imgu_mmu_init() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | xen.h | 135 TP_PROTO(pte_t *ptep, pte_t pteval), 136 TP_ARGS(ptep, pteval), 139 __field(pteval_t, pteval) 142 __entry->pteval = pteval.pte), 145 (int)sizeof(pteval_t) * 2, (unsigned long long)pte_val(native_make_pte(__entry->pteval)), 146 (int)sizeof(pteval_t) * 2, (unsigned long long)__entry->pteval) 151 TP_PROTO(pte_t *ptep, pte_t pteval), \ 152 TP_ARGS(ptep, pteval)) 260 pte_t *ptep, pte_t pteval), 261 TP_ARGS(mm, addr, ptep, pteval), [all …]
|
/kernel/linux/linux-5.10/arch/c6x/include/asm/ |
D | pgtable.h | 49 #define set_pte(pteptr, pteval) (*(pteptr) = pteval) argument 50 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) argument
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | pgtable_mm.h | 30 #define set_pte(pteptr, pteval) \ argument 32 *(pteptr) = (pteval); \ 34 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval) argument
|
/kernel/linux/linux-5.10/mm/ |
D | rmap.c | 1395 pte_t pteval; in try_to_unmap_one() local 1532 pteval = ptep_get_and_clear(mm, pvmw.address, pvmw.pte); in try_to_unmap_one() 1546 if (pte_swp_soft_dirty(pteval)) in try_to_unmap_one() 1548 if (pte_swp_uffd_wp(pteval)) in try_to_unmap_one() 1577 pteval = ptep_get_and_clear(mm, address, pvmw.pte); in try_to_unmap_one() 1579 set_tlb_ubc_flush_pending(mm, pte_dirty(pteval)); in try_to_unmap_one() 1581 pteval = ptep_clear_flush(vma, address, pvmw.pte); in try_to_unmap_one() 1585 if (pte_dirty(pteval)) in try_to_unmap_one() 1592 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one() 1596 pvmw.pte, pteval, in try_to_unmap_one() [all …]
|
D | khugepaged.c | 573 pte_t pteval = *_pte; in release_pte_pages() local 575 page = pte_page(pteval); in release_pte_pages() 576 if (!pte_none(pteval) && !is_zero_pfn(pte_pfn(pteval)) && in release_pte_pages() 610 pte_t pteval = *_pte; in __collapse_huge_page_isolate() local 611 if (pte_none(pteval) || (pte_present(pteval) && in __collapse_huge_page_isolate() 612 is_zero_pfn(pte_pfn(pteval)))) { in __collapse_huge_page_isolate() 621 if (!pte_present(pteval)) { in __collapse_huge_page_isolate() 625 page = vm_normal_page(vma, address, pteval); in __collapse_huge_page_isolate() 680 if (!pte_write(pteval) && PageSwapCache(page) && in __collapse_huge_page_isolate() 710 if (pte_young(pteval) || in __collapse_huge_page_isolate() [all …]
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | pgtable_32.c | 27 void set_pte_vaddr(unsigned long vaddr, pte_t pteval) in set_pte_vaddr() argument 56 if (!pte_none(pteval)) in set_pte_vaddr() 57 set_pte_at(&init_mm, vaddr, pte, pteval); in set_pte_vaddr()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | pgtable.h | 327 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() argument 329 *ptep = pteval; in set_pte() 335 unsigned long addr, pte_t *ptep, pte_t pteval) in set_pte_at() argument 337 if (pte_present(pteval) && pte_exec(pteval)) in set_pte_at() 338 flush_icache_pte(pteval); in set_pte_at() 340 set_pte(ptep, pteval); in set_pte_at()
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | pgtable.h | 197 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() argument 199 *ptep = pteval; in set_pte() 203 pte_t *ptep, pte_t pteval) in set_pte_at() argument 205 unsigned long paddr = (unsigned long)page_to_virt(pte_page(pteval)); in set_pte_at() 208 set_pte(ptep, pteval); in set_pte_at()
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | pgtable.h | 306 static inline void update_pte(pte_t *ptep, pte_t pteval) in update_pte() argument 308 *ptep = pteval; in update_pte() 318 set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pteval) in set_pte_at() argument 320 update_pte(ptep, pteval); in set_pte_at() 323 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() argument 325 update_pte(ptep, pteval); in set_pte()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | pgtable.h | 327 extern void __ia64_sync_icache_dcache(pte_t pteval); 328 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() argument 334 if (pte_present_exec_user(pteval) && in set_pte() 336 pte_pfn(*ptep) != pte_pfn(pteval))) in set_pte() 338 __ia64_sync_icache_dcache(pteval); in set_pte() 339 *ptep = pteval; in set_pte() 342 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval) argument
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | pgtable.h | 132 pte_t *ptep, pte_t pteval); 197 static inline void set_pte(pte_t *ptep, pte_t pteval) argument 199 *ptep = pteval; 201 if (pte_val(pteval) & _PAGE_GLOBAL) { 231 pte_t *ptep, pte_t pteval) argument 235 if (!pte_present(pteval)) 238 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval))) 241 __update_cache(addr, pteval); 243 set_pte(ptep, pteval);
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | fault.c | 196 pteval_t old_pteval, pteval; in ptep_set_access_flags() local 212 pteval = pte_val(pte); in ptep_set_access_flags() 214 old_pteval = pteval; in ptep_set_access_flags() 215 pteval ^= PTE_RDONLY; in ptep_set_access_flags() 216 pteval |= pte_val(entry); in ptep_set_access_flags() 217 pteval ^= PTE_RDONLY; in ptep_set_access_flags() 218 pteval = cmpxchg_relaxed(&pte_val(*ptep), old_pteval, pteval); in ptep_set_access_flags() 219 } while (pteval != old_pteval); in ptep_set_access_flags()
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | pgtable.h | 176 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() argument 179 if (pte_present_exec_user(pteval)) in set_pte() 180 sync_icache_dcache(pteval); in set_pte() 182 *ptep = pteval; in set_pte()
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | pgtable.h | 247 #define set_pte(pteptr, pteval) ((*(pteptr)) = (pteval)) argument 310 pte_t *ptep, pte_t pteval) in set_pte_at() argument 312 set_pte(ptep, pteval); in set_pte_at()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | hash_tlb.c | 243 unsigned long pteval = pte_val(*pte); in flush_tlb_pmd_range() local 244 if (pteval & H_PAGE_HASHPTE) in flush_tlb_pmd_range() 245 hpte_need_flush(mm, addr, pte, pteval, 0); in flush_tlb_pmd_range()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | flush.c | 269 void __sync_icache_dcache(pte_t pteval) in __sync_icache_dcache() argument 275 if (cache_is_vipt_nonaliasing() && !pte_exec(pteval)) in __sync_icache_dcache() 278 pfn = pte_pfn(pteval); in __sync_icache_dcache() 291 if (pte_exec(pteval)) in __sync_icache_dcache()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 374 unsigned long addr, pteval, psize; in walk_pte() local 379 pteval = pte_val(*pte); in walk_pte() 388 ((pteval & H_PAGE_COMBO) == H_PAGE_COMBO || in walk_pte() 389 (pteval & H_PAGE_4K_PFN) == H_PAGE_4K_PFN)) in walk_pte() 395 if (((pteval & H_PAGE_HASHPTE) != H_PAGE_HASHPTE) in walk_pte() 400 addr, pteval); in walk_pte()
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | pgtable.h | 245 static inline void set_pte(pte_t *pteptr, pte_t pteval) in set_pte() argument 247 pte_copy(*pteptr, pteval); in set_pte() 259 pte_t *pteptr, pte_t pteval) in set_pte_at() argument 261 set_pte(pteptr, pteval); in set_pte_at()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | pgtable_32.h | 119 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() argument 121 srmmu_swap((unsigned long *)ptep, pte_val(pteval)); in set_pte() 124 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval) argument
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | pgtable.h | 48 #define set_pte(pteptr, pteval) ((*(pteptr)) = (pteval)) argument 49 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) argument
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | pgtable.h | 28 #define set_pte(pteptr, pteval) ((*(pteptr)) = (pteval)) argument 29 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval) argument
|