Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/workqueue.c apply_wqattrs_prepare() -> alloc_pwq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wq | 4096-ptr_max |
| PARAM_VALUE | 0 | wq->flags | 2-u32max |
| PARAM_VALUE | 0 | *wq->name | 0-255 |
| PARAM_VALUE | 1 | attrs | 4096-ptr_max |
| PARAM_VALUE | 1 | attrs->__pod_cpumask | 1-u64max |
| PARAM_VALUE | 1 | attrs->affn_scope | 0-6 |
| PARAM_VALUE | 1 | attrs->cpumask | 1-u64max |
| BUF_SIZE | 0 | wq | (-1),512,528-8720 |
| BUF_SIZE | 0 | wq | (-1),512,528-8720 |
| BUF_SIZE | 0 | wq->cpu_pwq | (-1),8 |
| BUF_SIZE | 0 | wq->node_nr_active | (-1)-0,16-8208 |
| BUF_SIZE | 0 | wq->unbound_attrs | (-1)-0,40 |
| BUF_SIZE | 1 | attrs | (-1),40 |
| BUF_SIZE | 1 | attrs | (-1),40 |
| DATA_SOURCE | 0 | wq | $0 |
| DATA_SOURCE | 1 | attrs | r alloc_workqueue_attrs_noprof |
| BIT_INFO | 0 | wq->flags | 0x2,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &wq_pool_mutex | ||
| HALF_LOCKED2 | &of->mutex |
kernel/workqueue.c apply_wqattrs_prepare() -> alloc_pwq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wq | 4096-ptr_max |
| PARAM_VALUE | 0 | wq->flags | 2-u32max |
| PARAM_VALUE | 0 | *wq->name | 0-255 |
| PARAM_VALUE | 1 | attrs | 4096-ptr_max |
| PARAM_VALUE | 1 | attrs->__pod_cpumask | 1-u64max |
| PARAM_VALUE | 1 | attrs->affn_scope | 0-6 |
| PARAM_VALUE | 1 | attrs->cpumask | 1-u64max |
| PARAM_VALUE | 1 | attrs->ordered | 0 |
| BUF_SIZE | 0 | wq | (-1),512,528-8720 |
| BUF_SIZE | 0 | wq | (-1),512,528-8720 |
| BUF_SIZE | 0 | wq->cpu_pwq | (-1),8 |
| BUF_SIZE | 0 | wq->node_nr_active | (-1)-0,16-8208 |
| BUF_SIZE | 0 | wq->unbound_attrs | (-1)-0,40 |
| BUF_SIZE | 1 | attrs | (-1),40 |
| BUF_SIZE | 1 | attrs | (-1),40 |
| DATA_SOURCE | 0 | wq | $0 |
| DATA_SOURCE | 1 | attrs | r alloc_workqueue_attrs_noprof |
| BIT_INFO | 0 | wq->flags | 0x2,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &wq_pool_mutex | ||
| HALF_LOCKED2 | &of->mutex |
kernel/workqueue.c unbound_wq_update_pwq() -> alloc_pwq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wq | 4096-ptr_max |
| PARAM_VALUE | 0 | wq->attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | wq->attrs->ordered | 0 |
| PARAM_VALUE | 0 | wq->flags | 2-u32max |
| PARAM_VALUE | 1 | attrs | 4096-ptr_max |
| PARAM_VALUE | 1 | attrs->ordered | 0 |
| DATA_SOURCE | 0 | wq | $0 |
| BIT_INFO | 0 | wq->flags | 0x2,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &wq_pool_mutex |