Home
last modified time | relevance | path

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

/mm/
Dswap_cgroup.c42 struct swap_cgroup_ctrl *ctrl; in swap_cgroup_prepare() local
45 ctrl = &swap_cgroup_ctrl[type]; in swap_cgroup_prepare()
47 for (idx = 0; idx < ctrl->length; idx++) { in swap_cgroup_prepare()
51 ctrl->map[idx] = page; in swap_cgroup_prepare()
60 __free_page(ctrl->map[idx]); in swap_cgroup_prepare()
65 static struct swap_cgroup *__lookup_swap_cgroup(struct swap_cgroup_ctrl *ctrl, in __lookup_swap_cgroup() argument
71 mappage = ctrl->map[offset / SC_PER_PAGE]; in __lookup_swap_cgroup()
80 struct swap_cgroup_ctrl *ctrl; in lookup_swap_cgroup() local
82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
84 *ctrlp = ctrl; in lookup_swap_cgroup()
[all …]