Home
last modified time | relevance | path

Searched refs:ptent (Results 1 – 4 of 4) sorted by relevance

/mm/
Dmprotect.c77 pte_t ptent; in change_pte_range() local
81 ptent = ptep_modify_prot_start(mm, addr, pte); in change_pte_range()
82 if (pte_numa(ptent)) in change_pte_range()
83 ptent = pte_mknonnuma(ptent); in change_pte_range()
84 ptent = pte_modify(ptent, newprot); in change_pte_range()
89 if (dirty_accountable && pte_dirty(ptent) && in change_pte_range()
90 (pte_soft_dirty(ptent) || in change_pte_range()
92 ptent = pte_mkwrite(ptent); in change_pte_range()
93 ptep_modify_prot_commit(mm, addr, pte, ptent); in change_pte_range()
Dmemory.c1091 pte_t ptent = *pte; in zap_pte_range() local
1092 if (pte_none(ptent)) { in zap_pte_range()
1096 if (pte_present(ptent)) { in zap_pte_range()
1099 page = vm_normal_page(vma, addr, ptent); in zap_pte_range()
1118 ptent = ptep_get_and_clear_full(mm, addr, pte, in zap_pte_range()
1127 if (pte_soft_dirty(ptent)) in zap_pte_range()
1134 if (pte_dirty(ptent)) { in zap_pte_range()
1138 if (pte_young(ptent) && in zap_pte_range()
1145 print_bad_pte(vma, addr, ptent, page); in zap_pte_range()
1159 if (pte_file(ptent)) { in zap_pte_range()
[all …]
Dmemcontrol.c5675 unsigned long addr, pte_t ptent) in mc_handle_present_pte() argument
5677 struct page *page = vm_normal_page(vma, addr, ptent); in mc_handle_present_pte()
5696 unsigned long addr, pte_t ptent, swp_entry_t *entry) in mc_handle_swap_pte() argument
5699 swp_entry_t ent = pte_to_swp_entry(ptent); in mc_handle_swap_pte()
5715 unsigned long addr, pte_t ptent, swp_entry_t *entry) in mc_handle_swap_pte() argument
5722 unsigned long addr, pte_t ptent, swp_entry_t *entry) in mc_handle_file_pte() argument
5734 if (pte_none(ptent)) in mc_handle_file_pte()
5737 pgoff = pte_to_pgoff(ptent); in mc_handle_file_pte()
5759 unsigned long addr, pte_t ptent, union mc_target *target) in get_mctgt_type() argument
5766 if (pte_present(ptent)) in get_mctgt_type()
[all …]
Dvmalloc.c64 pte_t ptent = ptep_get_and_clear(&init_mm, addr, pte); in vunmap_pte_range() local
65 WARN_ON(!pte_none(ptent) && !pte_present(ptent)); in vunmap_pte_range()