Lines Matching refs:map
10 struct page **map; member
51 ctrl->map[idx] = page; in swap_cgroup_prepare()
60 __free_page(ctrl->map[idx]); in swap_cgroup_prepare()
71 mappage = ctrl->map[offset / SC_PER_PAGE]; in __lookup_swap_cgroup()
187 ctrl->map = array; in swap_cgroup_swapon()
191 ctrl->map = NULL; in swap_cgroup_swapon()
208 struct page **map; in swap_cgroup_swapoff() local
217 map = ctrl->map; in swap_cgroup_swapoff()
219 ctrl->map = NULL; in swap_cgroup_swapoff()
223 if (map) { in swap_cgroup_swapoff()
225 struct page *page = map[i]; in swap_cgroup_swapoff()
231 vfree(map); in swap_cgroup_swapoff()