Lines Matching full:ent
76 static struct swap_cgroup *lookup_swap_cgroup(swp_entry_t ent, in lookup_swap_cgroup() argument
79 pgoff_t offset = swp_offset(ent); in lookup_swap_cgroup()
82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
90 * @ent: swap entry to be cmpxchged
97 unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, in swap_cgroup_cmpxchg() argument
105 sc = lookup_swap_cgroup(ent, &ctrl); in swap_cgroup_cmpxchg()
119 * @ent: the first swap entry to be recorded into
126 unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id, in swap_cgroup_record() argument
133 pgoff_t offset = swp_offset(ent); in swap_cgroup_record()
136 sc = lookup_swap_cgroup(ent, &ctrl); in swap_cgroup_record()
158 * @ent: swap entry to be looked up.
162 unsigned short lookup_swap_cgroup_id(swp_entry_t ent) in lookup_swap_cgroup_id() argument
166 return lookup_swap_cgroup(ent, NULL)->id; in lookup_swap_cgroup_id()