Home
last modified time | relevance | path

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

/mm/
Doom_kill.c67 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument
69 return oc->memcg != NULL; in is_memcg_oom()
86 struct oom_control *oc) in oom_cpuset_eligible() argument
90 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() argument
155 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument
157 return oc->order == -1; in is_sysrq_oom()
252 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument
256 enum zone_type high_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()
[all …]
Dmemcontrol.c1578 struct oom_control oc = { in mem_cgroup_out_of_memory() local
1593 ret = should_force_charge() || out_of_memory(&oc); in mem_cgroup_out_of_memory()
Dpage_alloc.c3795 struct oom_control oc = { in __alloc_pages_may_oom() local
3863 if (out_of_memory(&oc) || WARN_ON_ONCE(gfp_mask & __GFP_NOFAIL)) { in __alloc_pages_may_oom()