| /linux-6.15/mm/damon/ |
| H A D | ops-common.c | 49 if (likely(pte_present(pteval))) in damon_ptep_mkold() 63 if (likely(pte_present(pteval))) in damon_ptep_mkold()
|
| H A D | vaddr.c | 334 if (!pte_present(ptep_get(pte))) in damon_mkold_pmd_entry() 380 if (!pte_present(entry)) in damon_mkold_hugetlb_entry() 488 if (!pte_present(ptent)) in damon_young_pmd_entry() 516 if (!pte_present(entry)) in damon_young_hugetlb_entry()
|
| /linux-6.15/arch/s390/mm/ |
| H A D | hugetlbpage.c | 51 if (pte_present(pte)) { in __pte_to_rste() 171 if (likely(pte_present(pte))) in __set_huge_pte_at() 174 } else if (likely(pte_present(pte))) in __set_huge_pte_at()
|
| /linux-6.15/arch/riscv/mm/ |
| H A D | hugetlbpage.c | 12 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() 157 present = pte_present(pte); in get_clear_contig() 257 if (!pte_present(pte)) { in set_huge_pte_at()
|
| /linux-6.15/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 764 if (pte_present(*ptep)) { in kvmppc_create_pte() 814 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc() 862 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page() 1024 if (ptep && pte_present(*ptep)) in kvm_unmap_radix() 1043 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix() 1071 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix() 1099 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty() 1111 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty() 1175 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
|
| /linux-6.15/arch/sparc/mm/ |
| H A D | hugetlbpage.c | 239 if (!pte_present(*ptep) && pte_present(entry)) in __set_huge_pte_at() 283 if (pte_present(entry)) in huge_ptep_get_and_clear()
|
| /linux-6.15/mm/ |
| H A D | migrate_device.c | 133 if (!pte_present(pte)) { in migrate_vma_collect_pmd() 246 if (pte_present(pte)) { in migrate_vma_collect_pmd() 253 if (pte_present(pte)) { in migrate_vma_collect_pmd() 274 if (pte_present(pte)) in migrate_vma_collect_pmd() 663 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
|
| H A D | page_vma_mapped.c | 69 } else if (!pte_present(ptent)) { in map_pte() 130 if (!pte_present(ptent)) in check_pte()
|
| H A D | rmap.c | 1053 if (!pte_present(entry)) in page_vma_mkclean_one() 1962 if (likely(pte_present(pteval))) { in try_to_unmap_one() 2026 } else if (likely(pte_present(pteval))) { in try_to_unmap_one() 2073 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_unmap_one() 2178 if (likely(pte_present(pteval))) { in try_to_unmap_one() 2351 if (likely(pte_present(pteval))) { in try_to_migrate_one() 2417 } else if (likely(pte_present(pteval))) { in try_to_migrate_one() 2461 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_migrate_one() 2526 if (likely(pte_present(pteval))) { in try_to_migrate_one()
|
| H A D | page_idle.c | 70 if (likely(pte_present(ptep_get(pvmw.pte)))) in page_idle_clear_pte_refs_one()
|
| /linux-6.15/arch/arm/include/asm/ |
| H A D | pgtable-3level.h | 166 #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 \
|
| H A D | pgtable.h | 180 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro 182 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
|
| /linux-6.15/arch/mips/include/asm/ |
| H A D | pgtable.h | 116 #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.15/arch/um/kernel/skas/ |
| H A D | uaccess.c | 51 if ((pte == NULL) || !pte_present(*pte) || in maybe_map() 58 if (!pte_present(*pte)) in maybe_map()
|
| /linux-6.15/arch/mips/kvm/ |
| H A D | mmu.c | 163 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte() 288 if (!pte_present(pte[i])) \ 493 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
|
| /linux-6.15/arch/arm64/mm/ |
| H A D | hugetlbpage.c | 129 if (!pte_present(orig_pte) || !pte_cont(orig_pte)) in huge_ptep_get() 163 present = pte_present(pte); in get_clear_contig() 226 if (!pte_present(pte)) { in set_huge_pte_at()
|
| /linux-6.15/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 199 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.15/fs/proc/ |
| H A D | task_mmu.c | 815 if (pte_present(ptent)) { in smaps_pte_entry() 1027 if (pte_present(ptent)) { in smaps_hugetlb_range() 1410 if (pte_present(ptent)) { in clear_soft_dirty() 1504 if (!pte_present(ptent)) in clear_refs_pte_range() 1722 if (pte_present(pte)) { in pte_to_pagemap_entry() 1899 if (pte_present(pte)) { in pagemap_hugetlb_range() 2107 if (pte_present(pte)) { in pagemap_page_category() 2147 if (pte_present(ptent)) { in make_uffd_wp_pte() 2232 if (pte_present(pte)) { in pagemap_hugetlb_category() 2914 if (!pte_present(pte)) in can_gather_numa_stats() [all …]
|
| /linux-6.15/arch/xtensa/include/asm/ |
| H A D | pgtable.h | 237 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro 239 # define pte_present(pte) \ macro
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | pgtable.h | 356 static inline int pte_present(pte_t pte) in pte_present() function 396 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge() 566 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at() 841 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
|
| /linux-6.15/arch/x86/mm/ |
| H A D | fault.c | 259 if (!pte_present(*pte_k)) in vmalloc_fault() 526 if (pte && pte_present(*pte) && (!pte_exec(*pte) || nx)) in show_fault_oops() 529 if (pte && pte_present(*pte) && pte_exec(*pte) && !nx && in show_fault_oops() 1031 if (!pte_present(*pte)) in spurious_kernel_fault()
|
| /linux-6.15/arch/powerpc/mm/ |
| H A D | pgtable_32.c | 86 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
|
| /linux-6.15/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 400 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.15/arch/nios2/mm/ |
| H A D | fault.c | 258 if (!pte_present(*pte_k)) in do_page_fault()
|
| /linux-6.15/arch/openrisc/mm/ |
| H A D | fault.c | 348 if (!pte_present(*pte_k)) in do_page_fault()
|