Lines Matching defs:reclaim_state
174 struct reclaim_state reclaim_state;
254 struct reclaim_state *rs)
257 WARN_ON_ONCE(rs && task->reclaim_state);
260 WARN_ON_ONCE(!rs && !task->reclaim_state);
262 task->reclaim_state = rs;
272 * Currently, reclaim_state->reclaimed includes three types of pages
299 if (current->reclaim_state && root_reclaim(sc)) {
300 sc->nr_reclaimed += current->reclaim_state->reclaimed;
301 current->reclaim_state->reclaimed = 0;
3652 struct lru_gen_mm_walk *walk = current->reclaim_state->mm_walk;
3664 current->reclaim_state->mm_walk = walk;
3671 struct lru_gen_mm_walk *walk = current->reclaim_state->mm_walk;
3676 current->reclaim_state->mm_walk = NULL;
4018 walk = current->reclaim_state ? current->reclaim_state->mm_walk : NULL;
4576 walk = current->reclaim_state->mm_walk;
5462 set_task_reclaim_state(current, &sc.reclaim_state);
6446 set_task_reclaim_state(current, &sc.reclaim_state);
6475 WARN_ON_ONCE(!current->reclaim_state);
6525 set_task_reclaim_state(current, &sc.reclaim_state);
6780 set_task_reclaim_state(current, &sc.reclaim_state);
7254 set_task_reclaim_state(current, &sc.reclaim_state);
7419 set_task_reclaim_state(p, &sc.reclaim_state);