Home
last modified time | relevance | path

Searched refs:pte_present (Results 1 - 25 of 212) sorted by relevance

123456789

/kernel/linux/linux-5.10/arch/um/include/asm/
H A Dpgtable.h22 pte_present gives true */
116 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
130 * The following only work if pte_present() is true.
167 return(pte_present(pte) && (pte_get_bits(pte, _PAGE_NEWPROT))); in pte_newprot()
234 if(pte_present(pte)) in pte_mkuptodate()
255 if(pte_present(*pteptr)) *pteptr = pte_mknewprot(*pteptr); in set_pte()
284 if (pte_present(pte)) \
/kernel/linux/linux-6.6/arch/um/include/asm/
H A Dpgtable.h22 pte_present gives true */
103 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
117 * The following only work if pte_present() is true.
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()
267 if (pte_present(pte)) \
293 * are !pte_none() && !pte_present().
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/
H A Dpgtable.h66 return pte_present(pte) && !pte_user(pte); in pte_protnone()
75 static inline int pte_present(pte_t pte) in pte_present() function
108 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/
H A Dpgtable.h46 return pte_present(pte) && !pte_user(pte); in pte_protnone()
55 static inline int pte_present(pte_t pte) in pte_present() function
88 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
/kernel/linux/linux-6.6/arch/mips/kvm/
H A Dmmu.c163 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte()
288 if (!pte_present(pte[i])) \
467 if (!pte_present(old_pte) || !pte_young(old_pte)) in kvm_set_spte_gfn()
471 return !pte_present(hva_pte) || in kvm_set_spte_gfn()
525 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dpgtable.h227 static inline int pte_present(pte_t pte) in pte_present() function
249 return pte_present(pte) in pte_huge()
359 if (pte_present(pteval) && pte_exec(pteval)) in set_pte_at()
/kernel/linux/linux-5.10/arch/s390/mm/
H A Dhugetlbpage.c48 if (pte_present(pte)) { in __pte_to_rste()
163 if (likely(pte_present(pte))) in set_huge_pte_at()
166 } else if (likely(pte_present(pte))) in set_huge_pte_at()
/kernel/linux/linux-6.6/arch/s390/mm/
H A 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()
/kernel/linux/linux-6.6/mm/
H A Dmigrate_device.c124 if (!pte_present(pte)) { in migrate_vma_collect_pmd()
229 if (pte_present(pte)) { in migrate_vma_collect_pmd()
236 if (pte_present(pte)) { in migrate_vma_collect_pmd()
257 if (pte_present(pte)) in migrate_vma_collect_pmd()
638 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
H A Dpage_vma_mapped.c67 } else if (!pte_present(ptent)) { in map_pte()
123 if (!pte_present(ptent)) in check_pte()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c735 if (pte_present(*ptep)) { in kvmppc_create_pte()
785 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc()
852 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page()
1011 if (ptep && pte_present(*ptep)) in kvm_unmap_radix()
1031 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix()
1058 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix()
1086 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty()
1098 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty()
1162 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c759 if (pte_present(*ptep)) { in kvmppc_create_pte()
809 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc()
876 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page()
1040 if (ptep && pte_present(*ptep)) in kvm_unmap_radix()
1059 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix()
1087 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix()
1115 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty()
1127 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty()
1191 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
/kernel/linux/linux-6.6/mm/damon/
H A Dvaddr.c329 if (!pte_present(ptep_get(pte))) in damon_mkold_pmd_entry()
377 if (!pte_present(entry)) in damon_mkold_hugetlb_entry()
485 if (!pte_present(ptent)) in damon_young_pmd_entry()
513 if (!pte_present(entry)) in damon_young_hugetlb_entry()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dpgtable.h95 * The following only work if pte_present(). Undefined behaviour otherwise.
97 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) macro
136 (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
317 if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) in set_pte_at()
321 pte_present(pte) && pte_tagged(pte) && !pte_special(pte)) in set_pte_at()
407 return pte_present(pmd_pte(pmd)) || pmd_present_invalid(pmd); in pmd_present()
605 #define pud_present(pud) pte_present(pud_pte(pud))
/kernel/linux/linux-5.10/arch/mips/kvm/
H A Dmmu.c164 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte()
289 if (!pte_present(pte[i])) \
519 if (!pte_present(old_pte) || !pte_young(old_pte)) in kvm_set_spte_handler()
523 return !pte_present(hva_pte) || in kvm_set_spte_handler()
600 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
824 if (!pte_present(pte[i])) in kvm_mips_flush_gva_pte()
/kernel/linux/linux-5.10/arch/um/kernel/skas/
H A Duaccess.c50 if ((pte == NULL) || !pte_present(*pte) || in maybe_map()
57 if (!pte_present(*pte)) in maybe_map()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A 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 \
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dpgtable-3level.h167 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \
169 == (pte_present(pte_b) ? pte_val(pte_b) & ~PTE_EXT_NG \
/kernel/linux/linux-5.10/mm/
H A Dpage_vma_mapped.c46 } else if (!pte_present(*pvmw->pte)) in map_pte()
109 if (!pte_present(*pvmw->pte)) in check_pte()
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dpgtable.h142 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) macro
189 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
235 if (!pte_present(pteval))
238 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval)))
301 * The following only work if pte_present() is true.
/kernel/linux/linux-5.10/arch/um/kernel/
H A Dtlb.c250 if (pte_present(*pte)) { in update_pte_range()
443 if (!pte_present(*pte) || pte_newpage(*pte)) { in flush_tlb_kernel_range_common()
449 if (pte_present(*pte)) in flush_tlb_kernel_range_common()
516 if (pte_present(*pte)) { in flush_tlb_page()
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A 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]) &&
287 * The following only work if pte_present() is true.
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dpgtable.h350 static inline int pte_present(pte_t pte) in pte_present() function
377 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge()
525 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at()
744 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
812 * are !pte_none() && !pte_present().
/kernel/linux/linux-6.6/arch/um/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/sparc/mm/
H A Dhugetlbpage.c344 if (!pte_present(*ptep) && pte_present(entry)) in set_huge_pte_at()
382 if (pte_present(entry)) in huge_ptep_get_and_clear()

Completed in 42 milliseconds

123456789