Home
last modified time | relevance | path

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

/mm/
Doom_kill.c75 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument
77 return oc->memcg != NULL; in is_memcg_oom()
94 struct oom_control *oc) in oom_cpuset_eligible() argument
98 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible()
100 if (is_memcg_oom(oc)) in oom_cpuset_eligible()
128 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() argument
163 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument
165 return oc->order == -1; in is_sysrq_oom()
258 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument
262 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()
[all …]
Dmemcontrol.c1638 struct oom_control oc = { in mem_cgroup_out_of_memory() local
1657 ret = task_is_dying() || out_of_memory(&oc); in mem_cgroup_out_of_memory()
Dvmscan.c4311 struct oom_control oc = { in lru_gen_age_node() local
4315 out_of_memory(&oc); in lru_gen_age_node()
Dpage_alloc.c4516 struct oom_control oc = { in __alloc_pages_may_oom() local
4582 if (out_of_memory(&oc) || WARN_ON_ONCE(gfp_mask & __GFP_NOFAIL)) { in __alloc_pages_may_oom()