Home
last modified time | relevance | path

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

12345

/linux/arch/um/include/asm/
A Dpgtable.h116 #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/arch/powerpc/include/asm/nohash/
A Dpgtable.h64 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/arch/mips/kvm/
A Dmmu.c164 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte()
289 if (!pte_present(pte[i])) \
468 if (!pte_present(old_pte) || !pte_young(old_pte)) in kvm_set_spte_gfn()
472 return !pte_present(hva_pte) || in kvm_set_spte_gfn()
526 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
/linux/arch/s390/mm/
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()
/linux/arch/powerpc/kvm/
A Dbook3s_64_mmu_radix.c752 if (pte_present(*ptep)) { in kvmppc_create_pte()
802 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc()
869 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page()
1028 if (ptep && pte_present(*ptep)) in kvm_unmap_radix()
1047 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix()
1075 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix()
1103 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty()
1115 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty()
1179 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
/linux/arch/arm64/include/asm/
A Dpgtable.h95 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) macro
135 (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
318 if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) in set_pte_at()
337 if (pte_tagged(pte) || (!pte_none(old_pte) && !pte_present(old_pte))) in set_pte_at()
424 return pte_present(pmd_pte(pmd)) || pmd_present_invalid(pmd); in pmd_present()
627 #define pud_present(pud) pte_present(pud_pte(pud))
/linux/arch/um/kernel/
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()
/linux/arch/mips/include/asm/
A Dpgtable.h136 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) macro
183 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
228 if (!pte_present(pteval))
231 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval)))
/linux/arch/arm/include/asm/
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 \
A Dpgtable.h194 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro
196 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
/linux/mm/
A Dpage_vma_mapped.c47 } else if (!pte_present(*pvmw->pte)) in map_pte()
113 if (!pte_present(*pvmw->pte)) in check_pte()
/linux/arch/sparc/mm/
A Dhugetlbpage.c349 if (!pte_present(*ptep) && pte_present(entry)) in set_huge_pte_at()
387 if (pte_present(entry)) in huge_ptep_get_and_clear()
/linux/fs/proc/
A Dtask_mmu.c510 if (pte_present(*pte)) { in smaps_pte_entry()
696 if (pte_present(*pte)) { in smaps_hugetlb_range()
1068 if (pte_present(ptent)) { in clear_soft_dirty()
1161 if (!pte_present(ptent)) in clear_refs_pte_range()
1371 if (pte_present(pte)) { in pte_to_pagemap_entry()
1517 if (pte_present(pte)) { in pagemap_hugetlb_range()
1750 if (!pte_present(pte)) in can_gather_numa_stats()
1838 if (!pte_present(huge_pte)) in gather_hugetlb_stats()
/linux/arch/um/kernel/skas/
A Duaccess.c51 if ((pte == NULL) || !pte_present(*pte) || in maybe_map()
58 if (!pte_present(*pte)) in maybe_map()
/linux/arch/riscv/include/asm/
A Dpgtable.h269 static inline int pte_present(pte_t pte) in pte_present() function
291 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge()
423 if (pte_present(pteval) && pte_exec(pteval)) in set_pte_at()
/linux/arch/xtensa/include/asm/
A Dpgtable.h251 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro
253 # define pte_present(pte) \ macro
/linux/arch/x86/mm/
A Dfault.c256 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()
1055 if (!pte_present(*pte)) in spurious_kernel_fault()
/linux/arch/s390/include/asm/
A Dpgtable.h756 static inline int pte_present(pte_t pte) in pte_present() function
789 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
1078 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear()
1096 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush()
1122 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear_full()
1200 if (pte_present(entry)) in set_pte_at()
/linux/arch/powerpc/mm/
A Dpgtable_32.c91 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
/linux/arch/nds32/mm/
A Dproc.c25 if (pte_present(pte)) in va_kernel_present()
49 if (pte_present(pte)) in va_present()
/linux/arch/parisc/include/asm/
A Dpgtable.h93 if (pte_present(pteval) && \
310 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux/arch/powerpc/include/asm/book3s/32/
A Dpgtable.h398 static inline int pte_present(pte_t pte) in pte_present() function
429 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
/linux/arch/ia64/include/asm/
A Dpgtable.h260 #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE)) macro
329 (!pte_present(*ptep) || in set_pte()
/linux/arch/openrisc/mm/
A Dfault.c347 if (!pte_present(*pte_k)) in do_page_fault()
/linux/arch/nios2/mm/
A Dfault.c266 if (!pte_present(*pte_k)) in do_page_fault()

Completed in 68 milliseconds

12345