Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/proc/base.c oom_adj_write() -> __set_oom_adj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->write | 1-u64max |
| PARAM_VALUE | 1 | oom_adj | (-1000)-(-58),0-823,1000 |
| PARAM_VALUE | 2 | legacy | 1 |
| CAPPED_DATA | 1 | oom_adj | 1 |
| DATA_SOURCE | 0 | file | $0 |
| FUZZY_MAX | 1 | oom_adj | 1000 |
| BIT_INFO | 0 | file->f_mode | 0x40002,0xffffffffffffffff |
| HARD_MAX | 1 | oom_adj | 1000 |
| USER_DATA | 1 | oom_adj | (-941)-(-58),0-823[c] |
fs/proc/base.c oom_score_adj_write() -> __set_oom_adj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->write | 1-u64max |
| PARAM_VALUE | 1 | oom_adj | (-1000)-1000 |
| PARAM_VALUE | 2 | legacy | 0 |
| DATA_SOURCE | 0 | file | $0 |
| FUZZY_MAX | 1 | oom_adj | 1000 |
| BIT_INFO | 0 | file->f_mode | 0x40002,0xffffffffffffffff |
| HARD_MAX | 1 | oom_adj | 1000 |
| USER_DATA | 1 | oom_adj | (-1000)-1000 |