Home
last modified time | relevance | path

Searched refs:ptep_get (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.6.21/arch/riscv/mm/
Dhugetlbpage.c10 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()
/linux-6.6.21/mm/kasan/
Dshadow.c229 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()
Dinit.c299 if (!pte_none(ptep_get(pte))) in kasan_free_pte()
363 ptent = ptep_get(pte); in kasan_remove_pte_table()
/linux-6.6.21/arch/arm64/mm/
Dhugetlbpage.c155 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()
/linux-6.6.21/mm/
Dpage_vma_mapped.c40 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()
Dsparse-vmemmap.c136 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()
Dmemory.c704 orig_pte = ptep_get(ptep); in restore_exclusive_pte()
747 swp_entry_t entry = pte_to_swp_entry(ptep_get(src_pte)); in try_restore_exclusive_pte()
771 pte_t orig_pte = ptep_get(src_pte); in copy_nonpresent_pte()
911 if (userfaultfd_pte_wp(dst_vma, ptep_get(src_pte))) in copy_present_page()
929 pte_t pte = ptep_get(src_pte); in copy_present_pte()
1055 ptent = ptep_get(src_pte); in copy_pte_range()
1066 entry = pte_to_swp_entry(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()
[all …]
Dpage_table_check.c194 __page_table_check_pte_clear(mm, ptep_get(ptep + i)); in __page_table_check_ptes_set()
240 __page_table_check_pte_clear(mm, ptep_get(ptep)); in __page_table_check_pte_clear_range()
Dhighmem.c164 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()
Dhugetlb_vmemmap.c102 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()
Dmapping_dirty_helpers.c38 pte_t ptent = ptep_get(pte); in wp_pte()
94 pte_t ptent = ptep_get(pte); in clean_record_pte()
Ddebug_vm_pgtable.c148 pte = ptep_get(args->ptep); in pte_advanced_tests()
151 pte = ptep_get(args->ptep); in pte_advanced_tests()
162 pte = ptep_get(args->ptep); in pte_advanced_tests()
165 pte = ptep_get(args->ptep); in pte_advanced_tests()
173 pte = ptep_get(args->ptep); in pte_advanced_tests()
643 pte = ptep_get(args->ptep); in pte_clear_tests()
Dmprotect.c108 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()
Dkhugepaged.c507 pte_t pteval = ptep_get(_pte); in release_pte_pages()
551 pte_t pteval = ptep_get(_pte); in __collapse_huge_page_isolate()
695 pteval = ptep_get(_pte); in __collapse_huge_page_copy_succeeded()
794 pteval = ptep_get(_pte); in __collapse_huge_page_copy()
1271 pte_t pteval = ptep_get(_pte); in hpage_collapse_scan_pmd()
1547 pte_t ptent = ptep_get(pte); in collapse_pte_mapped_thp()
1599 pte_t ptent = ptep_get(pte); in collapse_pte_mapped_thp()
Dmincore.c122 pte_t pte = ptep_get(ptep); in mincore_pte_range()
Drmap.c825 pte_young(ptep_get(pvmw.pte))) { in folio_referenced_one()
956 pte_t entry = ptep_get(pte); in page_vma_mkclean_one()
1537 pfn = pte_pfn(ptep_get(pvmw.pte)); in try_to_unmap_one()
1891 pfn = pte_pfn(ptep_get(pvmw.pte)); in try_to_migrate_one()
2206 ptent = ptep_get(pvmw.pte); in page_make_device_exclusive_one()
Duserfaultfd.c109 if (!pte_none_mostly(ptep_get(dst_pte))) in mfill_atomic_install_pte()
235 if (!pte_none(ptep_get(dst_pte))) in mfill_atomic_pte_zeropage()
Dmigrate_device.c114 pte = ptep_get(ptep); in migrate_vma_collect_pmd()
633 orig_pte = ptep_get(ptep); in migrate_vma_insert_page()
/linux-6.6.21/arch/powerpc/include/asm/nohash/32/
Dpgtable.h272 #define ptep_get ptep_get macro
273 static inline pte_t ptep_get(pte_t *ptep) in ptep_get() function
/linux-6.6.21/include/linux/
Dpgtable.h281 #ifndef ptep_get
282 static inline pte_t ptep_get(pte_t *ptep) in ptep_get() function
300 pte_t pte = ptep_get(ptep); in ptep_test_and_clear_young()
401 pte_t pte = ptep_get(ptep); in ptep_get_and_clear()
483 return ptep_get(ptep); in ptep_get_lockless()
620 pte_t old_pte = ptep_get(ptep); in ptep_set_wrprotect()
/linux-6.6.21/mm/damon/
Dops-common.c42 struct folio *folio = damon_get_folio(pte_pfn(ptep_get(pte))); in damon_ptep_mkold()
Dvaddr.c329 if (!pte_present(ptep_get(pte))) in damon_mkold_pmd_entry()
484 ptent = ptep_get(pte); in damon_young_pmd_entry()
Dpaddr.c92 *accessed = pte_young(ptep_get(pvmw.pte)) || in __damon_pa_young()
/linux-6.6.21/include/asm-generic/
Dhugetlb.h149 return ptep_get(ptep); in huge_ptep_get()
/linux-6.6.21/fs/proc/
Dtask_mmu.c530 pte_t ptent = ptep_get(pte); in smaps_pte_entry()
727 pte_t ptent = ptep_get(pte); in smaps_hugetlb_range()
1104 pte_t ptent = ptep_get(pte); in clear_soft_dirty()
1193 ptent = ptep_get(pte); in clear_refs_pte_range()
1550 pme = pte_to_pagemap_entry(pm, vma, addr, ptep_get(pte)); in pagemap_pmd_range()
1894 pte_t ptent = ptep_get(pte); in gather_pte_stats()

12