Home
last modified time | relevance | path

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

12345

/linux-6.1.9/arch/um/include/asm/
Dpgtable.h100 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
151 return(pte_present(pte) && (pte_get_bits(pte, _PAGE_NEWPROT))); in pte_newprot()
218 if(pte_present(pte)) in pte_mkuptodate()
239 if(pte_present(*pteptr)) *pteptr = pte_mknewprot(*pteptr); in set_pte()
268 if (pte_present(pte)) \
/linux-6.1.9/arch/powerpc/include/asm/nohash/
Dpgtable.h44 return pte_present(pte) && !pte_user(pte); in pte_protnone()
53 static inline int pte_present(pte_t pte) in pte_present() function
86 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
/linux-6.1.9/arch/mips/kvm/
Dmmu.c164 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte()
289 if (!pte_present(pte[i])) \
468 if (!pte_present(old_pte) || !pte_young(old_pte)) in kvm_set_spte_gfn()
472 return !pte_present(hva_pte) || in kvm_set_spte_gfn()
526 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
/linux-6.1.9/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.1.9/mm/
Dmigrate_device.c131 if (!pte_present(pte)) { in migrate_vma_collect_pmd()
236 if (pte_present(pte)) { in migrate_vma_collect_pmd()
243 if (pte_present(pte)) { in migrate_vma_collect_pmd()
264 if (pte_present(pte)) in migrate_vma_collect_pmd()
657 if (pte_present(*ptep)) { in migrate_vma_insert_page()
Dpage_vma_mapped.c47 } else if (!pte_present(*pvmw->pte)) in map_pte()
101 if (!pte_present(*pvmw->pte)) in check_pte()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c758 if (pte_present(*ptep)) { in kvmppc_create_pte()
808 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc()
875 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page()
1034 if (ptep && pte_present(*ptep)) in kvm_unmap_radix()
1053 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix()
1081 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix()
1109 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty()
1121 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty()
1185 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
/linux-6.1.9/mm/damon/
Dvaddr.c324 if (!pte_present(*pte)) in damon_mkold_pmd_entry()
371 if (!pte_present(entry)) in damon_mkold_hugetlb_entry()
470 if (!pte_present(*pte)) in damon_young_pmd_entry()
499 if (!pte_present(entry)) in damon_young_hugetlb_entry()
/linux-6.1.9/arch/arm64/include/asm/
Dpgtable.h102 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) macro
143 (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
326 if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) in __set_pte_at()
345 if (pte_tagged(pte) || (!pte_none(old_pte) && !pte_present(old_pte))) in __set_pte_at()
465 return pte_present(pmd_pte(pmd)) || pmd_present_invalid(pmd); in pmd_present()
681 #define pud_present(pud) pte_present(pud_pte(pud))
861 return pte_present(pte) && (pte_user(pte) || pte_user_exec(pte)); in pte_user_accessible_page()
/linux-6.1.9/arch/mips/include/asm/
Dpgtable.h119 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) macro
166 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
211 if (!pte_present(pteval))
214 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval)))
/linux-6.1.9/arch/arm/include/asm/
Dpgtable-3level.h164 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \
166 == (pte_present(pte_b) ? pte_val(pte_b) & ~PTE_EXT_NG \
Dpgtable.h179 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro
181 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
/linux-6.1.9/arch/riscv/include/asm/
Dpgtable.h287 static inline int pte_present(pte_t pte) in pte_present() function
314 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge()
450 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at()
661 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
/linux-6.1.9/arch/um/kernel/
Dtlb.c238 if (pte_present(*pte)) { in update_pte_range()
431 if (!pte_present(*pte) || pte_newpage(*pte)) { in flush_tlb_kernel_range_common()
437 if (pte_present(*pte)) in flush_tlb_kernel_range_common()
501 if (pte_present(*pte)) { in flush_tlb_page()
/linux-6.1.9/arch/sparc/mm/
Dhugetlbpage.c350 if (!pte_present(*ptep) && pte_present(entry)) in set_huge_pte_at()
388 if (pte_present(entry)) in huge_ptep_get_and_clear()
/linux-6.1.9/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.1.9/arch/xtensa/include/asm/
Dpgtable.h233 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro
235 # define pte_present(pte) \ macro
/linux-6.1.9/arch/x86/mm/
Dfault.c256 if (!pte_present(*pte_k)) in vmalloc_fault()
543 if (pte && pte_present(*pte) && !pte_exec(*pte)) in show_fault_oops()
546 if (pte && pte_present(*pte) && pte_exec(*pte) && in show_fault_oops()
1086 if (!pte_present(*pte)) in spurious_kernel_fault()
/linux-6.1.9/fs/proc/
Dtask_mmu.c535 if (pte_present(*pte)) { in smaps_pte_entry()
731 if (pte_present(*pte)) { in smaps_hugetlb_range()
1109 if (pte_present(ptent)) { in clear_soft_dirty()
1202 if (!pte_present(ptent)) in clear_refs_pte_range()
1413 if (pte_present(pte)) { in pte_to_pagemap_entry()
1578 if (pte_present(pte)) { in pagemap_hugetlb_range()
1817 if (!pte_present(pte)) in can_gather_numa_stats()
1905 if (!pte_present(huge_pte)) in gather_hugetlb_stats()
/linux-6.1.9/arch/powerpc/mm/
Dpgtable_32.c91 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
/linux-6.1.9/arch/s390/include/asm/
Dpgtable.h772 static inline int pte_present(pte_t pte) in pte_present() function
805 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
1126 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear()
1144 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush()
1170 if (!mm_is_protected(mm) || !pte_present(res)) in ptep_get_and_clear_full()
1261 if (pte_present(entry)) in set_pte_at()
/linux-6.1.9/arch/openrisc/mm/
Dfault.c342 if (!pte_present(*pte_k)) in do_page_fault()
/linux-6.1.9/arch/parisc/include/asm/
Dpgtable.h93 if (pte_present(pteval) && \
298 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-6.1.9/arch/powerpc/include/asm/book3s/32/
Dpgtable.h386 static inline int pte_present(pte_t pte) in pte_present() function
417 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
/linux-6.1.9/arch/ia64/include/asm/
Dpgtable.h242 #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE)) macro
312 (!pte_present(*ptep) || in set_pte()

12345