Home
last modified time | relevance | path

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

/linux-2.6.39/mm/
Dmprotect.c50 pte_t ptent; in change_pte_range() local
52 ptent = ptep_modify_prot_start(mm, addr, pte); in change_pte_range()
53 ptent = pte_modify(ptent, newprot); in change_pte_range()
59 if (dirty_accountable && pte_dirty(ptent)) in change_pte_range()
60 ptent = pte_mkwrite(ptent); in change_pte_range()
62 ptep_modify_prot_commit(mm, addr, pte, ptent); in change_pte_range()
Dmemcontrol.c4725 unsigned long addr, pte_t ptent) in mc_handle_present_pte() argument
4727 struct page *page = vm_normal_page(vma, addr, ptent); in mc_handle_present_pte()
4745 unsigned long addr, pte_t ptent, swp_entry_t *entry) in mc_handle_swap_pte() argument
4749 swp_entry_t ent = pte_to_swp_entry(ptent); in mc_handle_swap_pte()
4766 unsigned long addr, pte_t ptent, swp_entry_t *entry) in mc_handle_file_pte() argument
4780 if (pte_none(ptent)) in mc_handle_file_pte()
4783 pgoff = pte_to_pgoff(ptent); in mc_handle_file_pte()
4799 unsigned long addr, pte_t ptent, union mc_target *target) in is_target_pte_for_mc() argument
4806 if (pte_present(ptent)) in is_target_pte_for_mc()
4807 page = mc_handle_present_pte(vma, addr, ptent); in is_target_pte_for_mc()
[all …]
Dmemory.c924 pte_t ptent = *pte; in zap_pte_range() local
925 if (pte_none(ptent)) { in zap_pte_range()
932 if (pte_present(ptent)) { in zap_pte_range()
935 page = vm_normal_page(vma, addr, ptent); in zap_pte_range()
954 ptent = ptep_get_and_clear_full(mm, addr, pte, in zap_pte_range()
967 if (pte_dirty(ptent)) in zap_pte_range()
969 if (pte_young(ptent) && in zap_pte_range()
976 print_bad_pte(vma, addr, ptent, page); in zap_pte_range()
986 if (pte_file(ptent)) { in zap_pte_range()
988 print_bad_pte(vma, addr, ptent, NULL); in zap_pte_range()
[all …]
Dvmalloc.c42 pte_t ptent = ptep_get_and_clear(&init_mm, addr, pte); in vunmap_pte_range() local
43 WARN_ON(!pte_none(ptent) && !pte_present(ptent)); in vunmap_pte_range()
/linux-2.6.39/fs/proc/
Dtask_mmu.c344 static void smaps_pte_entry(pte_t ptent, unsigned long addr, in smaps_pte_entry() argument
352 if (is_swap_pte(ptent)) { in smaps_pte_entry()
357 if (!pte_present(ptent)) in smaps_pte_entry()
360 page = vm_normal_page(vma, addr, ptent); in smaps_pte_entry()
369 if (pte_young(ptent) || PageReferenced(page)) in smaps_pte_entry()
373 if (pte_dirty(ptent) || PageDirty(page)) in smaps_pte_entry()
379 if (pte_dirty(ptent) || PageDirty(page)) in smaps_pte_entry()
503 pte_t *pte, ptent; in clear_refs_pte_range() local
511 ptent = *pte; in clear_refs_pte_range()
512 if (!pte_present(ptent)) in clear_refs_pte_range()
[all …]