| /linux/arch/arm64/mm/ |
| H A D | hugetlbpage.c | 129 if (!pte_present(orig_pte) || !pte_cont(orig_pte)) in huge_ptep_get() 163 present = pte_present(pte); in get_clear_contig() 227 if (!pte_present(pte)) { in set_huge_pte_at() 432 VM_WARN_ON(!pte_present(pte)); in huge_ptep_set_access_flags() 443 VM_WARN_ON(!pte_present(orig_pte)); in huge_ptep_set_access_flags() 464 VM_WARN_ON(!pte_present(pte)); in huge_ptep_set_wrprotect()
|
| /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() 157 present = pte_present(pte); in get_clear_contig() 257 if (!pte_present(pte)) { in set_huge_pte_at()
|
| /linux/mm/damon/ |
| H A D | ops-common.c | 51 if (likely(pte_present(pteval))) in damon_ptep_mkold() 65 if (likely(pte_present(pteval))) in damon_ptep_mkold() 209 *accessed = (pte_present(pte) && pte_young(pte)) || in damon_folio_young_one()
|
| H A D | vaddr.c | 325 if (!pte_present(ptep_get(pte))) in damon_mkold_pmd_entry() 371 if (!pte_present(entry)) in damon_mkold_hugetlb_entry() 465 if (!pte_present(ptent)) in damon_young_pmd_entry() 492 if (!pte_present(entry)) in damon_young_hugetlb_entry() 740 if (pte_none(ptent) || !pte_present(ptent)) in damos_va_migrate_pmd_entry() 906 if (pte_none(ptent) || !pte_present(ptent)) in damos_va_stat_pmd_entry()
|
| /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]) &&
|
| /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 \
|
| H A D | pgtable.h | 179 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro 181 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
|
| /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()
|
| /linux/mm/ |
| H A D | page_vma_mapped.c | 48 } else if (pte_present(ptent)) { in map_pte() 119 } else if (pte_present(ptent)) { in check_pte()
|
| H A D | rmap.c | 1011 if (!pte_present(entry)) in page_vma_mkclean_one() 1969 if (likely(pte_present(pteval))) { in try_to_unmap_one() 2035 } else if (likely(pte_present(pteval))) { in try_to_unmap_one() 2080 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_unmap_one() 2185 if (likely(pte_present(pteval))) { in try_to_unmap_one() 2370 if (likely(pte_present(pteval))) { in try_to_migrate_one() 2438 } else if (likely(pte_present(pteval))) { in try_to_migrate_one() 2485 } else if (likely(pte_present(pteval)) && pte_unused(pteval) && in try_to_migrate_one() 2550 if (likely(pte_present(pteval))) { in try_to_migrate_one()
|
| H A D | migrate_device.c | 295 if (!pte_present(pte)) { in migrate_vma_collect_pmd() 444 if (pte_present(pte)) { in migrate_vma_collect_pmd() 451 if (pte_present(pte)) { in migrate_vma_collect_pmd() 472 if (pte_present(pte)) in migrate_vma_collect_pmd() 1062 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
|
| H A D | page_idle.c | 70 if (likely(pte_present(ptep_get(pvmw.pte)))) in page_idle_clear_pte_refs_one()
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 199 static inline int pte_present(pte_t pte) in pte_present() function 237 if (!pte_present(pte) || !pte_read(pte)) in pte_access_permitted()
|
| /linux/arch/xtensa/include/asm/ |
| H A D | pgtable.h | 236 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro 238 # define pte_present(pte) \ macro
|
| /linux/fs/proc/ |
| H A D | task_mmu.c | 1015 if (pte_present(ptent)) { in smaps_pte_entry() 1232 if (pte_present(ptent)) { in smaps_hugetlb_range() 1619 if (pte_present(ptent)) { in clear_soft_dirty() 1710 if (!pte_present(ptent)) in clear_refs_pte_range() 1931 if (pte_present(pte)) { in pte_to_pagemap_entry() 2126 if (pte_present(pte)) { in pagemap_hugetlb_range() 2339 if (pte_present(pte)) { in pagemap_page_category() 2383 if (pte_present(ptent)) { in make_uffd_wp_pte() 2473 if (pte_present(pte)) { in pagemap_hugetlb_category() 2749 if ((pte_present(ptent) && pte_uffd_wp(ptent)) || in pagemap_scan_pmd_entry() [all …]
|
| /linux/arch/x86/mm/ |
| H A D | fault.c | 258 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() 1030 if (!pte_present(*pte)) in spurious_kernel_fault()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 400 static inline int pte_present(pte_t pte) in pte_present() function 431 if (!pte_present(pte) || !pte_read(pte)) in pte_access_permitted()
|
| /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/riscv/include/asm/ |
| H A D | pgtable.h | 355 static inline int pte_present(pte_t pte) in pte_present() function 395 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge() 623 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at() 961 return pte_present(pte) && pte_user(pte); in pte_user_accessible_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/s390/include/asm/ |
| H A D | pgtable.h | 863 static inline int pte_present(pte_t pte) in pte_present() function 896 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone() 1234 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear() 1252 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush() 1278 if (!mm_is_protected(mm) || !pte_present(res)) in ptep_get_and_clear_full() 1407 if (pte_present(entry)) in set_ptes()
|
| /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 | 277 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro 382 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()
|