| /arch/arm64/mm/ |
| 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() 227 if (!pte_present(pte)) { in set_huge_pte_at() 432 VM_WARN_ON(!pte_present(pte)); in huge_ptep_set_access_flags() 443 VM_WARN_ON(!pte_present(orig_pte)); in huge_ptep_set_access_flags() 464 VM_WARN_ON(!pte_present(pte)); in huge_ptep_set_wrprotect()
|
| /arch/s390/mm/ |
| 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()
|
| /arch/sparc/mm/ |
| 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()
|
| /arch/riscv/mm/ |
| 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()
|
| /arch/powerpc/kvm/ |
| 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()
|
| /arch/arm/include/asm/ |
| 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 \
|
| A D | pgtable.h | 179 #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))
|
| /arch/mips/include/asm/ |
| 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]) &&
|
| /arch/um/kernel/skas/ |
| A D | uaccess.c | 51 if ((pte == NULL) || !pte_present(*pte) || in maybe_map() 58 if (!pte_present(*pte)) in maybe_map()
|
| /arch/powerpc/include/asm/nohash/ |
| 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()
|
| /arch/mips/kvm/ |
| 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()
|
| /arch/xtensa/include/asm/ |
| 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
|
| /arch/powerpc/mm/ |
| A D | pgtable_32.c | 86 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
|
| /arch/nios2/mm/ |
| A D | fault.c | 258 if (!pte_present(*pte_k)) in do_page_fault()
|
| /arch/arc/include/asm/ |
| A D | pgtable-levels.h | 173 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
|
| /arch/x86/mm/ |
| A D | fault.c | 258 if (!pte_present(*pte_k)) in vmalloc_fault() 525 if (pte && pte_present(*pte) && (!pte_exec(*pte) || nx)) in show_fault_oops() 528 if (pte && pte_present(*pte) && pte_exec(*pte) && !nx && in show_fault_oops() 1030 if (!pte_present(*pte)) in spurious_kernel_fault()
|
| /arch/powerpc/include/asm/book3s/32/ |
| 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()
|
| /arch/openrisc/mm/ |
| A D | fault.c | 348 if (!pte_present(*pte_k)) in do_page_fault()
|
| /arch/xtensa/mm/ |
| A D | fault.c | 70 if (!pte_present(*pte_k)) in vmalloc_fault()
|
| /arch/riscv/include/asm/ |
| A D | pgtable.h | 354 static inline int pte_present(pte_t pte) in pte_present() function 394 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge() 552 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at() 822 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
|
| /arch/csky/mm/ |
| A D | fault.c | 163 if (!pte_present(*pte_k)) { in vmalloc_fault()
|
| /arch/m68k/include/asm/ |
| A D | sun3_pgtable.h | 96 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() function
|
| /arch/arm/mm/ |
| A D | fault-armv.c | 45 ret = pte_present(entry); in do_adjust_pte()
|
| /arch/parisc/include/asm/ |
| A D | pgtable.h | 277 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro 382 if (pte_present(pte) && pte_user(pte)) in set_ptes()
|
| /arch/loongarch/mm/ |
| A D | fault.c | 65 if (!pte_present(ptep_get(pte))) in spurious_fault()
|