Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/workqueue.c create_worker() -> pool_allowed_cpus()

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,2160
BUF_SIZE 0 pool (-1),1080,2160
BUF_SIZE 0 pool->manager (-1),128
CAPPED_DATA 0 pool 1
DATA_SOURCE 0 pool $0
BIT_INFO 0 pool->flags 0x0,0xfffffffe
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

kernel/workqueue.c rebind_workers() -> pool_allowed_cpus()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
CAPPED_DATA 0 pool->cpu 1
CAPPED_DATA 0 &pool->workers 1
DATA_SOURCE 0 pool $0
BIT_INFO 0 pool->flags 0x0,0xfffffffe
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &wq_pool_attach_mutex
LOCK2 global &wq_pool_mutex
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

kernel/workqueue.c worker_attach_to_pool() -> pool_allowed_cpus()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
BUF_SIZE 0 pool (-1),1080,2160
BUF_SIZE 0 pool (-1),1080,2160
BUF_SIZE 0 pool->manager (-1),128
DATA_SOURCE 0 pool $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &wq_pool_attach_mutex