Lines Matching refs:ptent
4725 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()
4808 else if (is_swap_pte(ptent)) in is_target_pte_for_mc()
4809 page = mc_handle_swap_pte(vma, addr, ptent, &ent); in is_target_pte_for_mc()
4810 else if (pte_none(ptent) || pte_file(ptent)) in is_target_pte_for_mc()
4811 page = mc_handle_file_pte(vma, addr, ptent, &ent); in is_target_pte_for_mc()
5015 pte_t ptent = *(pte++); in mem_cgroup_move_charge_pte_range() local
5025 type = is_target_pte_for_mc(vma, addr, ptent, &target); in mem_cgroup_move_charge_pte_range()