/openbmc/linux/arch/riscv/include/asm/ |
H A D | kfence.h | 21 set_pte(pte, __pte(pte_val(ptep_get(pte)) & ~_PAGE_PRESENT)); in kfence_protect_page() 23 set_pte(pte, __pte(pte_val(ptep_get(pte)) | _PAGE_PRESENT)); in kfence_protect_page()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | hugetlbpage.c | 10 pte_t orig_pte = ptep_get(ptep); in huge_ptep_get() 18 pte_t pte = ptep_get(ptep); in huge_ptep_get() 153 pte_t orig_pte = ptep_get(ptep); in get_clear_contig() 298 pte_t orig_pte = ptep_get(ptep); in huge_ptep_get_and_clear() 313 pte_t pte = ptep_get(ptep); in huge_ptep_set_wrprotect() 338 pte_t pte = ptep_get(ptep); in huge_ptep_clear_flush() 354 pte_t pte = ptep_get(ptep); in huge_pte_clear()
|
H A D | pgtable.c | 12 if (!pte_same(ptep_get(ptep), entry)) in ptep_set_access_flags() 25 if (!pte_young(ptep_get(ptep))) in ptep_test_and_clear_young()
|
H A D | pageattr.c | 71 pte_t val = ptep_get(pte); in pageattr_pte_entry() 394 unsigned long val = pte_val(ptep_get(pte)); in debug_pagealloc_set_page() 454 return pte_present(ptep_get(pte)); in kernel_page_present()
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | mmu.c | 106 while (ptep && pte_val(ptep_get(ptep))) { in gstage_get_leaf_entry() 116 ptep = (pte_t *)gstage_pte_page_vaddr(ptep_get(ptep)); in gstage_get_leaf_entry() 152 if (!pte_val(ptep_get(ptep))) { in gstage_set_pte() 163 next_ptep = (pte_t *)gstage_pte_page_vaddr(ptep_get(ptep)); in gstage_set_pte() 242 if (!pte_val(ptep_get(ptep))) in gstage_op_pte() 246 next_ptep = (pte_t *)gstage_pte_page_vaddr(ptep_get(ptep)); in gstage_op_pte() 264 set_pte(ptep, __pte(pte_val(ptep_get(ptep)) & ~_PAGE_WRITE)); in gstage_op_pte() 606 return pte_young(ptep_get(ptep)); in kvm_test_age_gfn()
|
/openbmc/linux/mm/kasan/ |
H A D | shadow.c | 229 return !pte_none(ptep_get(pte)); in shadow_mapped() 320 if (likely(!pte_none(ptep_get(ptep)))) in kasan_populate_vmalloc_pte() 331 if (likely(pte_none(ptep_get(ptep)))) { in kasan_populate_vmalloc_pte() 421 page = (unsigned long)__va(pte_pfn(ptep_get(ptep)) << PAGE_SHIFT); in kasan_depopulate_vmalloc_pte() 425 if (likely(!pte_none(ptep_get(ptep)))) { in kasan_depopulate_vmalloc_pte()
|
H A D | init.c | 299 if (!pte_none(ptep_get(pte))) in kasan_free_pte() 363 ptent = ptep_get(pte); in kasan_remove_pte_table()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | hugetlbpage.c | 155 pte_t orig_pte = ptep_get(ptep); in huge_ptep_get() 162 pte_t pte = ptep_get(ptep); in huge_ptep_get() 187 pte_t orig_pte = ptep_get(ptep); in get_clear_contig() 411 pte_t orig_pte = ptep_get(ptep); in huge_ptep_get_and_clear() 434 if (pte_write(pte) != pte_write(ptep_get(ptep))) in __cont_access_flags_changed() 438 pte_t orig_pte = ptep_get(ptep + i); in __cont_access_flags_changed()
|
/openbmc/linux/mm/ |
H A D | page_vma_mapped.c | 40 ptent = ptep_get(pvmw->pte); in map_pte() 99 pte_t ptent = ptep_get(pvmw->pte); in check_pte() 304 } while (pte_none(ptep_get(pvmw->pte))); in page_vma_mapped_walk()
|
H A D | sparse-vmemmap.c | 136 unsigned long pfn = pte_pfn(ptep_get(pte)); in vmemmap_verify() 149 if (pte_none(ptep_get(pte))) { in vmemmap_pte_populate() 418 pte_page(ptep_get(pte))); in vmemmap_populate_compound_pages() 442 pte_page(ptep_get(pte))); in vmemmap_populate_compound_pages()
|
H A D | memory.c | 704 orig_pte = ptep_get(ptep); in restore_exclusive_pte() 771 pte_t orig_pte = ptep_get(src_pte); in copy_nonpresent_pte() 929 pte_t pte = ptep_get(src_pte); in copy_present_pte() 1055 ptent = ptep_get(src_pte); in copy_pte_range() 1416 pte_t ptent = ptep_get(pte); in zap_pte_range() 1839 if (!pte_none(ptep_get(pte))) in insert_page_into_pte_locked() 2118 entry = ptep_get(pte); in insert_pfn() 4808 old_pte = ptep_get(vmf->pte); in do_numa_page() 5680 *pfn = pte_pfn(ptep_get(ptep)); in follow_pfn() 5700 pte = ptep_get(ptep); in follow_phys() [all …]
|
H A D | highmem.c | 164 return pte_page(ptep_get(&pkmap_page_table[PKMAP_NR(addr)])); in __kmap_to_page() 207 ptent = ptep_get(&pkmap_page_table[i]); in flush_all_zero_pkmaps() 516 kunmap_high(pte_page(ptep_get(&pkmap_page_table[PKMAP_NR(vaddr)]))); in kmap_high_unmap_local() 553 BUG_ON(!pte_none(ptep_get(kmap_pte))); in __kmap_local_pfn_prot()
|
H A D | mapping_dirty_helpers.c | 38 pte_t ptent = ptep_get(pte); in wp_pte() 94 pte_t ptent = ptep_get(pte); in clean_record_pte()
|
H A D | page_table_check.c | 223 __page_table_check_pte_clear(mm, ptep_get(ptep + i)); in __page_table_check_ptes_set() 279 __page_table_check_pte_clear(mm, ptep_get(ptep)); in __page_table_check_pte_clear_range()
|
H A D | hugetlb_vmemmap.c | 102 walk->reuse_page = pte_page(ptep_get(pte)); in vmemmap_pte_range() 236 struct page *page = pte_page(ptep_get(pte)); in vmemmap_remap_pte() 283 BUG_ON(pte_page(ptep_get(pte)) != walk->reuse_page); in vmemmap_restore_pte()
|
H A D | debug_vm_pgtable.c | 133 pte = ptep_get(args->ptep); in pte_advanced_tests() 136 pte = ptep_get(args->ptep); in pte_advanced_tests() 147 pte = ptep_get(args->ptep); in pte_advanced_tests() 150 pte = ptep_get(args->ptep); in pte_advanced_tests() 158 pte = ptep_get(args->ptep); in pte_advanced_tests() 623 pte = ptep_get(args->ptep); in pte_clear_tests()
|
H A D | mprotect.c | 108 oldpte = ptep_get(pte); in change_pte_range() 547 return pfn_modify_allowed(pte_pfn(ptep_get(pte)), in prot_none_pte_entry() 556 return pfn_modify_allowed(pte_pfn(ptep_get(pte)), in prot_none_hugetlb_entry()
|
H A D | mincore.c | 122 pte_t pte = ptep_get(ptep); in mincore_pte_range()
|
/openbmc/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | pgtable.h | 272 #define ptep_get ptep_get macro 273 static inline pte_t ptep_get(pte_t *ptep) in ptep_get() function
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | pgtable.h | 451 static inline pte_t ptep_get(pte_t *ptep) in ptep_get() function 455 #define ptep_get ptep_get macro 461 pte = ptep_get(ptep); in ptep_test_and_clear_young()
|
/openbmc/linux/include/linux/ |
H A D | pgtable.h | 281 #ifndef ptep_get 282 static inline pte_t ptep_get(pte_t *ptep) in ptep_get() function 321 pte_t pte = ptep_get(ptep); in ptep_test_and_clear_young() 422 pte_t pte = ptep_get(ptep); in ptep_get_and_clear() 504 return ptep_get(ptep); in ptep_get_lockless() 641 pte_t old_pte = ptep_get(ptep); in ptep_set_wrprotect()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | efi.c | 63 pte_t pte = ptep_get(ptep); in set_permissions()
|
/openbmc/linux/mm/damon/ |
H A D | ops-common.c | 42 struct folio *folio = damon_get_folio(pte_pfn(ptep_get(pte))); in damon_ptep_mkold()
|
/openbmc/linux/drivers/virt/acrn/ |
H A D | mm.c | 195 cur_pfn = pte_pfn(ptep_get(ptep)); in acrn_vm_ram_map() 198 writable = !!pte_write(ptep_get(ptep)); in acrn_vm_ram_map()
|
/openbmc/linux/include/asm-generic/ |
H A D | hugetlb.h | 149 return ptep_get(ptep); in huge_ptep_get()
|