| /linux/arch/arm64/mm/ |
| H A D | hugetlbpage.c | 125 if (!pte_present(orig_pte) || !pte_cont(orig_pte)) in huge_ptep_get() 159 present = pte_present(pte); in get_clear_contig() 224 if (!pte_present(pte)) { in set_huge_pte_at() 429 VM_WARN_ON(!pte_present(pte)); in huge_ptep_set_access_flags() 440 VM_WARN_ON(!pte_present(orig_pte)); in huge_ptep_set_access_flags() 461 VM_WARN_ON(!pte_present(pte)); in huge_ptep_set_wrprotect()
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 205 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 D | book3s_64_mmu_radix.c | 764 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/mm/damon/ |
| H A D | ops-common.c | 49 if (likely(pte_present(pteval))) in damon_ptep_mkold() 63 if (likely(pte_present(pteval))) in damon_ptep_mkold() 217 *accessed = (pte_present(pte) && pte_young(pte)) || in damon_folio_young_one()
|
| H A D | vaddr.c | 287 if (!pte_present(ptep_get(pte))) in damon_mkold_pmd_entry() 340 if (!pte_present(entry)) in damon_mkold_hugetlb_entry() 429 if (!pte_present(ptent)) in damon_young_pmd_entry() 455 if (!pte_present(entry)) in damon_young_hugetlb_entry() 682 if (pte_none(ptent) || !pte_present(ptent)) in damos_va_migrate_pmd_entry() 844 if (pte_none(ptent) || !pte_present(ptent)) in damos_va_stat_pmd_entry()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 401 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 D | pgtable-3level.h | 166 #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/mm/ |
| H A D | migrate_device.c | 293 if (!pte_present(pte)) { in migrate_vma_collect_pmd() 414 if (pte_present(pte)) in migrate_vma_collect_pmd() 436 if (pte_present(pte) && pte_dirty(pte)) in migrate_vma_collect_pmd() 449 if (pte_present(pte)) { in migrate_vma_collect_pmd() 456 if (pte_present(pte)) { in migrate_vma_collect_pmd() 477 if (pte_present(pte)) in migrate_vma_collect_pmd() 1070 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
|
| H A D | page_vma_mapped.c | 48 } else if (pte_present(ptent)) { in map_pte() 125 } else if (pte_present(ptent)) { in check_pte()
|
| H A D | rmap.c | 1140 if (!pte_present(entry)) in page_vma_mkclean_one() 2019 VM_WARN_ON_ONCE(!pte_present(pteval)); in try_to_unmap_poisoned_hugetlb_one() 2130 if (likely(pte_present(old_pte))) { in swp_pte_prepare() 2311 if (likely(pte_present(pteval))) { in try_to_unmap_one() 2325 if (likely(pte_present(pteval))) { in try_to_unmap_one() 2366 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_unmap_one() 2563 if (likely(pte_present(pteval))) { in try_to_migrate_one() 2632 } else if (likely(pte_present(pteval))) { in try_to_migrate_one() 2679 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_migrate_one() 2744 if (likely(pte_present(pteval))) { in try_to_migrate_one()
|
| H A D | khugepaged.c | 355 return pte_present(pte) && is_zero_pfn(pte_pfn(pte)); in pte_none_or_zero() 653 VM_WARN_ON_ONCE(!pte_present(pteval)); in release_pte_pages() 713 if (!pte_present(pteval)) { in __collapse_huge_page_isolate() 1194 pte_present(vmf.orig_pte)) in __collapse_huge_page_swapin() 1663 if (!pte_present(pteval)) { in collapse_scan_pmd() 1937 if (!pte_present(ptent)) { in try_collapse_pte_mapped_thp() 1999 if (!pte_present(ptent)) { in try_collapse_pte_mapped_thp()
|
| /linux/fs/proc/ |
| H A D | task_mmu.c | 1059 if (pte_present(ptent)) { in smaps_pte_entry() 1279 if (pte_present(ptent)) { in smaps_hugetlb_range() 1722 if (pte_present(ptent)) { in clear_soft_dirty() 1813 if (!pte_present(ptent)) in clear_refs_pte_range() 2034 if (pte_present(pte)) { in pte_to_pagemap_entry() 2229 if (pte_present(pte)) { in pagemap_hugetlb_range() 2454 if (pte_present(pte)) { in pagemap_page_category() 2506 if (pte_present(ptent)) { in make_uffd_wp_pte() 2605 if (pte_present(pte)) { in pagemap_hugetlb_category() 2893 if ((pte_present(ptent) && pte_uffd(ptent)) || in pagemap_scan_pmd_entry() [all …]
|
| /linux/arch/powerpc/mm/ |
| H A D | pgtable_32.c | 86 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
|
| /linux/arch/nios2/mm/ |
| H A D | fault.c | 258 if (!pte_present(*pte_k)) in do_page_fault()
|
| /linux/arch/arc/include/asm/ |
| H A D | pgtable-levels.h | 173 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
|
| /linux/arch/openrisc/mm/ |
| H A D | fault.c | 348 if (!pte_present(*pte_k)) in do_page_fault()
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 266 #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 D | fault.c | 70 if (!pte_present(*pte_k)) in vmalloc_fault()
|
| /linux/arch/m68k/include/asm/ |
| H A D | sun3_pgtable.h | 96 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() function
|
| H A D | mmu_context.h | 142 if (!pte || pte_none(*pte) || !pte_present(*pte)) in load_ksp_mmu()
|
| H A D | motorola_pgtable.h | 106 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
|
| /linux/arch/csky/mm/ |
| H A D | fault.c | 163 if (!pte_present(*pte_k)) { in vmalloc_fault()
|
| /linux/arch/s390/mm/ |
| H A D | gmap_helpers.c | 187 if (pte_present(*ptep)) in gmap_helper_try_set_pte_unused()
|
| /linux/arch/loongarch/mm/ |
| H A D | pageattr.c | 198 return pte_present(ptep_get(pte)); in kernel_page_present()
|
| /linux/arch/mips/mm/ |
| H A D | fault.c | 316 if (!pte_present(*pte_k)) in __do_page_fault()
|