Lines Matching refs:ent
5390 swp_entry_t ent; member
5425 swp_entry_t ent = pte_to_swp_entry(ptent); in mc_handle_swap_pte() local
5435 if (is_device_private_entry(ent)) { in mc_handle_swap_pte()
5436 page = device_private_entry_to_page(ent); in mc_handle_swap_pte()
5446 if (non_swap_entry(ent)) in mc_handle_swap_pte()
5453 page = find_get_page(swap_address_space(ent), swp_offset(ent)); in mc_handle_swap_pte()
5455 entry->val = ent.val; in mc_handle_swap_pte()
5632 swp_entry_t ent = { .val = 0 }; in get_mctgt_type() local
5637 page = mc_handle_swap_pte(vma, ptent, &ent); in get_mctgt_type()
5639 page = mc_handle_file_pte(vma, addr, ptent, &ent); in get_mctgt_type()
5641 if (!page && !ent.val) in get_mctgt_type()
5663 if (ent.val && !ret && (!page || !PageTransCompound(page)) && in get_mctgt_type()
5664 mem_cgroup_id(mc.from) == lookup_swap_cgroup_id(ent)) { in get_mctgt_type()
5667 target->ent = ent; in get_mctgt_type()
5958 swp_entry_t ent; in mem_cgroup_move_charge_pte_range() local
5991 ent = target.ent; in mem_cgroup_move_charge_pte_range()
5992 if (!mem_cgroup_move_swap_account(ent, mc.from, mc.to)) { in mem_cgroup_move_charge_pte_range()
6578 swp_entry_t ent = { .val = page_private(page), }; in mem_cgroup_try_charge() local
6579 unsigned short id = lookup_swap_cgroup_id(ent); in mem_cgroup_try_charge()