Home
last modified time | relevance | path

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

1234

/arch/arm64/mm/
A Dhugetlbpage.c129 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 Dhugetlbpage.c51 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 Dhugetlbpage.c239 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 Dhugetlbpage.c12 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 Dbook3s_64_mmu_radix.c764 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 Dpgtable-3level.h166 #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 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))
/arch/mips/include/asm/
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]) &&
/arch/um/kernel/skas/
A Duaccess.c51 if ((pte == NULL) || !pte_present(*pte) || in maybe_map()
58 if (!pte_present(*pte)) in maybe_map()
/arch/powerpc/include/asm/nohash/
A Dpgtable.h199 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 Dmmu.c163 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 Dpgtable.h237 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro
239 # define pte_present(pte) \ macro
/arch/powerpc/mm/
A Dpgtable_32.c86 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
/arch/nios2/mm/
A Dfault.c258 if (!pte_present(*pte_k)) in do_page_fault()
/arch/arc/include/asm/
A Dpgtable-levels.h173 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/arch/x86/mm/
A Dfault.c258 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 Dpgtable.h400 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 Dfault.c348 if (!pte_present(*pte_k)) in do_page_fault()
/arch/xtensa/mm/
A Dfault.c70 if (!pte_present(*pte_k)) in vmalloc_fault()
/arch/riscv/include/asm/
A Dpgtable.h354 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 Dfault.c163 if (!pte_present(*pte_k)) { in vmalloc_fault()
/arch/m68k/include/asm/
A Dsun3_pgtable.h96 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() function
/arch/arm/mm/
A Dfault-armv.c45 ret = pte_present(entry); in do_adjust_pte()
/arch/parisc/include/asm/
A Dpgtable.h277 #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 Dfault.c65 if (!pte_present(ptep_get(pte))) in spurious_fault()

Completed in 61 milliseconds

1234