Lines Matching refs:memcg
132 struct mem_cgroup *memcg, const nodemask_t *nodemask) in oom_unkillable_task() argument
140 if (memcg && !task_in_mem_cgroup(p, memcg)) in oom_unkillable_task()
159 unsigned long oom_badness(struct task_struct *p, struct mem_cgroup *memcg, in oom_badness() argument
165 if (oom_unkillable_task(p, memcg, nodemask)) in oom_badness()
353 static void dump_tasks(struct mem_cgroup *memcg, const nodemask_t *nodemask) in dump_tasks() argument
361 if (oom_unkillable_task(p, memcg, nodemask)) in dump_tasks()
387 struct mem_cgroup *memcg) in dump_header() argument
394 if (memcg) in dump_header()
395 mem_cgroup_print_oom_info(memcg, p); in dump_header()
399 dump_tasks(memcg, oc->nodemask); in dump_header()
510 struct mem_cgroup *memcg, const char *message) in oom_kill_process() argument
534 dump_header(oc, p, memcg); in oom_kill_process()
562 child_points = oom_badness(child, memcg, oc->nodemask, in oom_kill_process()
636 struct mem_cgroup *memcg) in check_panic_on_oom() argument
652 dump_header(oc, NULL, memcg); in check_panic_on_oom()