Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/workqueue.c alloc_pwq() -> put_unbound_pool()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->attrs 4096-ptr_max
BUF_SIZE 0 pool (-1),1080
BUF_SIZE 0 pool (-1),1080
DATA_SOURCE 0 pool r get_unbound_pool
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &wq_pool_mutex

kernel/workqueue.c get_unbound_pool() -> put_unbound_pool()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->attrs 0,4096-ptr_max
PARAM_VALUE 0 pool->busy_hash 4096-ptr_max
PARAM_VALUE 0 pool->cpu (-1)
PARAM_VALUE 0 pool->flags 0,4-u32max
PARAM_VALUE 0 pool->hash_node.next 0
PARAM_VALUE 0 pool->hash_node.pprev 0
PARAM_VALUE 0 pool->id (-1)-s32max
PARAM_VALUE 0 pool->idle_list.next 4096-ptr_max
PARAM_VALUE 0 pool->idle_list.next->next 4096-ptr_max
PARAM_VALUE 0 pool->idle_list.prev 4096-ptr_max
PARAM_VALUE 0 pool->idle_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pool->idle_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pool->idle_timer.entry.pprev 0
PARAM_VALUE 0 pool->idle_timer.flags 0-4194302
PARAM_VALUE 0 pool->idle_timer.lockdep_map->name 0-255
PARAM_VALUE 0 pool->lock.magic 3735899821
PARAM_VALUE 0 pool->lock.owner (-1)
PARAM_VALUE 0 pool->lock.owner_cpu u32max
PARAM_VALUE 0 pool->mayday_timer.entry.pprev 0
PARAM_VALUE 0 pool->mayday_timer.flags 0-4194302
PARAM_VALUE 0 pool->mayday_timer.lockdep_map->name 0-255
PARAM_VALUE 0 pool->refcnt 1
PARAM_VALUE 0 pool->worker_ida.xa.xa_flags 33554437
PARAM_VALUE 0 pool->worker_ida.xa.xa_head 0
PARAM_VALUE 0 pool->workers.next 4096-ptr_max
PARAM_VALUE 0 pool->workers.next->next 4096-ptr_max
PARAM_VALUE 0 pool->workers.prev 4096-ptr_max
PARAM_VALUE 0 pool->workers.prev->next 4096-ptr_max
PARAM_VALUE 0 pool->workers.prev->prev 4096-ptr_max
PARAM_VALUE 0 pool->worklist.next 4096-ptr_max
PARAM_VALUE 0 pool->worklist.next->next 4096-ptr_max
PARAM_VALUE 0 pool->worklist.prev 4096-ptr_max
PARAM_VALUE 0 pool->worklist.prev->next 4096-ptr_max
PARAM_VALUE 0 pool->worklist.prev->prev 4096-ptr_max
BUF_SIZE 0 pool 1080
DATA_SOURCE 0 pool r _kmalloc_node_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &wq_pool_mutex

kernel/workqueue.c pwq_release_workfn() -> put_unbound_pool()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->cpu s32min-(-1)
HARD_MAX 0 pool->cpu (-1)
NOCHECK_CALL
LOCK2 global &wq_pool_mutex