Searched refs:oc (Results 1 – 4 of 4) sorted by relevance
75 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument77 return oc->memcg != NULL; in is_memcg_oom()94 struct oom_control *oc) in oom_cpuset_eligible() argument98 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() argument163 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument165 return oc->order == -1; in is_sysrq_oom()258 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument262 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()[all …]
1638 struct oom_control oc = { in mem_cgroup_out_of_memory() local1657 ret = task_is_dying() || out_of_memory(&oc); in mem_cgroup_out_of_memory()
4311 struct oom_control oc = { in lru_gen_age_node() local4315 out_of_memory(&oc); in lru_gen_age_node()
4516 struct oom_control oc = { in __alloc_pages_may_oom() local4582 if (out_of_memory(&oc) || WARN_ON_ONCE(gfp_mask & __GFP_NOFAIL)) { in __alloc_pages_may_oom()