Home
last modified time | relevance | path

Searched refs:newpte (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/mm/
Dmprotect.c196 pte_t newpte; in change_pte_range() local
210 newpte = swp_entry_to_pte(entry); in change_pte_range()
212 newpte = pte_swp_mksoft_dirty(newpte); in change_pte_range()
220 newpte = swp_entry_to_pte(entry); in change_pte_range()
222 newpte = pte_swp_mkuffd_wp(newpte); in change_pte_range()
226 newpte = swp_entry_to_pte(entry); in change_pte_range()
228 newpte = pte_swp_mksoft_dirty(newpte); in change_pte_range()
230 newpte = pte_swp_mkuffd_wp(newpte); in change_pte_range()
249 newpte = oldpte; in change_pte_range()
253 newpte = pte_swp_mkuffd_wp(newpte); in change_pte_range()
[all …]
Dhugetlb.c5024 pte_t newpte = make_huge_pte(vma, &new_folio->page, 1); in hugetlb_install_folio() local
5029 newpte = huge_pte_mkuffd_wp(newpte); in hugetlb_install_folio()
5030 set_huge_pte_at(vma->vm_mm, addr, ptep, newpte, sz); in hugetlb_install_folio()
5723 pte_t newpte = make_huge_pte(vma, &new_folio->page, !unshare); in hugetlb_wp() local
5730 newpte = huge_pte_mkuffd_wp(newpte); in hugetlb_wp()
5731 set_huge_pte_at(mm, haddr, ptep, newpte, huge_page_size(h)); in hugetlb_wp()
6636 pte_t newpte = pte; in hugetlb_change_protection() local
6645 newpte = swp_entry_to_pte(entry); in hugetlb_change_protection()
6650 newpte = pte_swp_mkuffd_wp(newpte); in hugetlb_change_protection()
6652 newpte = pte_swp_clear_uffd_wp(newpte); in hugetlb_change_protection()
[all …]
Dksm.c1194 pte_t newpte; in replace_page() local
1237 newpte = mk_pte(kpage, vma->vm_page_prot); in replace_page()
1244 newpte = pte_mkdirty(pte_mkspecial(pfn_pte(page_to_pfn(kpage), vma->vm_page_prot))); in replace_page()
1264 set_pte_at_notify(mm, addr, ptep, newpte); in replace_page()
/linux-6.6.21/arch/x86/include/asm/
Dtlbflush.h352 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
359 if (pte_pfn(oldpte) != pte_pfn(newpte)) in pte_needs_flush()
366 return pte_flags_need_flush(pte_flags(oldpte), pte_flags(newpte), in pte_needs_flush()
/linux-6.6.21/arch/x86/mm/
Dinit_32.c172 pte_t *newpte; in page_table_kmap_check() local
176 newpte = *adr; in page_table_kmap_check()
178 set_pte(newpte + i, pte[i]); in page_table_kmap_check()
181 set_pmd(pmd, __pmd(__pa(newpte)|_PAGE_TABLE)); in page_table_kmap_check()
182 BUG_ON(newpte != pte_offset_kernel(pmd, 0)); in page_table_kmap_check()
185 pte = newpte; in page_table_kmap_check()
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/
Dtlbflush.h210 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
212 return __pte_flags_need_flush(pte_val(oldpte), pte_val(newpte)); in pte_needs_flush()
/linux-6.6.21/include/asm-generic/
Dtlb.h708 static inline bool pte_needs_flush(pte_t oldpte, pte_t newpte) in pte_needs_flush() argument
/linux-6.6.21/arch/sparc/include/asm/
Dpgtable_64.h958 pte_t newpte = (pte); \
967 newpte; \