Home
last modified time | relevance | path

Searched refs:orig_pmd (Results 1 – 3 of 3) sorted by relevance

/mm/
Dhuge_memory.c1185 void huge_pmd_set_accessed(struct vm_fault *vmf, pmd_t orig_pmd) in huge_pmd_set_accessed() argument
1192 if (unlikely(!pmd_same(*vmf->pmd, orig_pmd))) in huge_pmd_set_accessed()
1195 entry = pmd_mkyoung(orig_pmd); in huge_pmd_set_accessed()
1207 pmd_t orig_pmd, struct page *page) in do_huge_pmd_wp_page_fallback() argument
1260 if (unlikely(!pmd_same(*vmf->pmd, orig_pmd))) in do_huge_pmd_wp_page_fallback()
1323 vm_fault_t do_huge_pmd_wp_page(struct vm_fault *vmf, pmd_t orig_pmd) in do_huge_pmd_wp_page() argument
1335 if (is_huge_zero_pmd(orig_pmd)) in do_huge_pmd_wp_page()
1338 if (unlikely(!pmd_same(*vmf->pmd, orig_pmd))) in do_huge_pmd_wp_page()
1341 page = pmd_page(orig_pmd); in do_huge_pmd_wp_page()
1352 if (unlikely(!pmd_same(*vmf->pmd, orig_pmd))) { in do_huge_pmd_wp_page()
[all …]
Dmadvise.c319 pmd_t orig_pmd; in madvise_cold_or_pageout_pte_range() local
327 orig_pmd = *pmd; in madvise_cold_or_pageout_pte_range()
328 if (is_huge_zero_pmd(orig_pmd)) in madvise_cold_or_pageout_pte_range()
331 if (unlikely(!pmd_present(orig_pmd))) { in madvise_cold_or_pageout_pte_range()
333 !is_pmd_migration_entry(orig_pmd)); in madvise_cold_or_pageout_pte_range()
337 page = pmd_page(orig_pmd); in madvise_cold_or_pageout_pte_range()
355 if (pmd_young(orig_pmd)) { in madvise_cold_or_pageout_pte_range()
357 orig_pmd = pmd_mkold(orig_pmd); in madvise_cold_or_pageout_pte_range()
359 set_pmd_at(mm, addr, pmd, orig_pmd); in madvise_cold_or_pageout_pte_range()
Dmemory.c3782 static inline vm_fault_t wp_huge_pmd(struct vm_fault *vmf, pmd_t orig_pmd) in wp_huge_pmd() argument
3785 return do_huge_pmd_wp_page(vmf, orig_pmd); in wp_huge_pmd()
3983 pmd_t orig_pmd = *vmf.pmd; in __handle_mm_fault() local
3986 if (unlikely(is_swap_pmd(orig_pmd))) { in __handle_mm_fault()
3988 !is_pmd_migration_entry(orig_pmd)); in __handle_mm_fault()
3989 if (is_pmd_migration_entry(orig_pmd)) in __handle_mm_fault()
3993 if (pmd_trans_huge(orig_pmd) || pmd_devmap(orig_pmd)) { in __handle_mm_fault()
3994 if (pmd_protnone(orig_pmd) && vma_is_accessible(vma)) in __handle_mm_fault()
3995 return do_huge_pmd_numa_page(&vmf, orig_pmd); in __handle_mm_fault()
3997 if (dirty && !pmd_write(orig_pmd)) { in __handle_mm_fault()
[all …]