Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
mm/oom_kill.c __do_sys_process_mrelease() -> find_lock_task_mm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r pidfd_get_task |
mm/oom_kill.c __do_sys_process_mrelease() -> find_lock_task_mm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r pidfd_get_task |
mm/oom_kill.c __oom_kill_process() -> find_lock_task_mm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &oom_lock |
mm/oom_kill.c dump_task() -> find_lock_task_mm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->signal | 4096-ptr_max |
| PARAM_VALUE | 0 | p->tgid | s32min-0,2-s32max |
| DATA_SOURCE | 0 | p | $0 |
| STR_LEN | 0 | p | (-1),13,27,40 |
| STR_LEN | 0 | p | (-1),13,27,40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &oom_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read |
mm/oom_kill.c oom_badness() -> find_lock_task_mm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->tgid | s32min-0,2-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &oom_lock |
fs/proc/base.c __set_oom_adj() -> find_lock_task_mm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->signal | 4096-ptr_max |
| PARAM_VALUE | 0 | p->vfork_done | 0 |
| DATA_SOURCE | 0 | p | r get_proc_task |
| LOCK2 | global &oom_adj_mutex |
kernel/cpu.c clear_tasks_mm_cpumask() -> find_lock_task_mm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-4931338248183341055,4931338248183341057-ptr_max |
| LOCK2 | rcu_read |