Home
last modified time | relevance | path

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

1234

/linux/arch/s390/mm/
H A Dhugetlbpage.c50 if (pte_present(pte)) { in __pte_to_rste()
170 if (likely(pte_present(pte))) in __set_huge_pte_at()
173 } else if (likely(pte_present(pte))) in __set_huge_pte_at()
/linux/mm/
H A Dmigrate_device.c125 if (!pte_present(pte)) { in migrate_vma_collect_pmd()
232 if (pte_present(pte)) { in migrate_vma_collect_pmd()
239 if (pte_present(pte)) { in migrate_vma_collect_pmd()
260 if (pte_present(pte)) in migrate_vma_collect_pmd()
644 if (pte_present(orig_pte)) { in migrate_vma_insert_page()
H A Dhmm.c218 if (pte_none(pte) || !pte_present(pte) || pte_protnone(pte)) in pte_to_hmm_pfn_flags()
243 if (!pte_present(pte)) { in hmm_vma_handle_pte()
H A Dmincore.c128 else if (pte_present(pte)) in mincore_pte_range()
/linux/arch/sparc/mm/
H A Dhugetlbpage.c239 if (!pte_present(*ptep) && pte_present(entry)) in __set_huge_pte_at()
283 if (pte_present(entry)) in huge_ptep_get_and_clear()
/linux/arch/riscv/mm/
H A Dhugetlbpage.c12 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()
/linux/arch/mips/include/asm/
H A Dpgtable.h116 #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/um/kernel/skas/
H A Duaccess.c51 if ((pte == NULL) || !pte_present(*pte) || in maybe_map()
58 if (!pte_present(*pte)) in maybe_map()
/linux/arch/arm64/mm/
H A Dhugetlbpage.c129 if (!pte_present(orig_pte) || !pte_cont(orig_pte)) in huge_ptep_get()
163 present = pte_present(pte); in get_clear_contig()
226 if (!pte_present(pte)) { in set_huge_pte_at()
/linux/fs/proc/
H A Dtask_mmu.c802 if (pte_present(ptent)) { in smaps_pte_entry()
1014 if (pte_present(ptent)) { in smaps_hugetlb_range()
1397 if (pte_present(ptent)) { in clear_soft_dirty()
1491 if (!pte_present(ptent)) in clear_refs_pte_range()
1701 if (pte_present(pte)) { in pte_to_pagemap_entry()
1876 if (pte_present(pte)) { in pagemap_hugetlb_range()
2083 if (pte_present(pte)) { in pagemap_page_category()
2123 if (pte_present(ptent)) { in make_uffd_wp_pte()
2208 if (pte_present(pte)) { in pagemap_hugetlb_category()
2479 if ((pte_present(ptent) && pte_uffd_wp(ptent)) || in pagemap_scan_pmd_entry()
[all …]
/linux/arch/powerpc/include/asm/nohash/
H A Dpgtable.h199 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/riscv/include/asm/
H A Dpgtable.h344 static inline int pte_present(pte_t pte) in pte_present() function
384 return pte_present(pte) && (pte_val(pte) & _PAGE_LEAF); in pte_huge()
554 if (pte_present(pteval) && pte_exec(pteval)) in __set_pte_at()
788 return pte_present(pte) && pte_user(pte); in pte_user_accessible_page()
/linux/arch/arm/include/asm/
H A Dpgtable.h181 #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))
/linux/arch/xtensa/include/asm/
H A Dpgtable.h237 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro
239 # define pte_present(pte) \ macro
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h400 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 Dpgtable_32.c86 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
/linux/arch/nios2/mm/
H A Dfault.c258 if (!pte_present(*pte_k)) in do_page_fault()
/linux/arch/s390/include/asm/
H A Dpgtable.h873 static inline int pte_present(pte_t pte) in pte_present() function
906 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
1240 if (mm_is_protected(mm) && pte_present(res)) in ptep_get_and_clear()
1258 if (mm_is_protected(vma->vm_mm) && pte_present(res)) in ptep_clear_flush()
1284 if (!mm_is_protected(mm) || !pte_present(res)) in ptep_get_and_clear_full()
1417 if (pte_present(entry)) in set_ptes()
/linux/arch/arc/include/asm/
H A Dpgtable-levels.h174 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux/arch/openrisc/mm/
H A Dfault.c348 if (!pte_present(*pte_k)) in do_page_fault()
/linux/arch/xtensa/mm/
H A Dfault.c70 if (!pte_present(*pte_k)) in vmalloc_fault()
/linux/arch/csky/mm/
H A Dfault.c163 if (!pte_present(*pte_k)) { in vmalloc_fault()
/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h102 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() function
/linux/arch/powerpc/mm/nohash/
H A D8xx.c68 if (WARN_ON(pte_present(*ptep) && pgprot_val(prot))) in __early_map_kernel_hugepage()
/linux/arch/arm/mm/
H A Dfault-armv.c45 ret = pte_present(entry); in do_adjust_pte()

1234