| /Linux-v5.10/arch/um/include/asm/ |
| D | pgtable.h | 116 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro 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)) \
|
| /Linux-v5.10/arch/powerpc/include/asm/nohash/ |
| D | pgtable.h | 64 return pte_present(pte) && !pte_user(pte); in pte_protnone() 73 static inline int pte_present(pte_t pte) in pte_present() function 106 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
|
| /Linux-v5.10/arch/s390/mm/ |
| D | hugetlbpage.c | 48 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()
|
| /Linux-v5.10/arch/powerpc/kvm/ |
| D | book3s_64_mmu_radix.c | 733 if (pte_present(*ptep)) { in kvmppc_create_pte() 783 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc() 850 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page() 1009 if (ptep && pte_present(*ptep)) in kvm_unmap_radix() 1029 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix() 1056 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix() 1084 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty() 1096 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty() 1160 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
|
| /Linux-v5.10/arch/riscv/include/asm/ |
| D | pgtable.h | 206 static inline int pte_present(pte_t pte) in pte_present() function 228 return pte_present(pte) in pte_huge() 338 if (pte_present(pteval) && pte_exec(pteval)) in set_pte_at()
|
| /Linux-v5.10/arch/um/kernel/skas/ |
| D | uaccess.c | 50 if ((pte == NULL) || !pte_present(*pte) || in maybe_map() 57 if (!pte_present(*pte)) in maybe_map()
|
| /Linux-v5.10/mm/ |
| D | page_vma_mapped.c | 46 } else if (!pte_present(*pvmw->pte)) in map_pte() 109 if (!pte_present(*pvmw->pte)) in check_pte()
|
| /Linux-v5.10/arch/mips/kvm/ |
| D | mmu.c | 164 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() 825 if (!pte_present(pte[i])) in kvm_mips_flush_gva_pte()
|
| /Linux-v5.10/arch/arm64/include/asm/ |
| D | pgtable.h | 91 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) macro 130 (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte)) 311 if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) in set_pte_at() 315 pte_present(pte) && pte_tagged(pte) && !pte_special(pte)) in set_pte_at() 401 return pte_present(pmd_pte(pmd)) || pmd_present_invalid(pmd); in pmd_present() 596 #define pud_present(pud) pte_present(pud_pte(pud))
|
| /Linux-v5.10/arch/arm/include/asm/ |
| D | pgtable-3level.h | 164 #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 \
|
| D | pgtable.h | 191 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro 193 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
|
| /Linux-v5.10/arch/um/kernel/ |
| D | tlb.c | 244 if (pte_present(*pte)) { in update_pte_range() 438 if (!pte_present(*pte) || pte_newpage(*pte)) { in flush_tlb_kernel_range_common() 444 if (pte_present(*pte)) in flush_tlb_kernel_range_common() 507 if (pte_present(*pte)) { in flush_tlb_page()
|
| /Linux-v5.10/arch/mips/include/asm/ |
| D | pgtable.h | 142 #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)))
|
| /Linux-v5.10/arch/sparc/mm/ |
| D | hugetlbpage.c | 344 if (!pte_present(*ptep) && pte_present(entry)) in set_huge_pte_at() 382 if (pte_present(entry)) in huge_ptep_get_and_clear()
|
| /Linux-v5.10/arch/xtensa/include/asm/ |
| D | pgtable.h | 252 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro 254 # define pte_present(pte) \ macro
|
| /Linux-v5.10/fs/proc/ |
| D | task_mmu.c | 499 if (pte_present(*pte)) { in smaps_pte_entry() 689 if (pte_present(*pte)) { in smaps_hugetlb_range() 1049 if (pte_present(ptent)) { in clear_soft_dirty() 1140 if (!pte_present(ptent)) in clear_refs_pte_range() 1362 if (pte_present(pte)) { in pte_to_pagemap_entry() 1503 if (pte_present(pte)) { in pagemap_hugetlb_range() 1736 if (!pte_present(pte)) in can_gather_numa_stats() 1824 if (!pte_present(huge_pte)) in gather_hugetlb_stats()
|
| /Linux-v5.10/arch/x86/mm/ |
| D | fault.c | 233 if (!pte_present(*pte_k)) in vmalloc_fault() 522 if (pte && pte_present(*pte) && !pte_exec(*pte)) in show_fault_oops() 525 if (pte && pte_present(*pte) && pte_exec(*pte) && in show_fault_oops() 1070 if (!pte_present(*pte)) in spurious_kernel_fault()
|
| /Linux-v5.10/arch/s390/include/asm/ |
| D | pgtable.h | 762 static inline int pte_present(pte_t pte) in pte_present() function 795 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone() 1064 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear() 1081 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush() 1106 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear_full() 1184 if (pte_present(entry)) in set_pte_at()
|
| /Linux-v5.10/arch/csky/mm/ |
| D | fault.c | 109 if (!pte_present(*pte_k)) in do_page_fault()
|
| /Linux-v5.10/arch/powerpc/include/asm/book3s/32/ |
| D | pgtable.h | 359 static inline int pte_present(pte_t pte) in pte_present() function 390 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
|
| /Linux-v5.10/arch/nds32/mm/ |
| D | proc.c | 25 if (pte_present(pte)) in va_kernel_present() 49 if (pte_present(pte)) in va_present()
|
| /Linux-v5.10/arch/openrisc/mm/ |
| D | fault.c | 349 if (!pte_present(*pte_k)) in do_page_fault()
|
| /Linux-v5.10/arch/nios2/mm/ |
| D | fault.c | 266 if (!pte_present(*pte_k)) in do_page_fault()
|
| /Linux-v5.10/arch/arm/mm/ |
| D | fault-armv.c | 45 ret = pte_present(entry); in do_adjust_pte()
|
| /Linux-v5.10/arch/powerpc/mm/ |
| D | pgtable_32.c | 92 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
|