Searched refs:oc (Results 1 – 3 of 3) sorted by relevance
67 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument69 return oc->memcg != NULL; in is_memcg_oom()86 struct oom_control *oc) in oom_cpuset_eligible() argument90 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible()92 if (is_memcg_oom(oc)) in oom_cpuset_eligible()120 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() argument155 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument157 return oc->order == -1; in is_sysrq_oom()252 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument256 enum zone_type high_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()[all …]
1578 struct oom_control oc = { in mem_cgroup_out_of_memory() local1593 ret = should_force_charge() || out_of_memory(&oc); in mem_cgroup_out_of_memory()
3795 struct oom_control oc = { in __alloc_pages_may_oom() local3863 if (out_of_memory(&oc) || WARN_ON_ONCE(gfp_mask & __GFP_NOFAIL)) { in __alloc_pages_may_oom()