/openbmc/linux/arch/um/include/asm/ |
H A D | pgtable.h | 103 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro 154 return(pte_present(pte) && (pte_get_bits(pte, _PAGE_NEWPROT))); in pte_newprot() 221 if(pte_present(pte)) in pte_mkuptodate() 242 if(pte_present(*pteptr)) *pteptr = pte_mknewprot(*pteptr); in set_pte() 267 if (pte_present(pte)) \
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 46 return pte_present(pte) && !pte_user(pte); in pte_protnone() 55 static inline int pte_present(pte_t pte) in pte_present() function 88 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
|
/openbmc/linux/arch/mips/kvm/ |
H A D | mmu.c | 163 if (!pte_present(pte[i])) in kvm_mips_flush_gpa_pte() 288 if (!pte_present(pte[i])) \ 467 if (!pte_present(old_pte) || !pte_young(old_pte)) in kvm_set_spte_gfn() 471 return !pte_present(hva_pte) || in kvm_set_spte_gfn() 525 if (!ptep || !pte_present(*ptep)) { in _kvm_mips_map_page_fast()
|
/openbmc/linux/mm/ |
H A D | migrate_device.c | 124 if (!pte_present(pte)) { in migrate_vma_collect_pmd() 229 if (pte_present(pte)) { in migrate_vma_collect_pmd() 236 if (pte_present(pte)) { in migrate_vma_collect_pmd() 257 if (pte_present(pte)) in migrate_vma_collect_pmd() 638 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
|
H A D | page_vma_mapped.c | 67 } else if (!pte_present(ptent)) { in map_pte() 123 if (!pte_present(ptent)) in check_pte()
|
/openbmc/linux/arch/s390/mm/ |
H A D | hugetlbpage.c | 49 if (pte_present(pte)) { in __pte_to_rste() 156 if (likely(pte_present(pte))) in __set_huge_pte_at() 159 } else if (likely(pte_present(pte))) in __set_huge_pte_at()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_radix.c | 759 if (pte_present(*ptep)) { in kvmppc_create_pte() 809 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc() 876 if (!pte_present(pte)) { in kvmppc_book3s_instantiate_page() 1040 if (ptep && pte_present(*ptep)) in kvm_unmap_radix() 1059 if (ptep && pte_present(*ptep) && pte_young(*ptep)) { in kvm_age_radix() 1087 if (ptep && pte_present(*ptep) && pte_young(*ptep)) in kvm_test_age_radix() 1115 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty() 1127 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty() 1191 if (ptep && pte_present(*ptep)) in kvmppc_radix_flush_memslot()
|
/openbmc/linux/arch/riscv/mm/ |
H 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() 246 if (!pte_present(pte)) { in set_huge_pte_at()
|
/openbmc/linux/mm/damon/ |
H A D | vaddr.c | 331 if (!pte_present(ptep_get(pte))) in damon_mkold_pmd_entry() 379 if (!pte_present(entry)) in damon_mkold_hugetlb_entry() 487 if (!pte_present(ptent)) in damon_young_pmd_entry() 515 if (!pte_present(entry)) in damon_young_hugetlb_entry()
|
/openbmc/qemu/target/i386/hvf/ |
H A D | x86_mmu.c | 27 #define pte_present(pte) (pte & PT_PRESENT) macro 114 if (!pte_present(pte)) { in test_pt_entry()
|
/openbmc/linux/arch/mips/include/asm/ |
H 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]) &&
|
/openbmc/linux/arch/um/kernel/ |
H A D | tlb.c | 238 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()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | pgtable-3level.h | 167 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \ 169 == (pte_present(pte_b) ? pte_val(pte_b) & ~PTE_EXT_NG \
|
H A D | pgtable.h | 181 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro 183 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | pgtable.h | 102 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) macro 144 (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte)) 331 if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) in __set_pte_at() 468 return pte_present(pmd_pte(pmd)) || pmd_present_invalid(pmd); in pmd_present() 683 #define pud_present(pud) pte_present(pud_pte(pud)) 871 return pte_present(pte) && (pte_user(pte) || pte_user_exec(pte)); in pte_user_accessible_page()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | pgtable.h | 350 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() 525 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at() 727 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
|
/openbmc/linux/arch/um/kernel/skas/ |
H A D | uaccess.c | 51 if ((pte == NULL) || !pte_present(*pte) || in maybe_map() 58 if (!pte_present(*pte)) in maybe_map()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | hugetlbpage.c | 350 if (!pte_present(*ptep) && pte_present(entry)) in __set_huge_pte_at() 394 if (pte_present(entry)) in huge_ptep_get_and_clear()
|
/openbmc/linux/arch/xtensa/include/asm/ |
H 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
|
/openbmc/linux/fs/proc/ |
H A D | task_mmu.c | 532 if (pte_present(ptent)) { in smaps_pte_entry() 729 if (pte_present(ptent)) { in smaps_hugetlb_range() 1111 if (pte_present(ptent)) { in clear_soft_dirty() 1205 if (!pte_present(ptent)) in clear_refs_pte_range() 1415 if (pte_present(pte)) { in pte_to_pagemap_entry() 1582 if (pte_present(pte)) { in pagemap_hugetlb_range() 1827 if (!pte_present(pte)) in can_gather_numa_stats() 1917 if (!pte_present(huge_pte)) in gather_hugetlb_stats()
|
/openbmc/linux/arch/x86/mm/ |
H A D | fault.c | 257 if (!pte_present(*pte_k)) in vmalloc_fault() 523 if (pte && pte_present(*pte) && !pte_exec(*pte)) in show_fault_oops() 526 if (pte && pte_present(*pte) && pte_exec(*pte) && in show_fault_oops() 1020 if (!pte_present(*pte)) in spurious_kernel_fault()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | pgtable_32.c | 91 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | pgtable.h | 793 static inline int pte_present(pte_t pte) in pte_present() function 826 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone() 1159 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear() 1177 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush() 1203 if (!mm_is_protected(mm) || !pte_present(res)) in ptep_get_and_clear_full() 1334 if (pte_present(entry)) in set_ptes()
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | pgtable.h | 230 #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE)) macro 300 (!pte_present(*ptep) || in set_pte()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 413 static inline int pte_present(pte_t pte) in pte_present() function 444 if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte)) in pte_access_permitted()
|