Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 21 files:

Smatch caller information:

mm/memcontrol.c mem_cgroup_out_of_memory() -> out_of_memory()

Type Parameter Key Value
PARAM_VALUE 0 oc 8867827484302422016
PARAM_VALUE 0 oc->chosen 0
PARAM_VALUE 0 oc->chosen_points 0
PARAM_VALUE 0 oc->constraint 0
PARAM_VALUE 0 oc->memcg 4096-ptr_max
PARAM_VALUE 0 oc->nodemask 0
PARAM_VALUE 0 oc->order 0-3
PARAM_VALUE 0 oc->totalpages 0
PARAM_VALUE 0 oc->zonelist 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &oom_lock
HALF_LOCKED2 &of->mutex

mm/page_alloc.c __alloc_pages_may_oom() -> out_of_memory()

Type Parameter Key Value
PARAM_VALUE 0 oc 4029159243559604224
PARAM_VALUE 0 oc->chosen 0
PARAM_VALUE 0 oc->chosen_points 0
PARAM_VALUE 0 oc->constraint 0
PARAM_VALUE 0 oc->gfp_mask 0-33554431
PARAM_VALUE 0 oc->memcg 0
PARAM_VALUE 0 oc->order 0-3
PARAM_VALUE 0 oc->totalpages 0
PARAM_VALUE 0 oc->zonelist 4096-ptr_max
NOSPEC 0 oc->order
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 oc->order 1-3[c]
USER_DATA 0 oc->order 1-3[c]
LOCK2 global &oom_lock

mm/vmscan.c lru_gen_age_node() -> out_of_memory()

Type Parameter Key Value
PARAM_VALUE 0 oc 103146965698256896
PARAM_VALUE 0 oc->chosen 0
PARAM_VALUE 0 oc->chosen_points 0
PARAM_VALUE 0 oc->constraint 0
PARAM_VALUE 0 oc->memcg 0
PARAM_VALUE 0 oc->nodemask 0
PARAM_VALUE 0 oc->order 0
PARAM_VALUE 0 oc->totalpages 0
PARAM_VALUE 0 oc->zonelist 0
NOCHECK_CALL
LOCK2 global &oom_lock

drivers/tty/sysrq.c moom_callback() -> out_of_memory()

Type Parameter Key Value
PARAM_VALUE 0 oc 8150297048259301376
PARAM_VALUE 0 oc->chosen 0
PARAM_VALUE 0 oc->chosen_points 0
PARAM_VALUE 0 oc->constraint 0
PARAM_VALUE 0 oc->gfp_mask 3264
PARAM_VALUE 0 oc->memcg 0
PARAM_VALUE 0 oc->nodemask 0
PARAM_VALUE 0 oc->order (-1)
PARAM_VALUE 0 oc->totalpages 0
PARAM_VALUE 0 oc->zonelist 4096-ptr_max
LOCK2 global &oom_lock
HALF_LOCKED2 &pool->lock