Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/workqueue.c pwq_dec_nr_active() -> pwq_activate_first_inactive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pwq | 4096-9223372036854775296 |
| PARAM_VALUE | 0 | pwq->pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pool->cpu | 0-s32max |
| PARAM_VALUE | 1 | fill | 0 |
| DATA_SOURCE | 0 | pwq | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | *irq_flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct worker_pool)->lock |
kernel/workqueue.c unplug_oldest_pwq() -> pwq_activate_first_inactive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pwq | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->plugged | 0 |
| PARAM_VALUE | 0 | pwq->pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pool->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pwq->pool->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | pwq->pool->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | fill | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &wq->mutex | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &pwq->pool->lock | |
| TYPE_LOCK | (struct worker_pool)->lock | ||
| TYPE_LOCK | (struct workqueue_struct)->mutex |
kernel/workqueue.c unplug_oldest_pwq() -> pwq_activate_first_inactive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pwq | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pending_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pending_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->plugged | 0 |
| PARAM_VALUE | 0 | pwq->pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pool->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pwq->pool->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | pwq->pool->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | pwq->pool->worklist.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pool->worklist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pool->worklist.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | fill | 0 |
| PARAM_COMPARE | 0 | &pwq->inactive_works | != $0->inactive_works.next |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &wq->mutex | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &pwq->pool->lock | |
| TYPE_LOCK | (struct worker_pool)->lock | ||
| TYPE_LOCK | (struct workqueue_struct)->mutex |
kernel/workqueue.c wq_adjust_max_active() -> pwq_activate_first_inactive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pwq | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pwq->pool->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pwq->pool->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | pwq->pool->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | fill | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wq->mutex | ||
| LOCK2 | irq_flags | ||
| LOCK2 | 0 | &pwq->pool->lock | |
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &wq_pool_mutex | ||
| TYPE_LOCK | (struct worker_pool)->lock | ||
| TYPE_LOCK | (struct workqueue_struct)->mutex |