Searched refs:ptent (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | madvise.c | 270 pte_t *orig_pte, *pte, ptent; in madvise_free_pte_range() local 287 ptent = *pte; in madvise_free_pte_range() 289 if (pte_none(ptent)) in madvise_free_pte_range() 296 if (!pte_present(ptent)) { in madvise_free_pte_range() 299 entry = pte_to_swp_entry(ptent); in madvise_free_pte_range() 308 page = vm_normal_page(vma, addr, ptent); in madvise_free_pte_range() 363 if (pte_young(ptent) || pte_dirty(ptent)) { in madvise_free_pte_range() 370 ptent = ptep_get_and_clear_full(mm, addr, pte, in madvise_free_pte_range() 373 ptent = pte_mkold(ptent); in madvise_free_pte_range() 374 ptent = pte_mkclean(ptent); in madvise_free_pte_range() [all …]
|
D | mprotect.c | 82 pte_t ptent; in change_pte_range() local 101 ptent = ptep_modify_prot_start(mm, addr, pte); in change_pte_range() 102 ptent = pte_modify(ptent, newprot); in change_pte_range() 104 ptent = pte_mkwrite(ptent); in change_pte_range() 107 if (dirty_accountable && pte_dirty(ptent) && in change_pte_range() 108 (pte_soft_dirty(ptent) || in change_pte_range() 110 ptent = pte_mkwrite(ptent); in change_pte_range() 112 ptep_modify_prot_commit(mm, addr, pte, ptent); in change_pte_range()
|
D | memcontrol.c | 4396 unsigned long addr, pte_t ptent) in mc_handle_present_pte() argument 4398 struct page *page = vm_normal_page(vma, addr, ptent); in mc_handle_present_pte() 4417 pte_t ptent, swp_entry_t *entry) in mc_handle_swap_pte() argument 4420 swp_entry_t ent = pte_to_swp_entry(ptent); in mc_handle_swap_pte() 4436 pte_t ptent, swp_entry_t *entry) in mc_handle_swap_pte() argument 4443 unsigned long addr, pte_t ptent, swp_entry_t *entry) in mc_handle_file_pte() argument 4593 unsigned long addr, pte_t ptent, union mc_target *target) in get_mctgt_type() argument 4599 if (pte_present(ptent)) in get_mctgt_type() 4600 page = mc_handle_present_pte(vma, addr, ptent); in get_mctgt_type() 4601 else if (is_swap_pte(ptent)) in get_mctgt_type() [all …]
|
D | memory.c | 1130 pte_t ptent = *pte; in zap_pte_range() local 1131 if (pte_none(ptent)) { in zap_pte_range() 1135 if (pte_present(ptent)) { in zap_pte_range() 1138 page = vm_normal_page(vma, addr, ptent); in zap_pte_range() 1149 ptent = ptep_get_and_clear_full(mm, addr, pte, in zap_pte_range() 1156 if (pte_dirty(ptent)) { in zap_pte_range() 1166 if (pte_young(ptent) && in zap_pte_range() 1173 print_bad_pte(vma, addr, ptent, page); in zap_pte_range() 1186 entry = pte_to_swp_entry(ptent); in zap_pte_range() 1196 print_bad_pte(vma, addr, ptent, NULL); in zap_pte_range()
|
D | vmalloc.c | 68 pte_t ptent = ptep_get_and_clear(&init_mm, addr, pte); in vunmap_pte_range() local 69 WARN_ON(!pte_none(ptent) && !pte_present(ptent)); in vunmap_pte_range()
|