Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/oom_kill.c __do_sys_process_mrelease() -> task_will_free_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | task->mm | 4096-ptr_max |
| DATA_SOURCE | 0 | task | r find_lock_task_mm |
mm/oom_kill.c __do_sys_process_mrelease() -> task_will_free_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | task->mm | 4096-ptr_max |
| DATA_SOURCE | 0 | task | r find_lock_task_mm |
mm/oom_kill.c oom_kill_process() -> task_will_free_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->alloc_lock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &oom_lock | ||
| LOCK2 | 0 | &task->alloc_lock | |
| TYPE_LOCK | (struct task_struct)->alloc_lock |
mm/oom_kill.c out_of_memory() -> task_will_free_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &oom_lock |