Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/workqueue.c bh_worker() -> worker_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | worker | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->pool | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->pool->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | worker->pool->nr_running | 0-1 |
| PARAM_VALUE | 1 | flags | 8 |
| CAPPED_DATA | 0 | &worker->scheduled | 1 |
| DATA_SOURCE | 0 | worker | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct worker_pool)->lock |
kernel/workqueue.c process_one_work() -> worker_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | worker | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->current_color | 0-15 |
| PARAM_VALUE | 0 | worker->current_pwq | 4096-9223372036854775296 |
| PARAM_VALUE | 0 | worker->current_work | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->hentry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->hentry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->pool | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->pool->busy_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->scheduled.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->scheduled.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->scheduled.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 64 |
| BUF_SIZE | 0 | worker | (-1),128 |
| BUF_SIZE | 0 | worker | (-1),128 |
| DATA_SOURCE | 0 | worker | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct worker_pool)->lock |
kernel/workqueue.c worker_thread() -> worker_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | worker | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->pool->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | worker->pool->nr_idle | 0-1 |
| PARAM_VALUE | 0 | worker->pool->nr_running | 0-1 |
| PARAM_VALUE | 1 | flags | 8 |
| BUF_SIZE | 0 | worker | 128 |
| BUF_SIZE | 0 | worker | 128 |
| CAPPED_DATA | 0 | &worker->scheduled | 1 |
| DATA_SOURCE | 0 | worker | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct worker_pool)->lock |
kernel/workqueue.c wq_worker_tick() -> worker_set_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | worker | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->current_pwq | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->current_pwq->stats | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->pool | 4096-ptr_max |
| PARAM_VALUE | 0 | worker->pool->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | worker->pool->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | worker->pool->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | worker->sleeping | 0 |
| PARAM_VALUE | 1 | flags | 64 |
| BUF_SIZE | 0 | worker | 128 |
| BUF_SIZE | 0 | worker | 128 |
| DATA_SOURCE | 0 | worker | r kthread_data |
| BIT_INFO | 0 | worker->flags | 0x0,0xfffffe37 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct worker_pool)->lock |