Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/mempolicy.c mempolicy_set_node_perf() -> reduce_interleave_weights()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bw | 4096-ptr_max |
| PARAM_VALUE | 1 | new_iw | 4096-ptr_max |
| BUF_SIZE | 0 | bw | 4 |
| BUF_SIZE | 1 | new_iw | 1-1025 |
| DATA_SOURCE | 0 | bw | r _kmalloc_array_noprof |
| NOCHECK_CALL | |||
| LOCK2 | global &wi_state_lock | ||
| HALF_LOCKED2 | _T->lock |
mm/mempolicy.c weighted_interleave_auto_store() -> reduce_interleave_weights()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bw | 4096-ptr_max |
| PARAM_VALUE | 1 | new_iw | 4096-ptr_max |
| BUF_SIZE | 1 | new_iw | 1-1025 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &wi_state_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |