Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/oom_kill.c oom_evaluate_task() -> oom_badness()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->signal | 4096-ptr_max |
| PARAM_VALUE | 0 | p->signal->oom_flag_origin | 0 |
| PARAM_VALUE | 0 | p->tgid | s32min-0,2-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &oom_lock | ||
| HALF_LOCKED2 | rcu_read |
fs/proc/base.c proc_oom_score() -> oom_badness()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |