Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/padata.c padata_setup_cpumasks() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pinst->lock

kernel/workqueue.c __alloc_workqueue() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

kernel/workqueue.c apply_wqattrs_prepare() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &wq_pool_mutex
HALF_LOCKED2 &of->mutex

kernel/workqueue.c init_worker_pool() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value

kernel/workqueue.c workqueue_init_early() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value
LOCK2 irq

kernel/workqueue.c workqueue_init_early() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value
LOCK2 irq

kernel/workqueue.c workqueue_init_early() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value
LOCK2 irq

kernel/workqueue.c wq_sysfs_prep_attrs() -> alloc_workqueue_attrs_noprof()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &wq_pool_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex