Home
last modified time | relevance | path

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

123

/linux/arch/powerpc/include/asm/nohash/
H A Dpgtable.h205 static inline int pte_present(pte_t pte) in pte_present() function
243 if (!pte_present(pte) || !pte_read(pte)) in pte_access_permitted()
254 return pte_present(pte) && !is_kernel_addr(addr); in pte_user_accessible_page()
/linux/arch/powerpc/kvm/
H 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()
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h401 static inline int pte_present(pte_t pte) in pte_present() function
432 if (!pte_present(pte) || !pte_read(pte)) in pte_access_permitted()
443 return pte_present(pte) && !is_kernel_addr(addr); in pte_user_accessible_page()
/linux/arch/arm/include/asm/
H 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 \
/linux/arch/s390/include/asm/
H A Dpgtable.h815 static inline int pte_present(pte_t pte) in pte_present() function
848 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
1193 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear()
1212 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush()
1242 if (!mm_is_protected(mm) || !pte_present(res)) in ptep_get_and_clear_full()
1335 if (pte_present(entry)) in set_ptes()
1814 return pte_present(pte); in pte_user_accessible_page()
/linux/arch/x86/mm/
H 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()
1028 if (!pte_present(*pte)) in spurious_kernel_fault()
/linux/mm/
H A Drmap.c1132 if (!pte_present(entry)) in page_vma_mkclean_one()
2101 if (likely(pte_present(pteval))) { in try_to_unmap_one()
2166 } else if (likely(pte_present(pteval))) { in try_to_unmap_one()
2211 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_unmap_one()
2316 if (likely(pte_present(pteval))) { in try_to_unmap_one()
2507 if (likely(pte_present(pteval))) { in try_to_migrate_one()
2573 } else if (likely(pte_present(pteval))) { in try_to_migrate_one()
2620 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_migrate_one()
2685 if (likely(pte_present(pteval))) { in try_to_migrate_one()
H A Dmigrate_device.c289 if (!pte_present(pte)) { in migrate_vma_collect_pmd()
438 if (pte_present(pte)) { in migrate_vma_collect_pmd()
445 if (pte_present(pte)) { in migrate_vma_collect_pmd()
466 if (pte_present(pte)) in migrate_vma_collect_pmd()
1060 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
H A Dmincore.c193 else if (pte_present(pte)) { in mincore_pte_range()
/linux/arch/powerpc/mm/
H A Dpgtable_32.c86 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
/linux/arch/nios2/mm/
H A Dfault.c258 if (!pte_present(*pte_k)) in do_page_fault()
/linux/arch/arc/include/asm/
H A Dpgtable-levels.h173 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux/arch/riscv/include/asm/
H A Dpgtable.h337 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()
614 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at()
974 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
/linux/arch/openrisc/mm/
H A Dfault.c348 if (!pte_present(*pte_k)) in do_page_fault()
/linux/arch/parisc/include/asm/
H A Dpgtable.h266 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
371 if (pte_present(pte) && pte_user(pte)) in set_ptes()
/linux/arch/xtensa/mm/
H A Dfault.c70 if (!pte_present(*pte_k)) in vmalloc_fault()
H A Dtlb.c257 if (pte == 0 || !pte_present(__pte(pte))) { in check_tlb_entry()
/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h96 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() function
H A Dmmu_context.h142 if (!pte || pte_none(*pte) || !pte_present(*pte)) in load_ksp_mmu()
H A Dmotorola_pgtable.h106 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
H A Dmcf_pgtable.h120 static inline int pte_present(pte_t pte) in pte_present() function
/linux/arch/arm/mm/
H A Dfault-armv.c45 ret = pte_present(entry); in do_adjust_pte()
/linux/arch/csky/mm/
H A Dfault.c163 if (!pte_present(*pte_k)) { in vmalloc_fault()
/linux/arch/mips/mm/
H A Dfault.c316 if (!pte_present(*pte_k)) in __do_page_fault()
/linux/include/linux/
H A Dleafops.h59 if (pte_present(pte) || pte_none(pte)) in softleaf_from_pte()

123