Home
last modified time | relevance | path

Searched refs:pte_present (Results 1 – 25 of 114) sorted by relevance

12345

/linux-6.12.1/arch/um/include/asm/
Dpgtable.h103 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
154 return(pte_present(pte) && (pte_get_bits(pte, _PAGE_NEWPROT))); in pte_newprot()
221 if(pte_present(pte)) in pte_mkuptodate()
242 if(pte_present(*pteptr)) *pteptr = pte_mknewprot(*pteptr); in set_pte()
299 if (pte_present(pte)) \
/linux-6.12.1/mm/
Dmigrate_device.c125 if (!pte_present(pte)) { in migrate_vma_collect_pmd()
232 if (pte_present(pte)) { in migrate_vma_collect_pmd()
239 if (pte_present(pte)) { in migrate_vma_collect_pmd()
260 if (pte_present(pte)) in migrate_vma_collect_pmd()
644 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
Dpage_vma_mapped.c67 } else if (!pte_present(ptent)) { in map_pte()
123 if (!pte_present(ptent)) in check_pte()
/linux-6.12.1/arch/s390/mm/
Dhugetlbpage.c49 if (pte_present(pte)) { in __pte_to_rste()
156 if (likely(pte_present(pte))) in __set_huge_pte_at()
159 } else if (likely(pte_present(pte))) in __set_huge_pte_at()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c764 if (pte_present(*ptep)) { in kvmppc_create_pte()
814 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc()
881 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page()
1045 if (ptep && pte_present(*ptep)) in kvm_unmap_radix()
1064 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix()
1092 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix()
1120 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty()
1132 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty()
1196 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
/linux-6.12.1/arch/riscv/mm/
Dhugetlbpage.c12 if (!pte_present(orig_pte) || !pte_napot(orig_pte)) in huge_ptep_get()
79 WARN_ON_ONCE(pte_present(pteval) && !pte_huge(pteval)); in huge_pte_alloc()
246 if (!pte_present(pte)) { in set_huge_pte_at()
/linux-6.12.1/mm/damon/
Dvaddr.c331 if (!pte_present(ptep_get(pte))) in damon_mkold_pmd_entry()
379 if (!pte_present(entry)) in damon_mkold_hugetlb_entry()
487 if (!pte_present(ptent)) in damon_young_pmd_entry()
515 if (!pte_present(entry)) in damon_young_hugetlb_entry()
/linux-6.12.1/arch/mips/include/asm/
Dpgtable.h116 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) macro
163 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
211 if (!pte_present(pte))
213 if (pte_present(ptep[i]) &&
/linux-6.12.1/arch/arm/include/asm/
Dpgtable-3level.h166 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \
168 == (pte_present(pte_b) ? pte_val(pte_b) & ~PTE_EXT_NG \
Dpgtable.h181 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro
183 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
/linux-6.12.1/arch/sparc/mm/
Dhugetlbpage.c347 if (!pte_present(*ptep) && pte_present(entry)) in __set_huge_pte_at()
391 if (pte_present(entry)) in huge_ptep_get_and_clear()
/linux-6.12.1/arch/um/kernel/skas/
Duaccess.c51 if ((pte == NULL) || !pte_present(*pte) || in maybe_map()
58 if (!pte_present(*pte)) in maybe_map()
/linux-6.12.1/arch/mips/kvm/
Dmmu.c163 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte()
288 if (!pte_present(pte[i])) \
495 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
/linux-6.12.1/arch/powerpc/include/asm/nohash/
Dpgtable.h199 static inline int pte_present(pte_t pte) in pte_present() function
237 if (!pte_present(pte) || !pte_read(pte)) in pte_access_permitted()
/linux-6.12.1/fs/proc/
Dtask_mmu.c802 if (pte_present(ptent)) { in smaps_pte_entry()
1014 if (pte_present(ptent)) { in smaps_hugetlb_range()
1397 if (pte_present(ptent)) { in clear_soft_dirty()
1491 if (!pte_present(ptent)) in clear_refs_pte_range()
1701 if (pte_present(pte)) { in pte_to_pagemap_entry()
1876 if (pte_present(pte)) { in pagemap_hugetlb_range()
2083 if (pte_present(pte)) { in pagemap_page_category()
2123 if (pte_present(ptent)) { in make_uffd_wp_pte()
2208 if (pte_present(pte)) { in pagemap_hugetlb_category()
2479 if ((pte_present(ptent) && pte_uffd_wp(ptent)) || in pagemap_scan_pmd_entry()
[all …]
/linux-6.12.1/arch/riscv/include/asm/
Dpgtable.h344 static inline int pte_present(pte_t pte) in pte_present() function
384 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge()
554 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at()
777 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
/linux-6.12.1/arch/s390/kernel/
Duv.c168 VM_WARN_ON(!pte_present(pte)); in uv_destroy_pte()
215 VM_WARN_ON(!pte_present(pte)); in uv_convert_from_secure_pte()
374 if (pte_present(*ptep) && !(pte_val(*ptep) & _PAGE_INVALID) && pte_write(*ptep)) { in gmap_make_secure()
/linux-6.12.1/arch/xtensa/include/asm/
Dpgtable.h237 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro
239 # define pte_present(pte) \ macro
/linux-6.12.1/arch/x86/mm/
Dfault.c260 if (!pte_present(*pte_k)) in vmalloc_fault()
527 if (pte && pte_present(*pte) && (!pte_exec(*pte) || nx)) in show_fault_oops()
530 if (pte && pte_present(*pte) && pte_exec(*pte) && !nx && in show_fault_oops()
1032 if (!pte_present(*pte)) in spurious_kernel_fault()
/linux-6.12.1/arch/powerpc/include/asm/book3s/32/
Dpgtable.h400 static inline int pte_present(pte_t pte) in pte_present() function
431 if (!pte_present(pte) || !pte_read(pte)) in pte_access_permitted()
/linux-6.12.1/arch/powerpc/mm/
Dpgtable_32.c91 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
/linux-6.12.1/arch/s390/include/asm/
Dpgtable.h836 static inline int pte_present(pte_t pte) in pte_present() function
869 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
1203 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear()
1221 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush()
1247 if (!mm_is_protected(mm) || !pte_present(res)) in ptep_get_and_clear_full()
1380 if (pte_present(entry)) in set_ptes()
/linux-6.12.1/arch/nios2/mm/
Dfault.c258 if (!pte_present(*pte_k)) in do_page_fault()
/linux-6.12.1/arch/arc/include/asm/
Dpgtable-levels.h174 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-6.12.1/arch/openrisc/mm/
Dfault.c348 if (!pte_present(*pte_k)) in do_page_fault()

12345