Lines Matching refs:reclaim_state
157 struct reclaim_state reclaim_state; member
180 struct reclaim_state *rs) in set_task_reclaim_state()
183 WARN_ON_ONCE(rs && task->reclaim_state); in set_task_reclaim_state()
186 WARN_ON_ONCE(!rs && !task->reclaim_state); in set_task_reclaim_state()
188 task->reclaim_state = rs; in set_task_reclaim_state()
3185 struct reclaim_state *reclaim_state = current->reclaim_state; in shrink_node() local
3295 if (reclaim_state) { in shrink_node()
3296 sc->nr_reclaimed += reclaim_state->reclaimed_slab; in shrink_node()
3297 reclaim_state->reclaimed_slab = 0; in shrink_node()
3820 set_task_reclaim_state(current, &sc.reclaim_state); in try_to_free_pages()
3849 WARN_ON_ONCE(!current->reclaim_state); in mem_cgroup_shrink_node()
3898 set_task_reclaim_state(current, &sc.reclaim_state); in try_to_free_mem_cgroup_pages()
4145 set_task_reclaim_state(current, &sc.reclaim_state); in balance_pgdat()
4610 set_task_reclaim_state(current, &sc.reclaim_state); in shrink_all_memory()
4772 set_task_reclaim_state(p, &sc.reclaim_state); in __node_reclaim()