Home
last modified time | relevance | path

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

12345

/Linux-v4.19/arch/um/include/asm/
Dpgtable.h115 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
166 return(pte_present(pte) && (pte_get_bits(pte, _PAGE_NEWPROT))); in pte_newprot()
231 if(pte_present(pte)) in pte_mkuptodate()
257 if(pte_present(*pteptr)) *pteptr = pte_mknewprot(*pteptr); in set_pte()
281 if (pte_present(pte)) \
/Linux-v4.19/arch/microblaze/mm/
Dconsistent.c172 if (pte_none(*ptep) || !pte_present(*ptep)) in consistent_virt_to_pfn()
208 if (!pte_none(*ptep) && pte_present(*ptep)) { in arch_dma_free()
/Linux-v4.19/arch/arm64/include/asm/
Dpgtable.h86 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) macro
125 (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid_young(pte))
253 if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) in set_pte_at()
283 if (pte_present(pte_a)) in pte_same()
286 if (pte_present(pte_b)) in pte_same()
360 #define pmd_present(pmd) pte_present(pmd_pte(pmd))
479 #define pud_present(pud) pte_present(pud_pte(pud))
/Linux-v4.19/arch/powerpc/include/asm/nohash/
Dpgtable.h42 static inline int pte_present(pte_t pte) in pte_present() function
58 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
/Linux-v4.19/arch/riscv/include/asm/
Dpgtable.h179 static inline int pte_present(pte_t pte) in pte_present() function
201 return pte_present(pte) in pte_huge()
306 if (pte_present(pteval) && pte_exec(pteval)) in set_pte_at()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c497 if (pte_present(*ptep)) { in kvmppc_create_pte()
602 if (ptep && pte_present(*ptep) && in kvmppc_book3s_radix_page_fault()
716 if (ptep && pte_present(*ptep)) { in kvm_unmap_radix()
740 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix()
759 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix()
775 if (ptep && pte_present(*ptep) && pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty()
/Linux-v4.19/arch/um/kernel/skas/
Duaccess.c46 if ((pte == NULL) || !pte_present(*pte) || in maybe_map()
53 if (!pte_present(*pte)) in maybe_map()
/Linux-v4.19/mm/
Dpage_vma_mapped.c24 if (!pte_present(*pvmw->pte)) in map_pte()
83 if (!pte_present(*pvmw->pte)) in check_pte()
/Linux-v4.19/arch/um/kernel/
Dtlb.c218 if (pte_present(*pte)) in update_pte_range()
373 if (!pte_present(*pte) || pte_newpage(*pte)) { in flush_tlb_kernel_range_common()
380 if (pte_present(*pte)) in flush_tlb_kernel_range_common()
434 if (pte_present(*pte)) { in flush_tlb_page()
/Linux-v4.19/arch/mips/include/asm/
Dpgtable.h142 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) macro
189 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
275 if (!pte_present(pteval))
278 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval)))
/Linux-v4.19/arch/mips/kvm/
Dmmu.c194 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte()
317 if (!pte_present(pte[i])) \
544 if (!pte_present(old_pte) || !pte_young(old_pte)) in kvm_set_spte_handler()
548 return !pte_present(hva_pte) || in kvm_set_spte_handler()
624 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
851 if (!pte_present(pte[i])) in kvm_mips_flush_gva_pte()
/Linux-v4.19/arch/sh/mm/
Dtlbex_64.c71 if (pte_none(entry) || !pte_present(entry)) in handle_tlbmiss()
/Linux-v4.19/arch/sparc/mm/
Dhugetlbpage.c339 if (!pte_present(*ptep) && pte_present(entry)) in set_huge_pte_at()
377 if (pte_present(entry)) in huge_ptep_get_and_clear()
/Linux-v4.19/arch/powerpc/mm/
Ddma-noncoherent.c286 if (!pte_none(*ptep) && pte_present(*ptep)) { in __dma_free_coherent()
417 if (pte_none(*ptep) || !pte_present(*ptep)) in __dma_get_coherent_pfn()
/Linux-v4.19/arch/arm/include/asm/
Dpgtable-3level.h200 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \
202 == (pte_present(pte_b) ? pte_val(pte_b) & ~PTE_EXT_NG \
Dpgtable.h224 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro
226 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
/Linux-v4.19/arch/x86/mm/
Dfault.c337 if (!pte_present(*pte_k)) in vmalloc_fault()
481 if (!pte_present(*pte)) in vmalloc_fault()
660 if (pte && pte_present(*pte) && !pte_exec(*pte)) in show_fault_oops()
663 if (pte && pte_present(*pte) && pte_exec(*pte) && in show_fault_oops()
1122 if (!pte_present(*pte)) in spurious_fault()
/Linux-v4.19/fs/proc/
Dtask_mmu.c495 if (pte_present(*pte)) { in smaps_pte_entry()
680 if (pte_present(*pte)) { in smaps_hugetlb_range()
940 if (pte_present(ptent)) { in clear_soft_dirty()
1029 if (!pte_present(ptent)) in clear_refs_pte_range()
1244 if (pte_present(pte)) { in pte_to_pagemap_entry()
1385 if (pte_present(pte)) { in pagemap_hugetlb_range()
1613 if (!pte_present(pte)) in can_gather_numa_stats()
1701 if (!pte_present(huge_pte)) in gather_hugetlb_stats()
/Linux-v4.19/arch/xtensa/include/asm/
Dpgtable.h257 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro
259 # define pte_present(pte) \ macro
/Linux-v4.19/arch/nds32/mm/
Dproc.c26 if (pte_present(pte)) in va_kernel_present()
47 if (pte_present(pte)) in va_present()
/Linux-v4.19/arch/openrisc/mm/
Dfault.c349 if (!pte_present(*pte_k)) in do_page_fault()
/Linux-v4.19/arch/riscv/mm/
Dfault.c282 if (!pte_present(*pte_k)) in do_page_fault()
/Linux-v4.19/arch/nios2/mm/
Dfault.c271 if (!pte_present(*pte_k)) in do_page_fault()
/Linux-v4.19/arch/arm/mm/
Dfault-armv.c49 ret = pte_present(entry); in do_adjust_pte()
/Linux-v4.19/arch/m68k/mm/
Dmcfmmu.c120 if (pte_none(*pte) || !pte_present(*pte)) { in cf_tlb_miss()

12345