Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:27:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alloc_workqueue_attrs - allocate a workqueue_attrs* Allocate a new workqueue_attrs, initialize with default settings and* return it.* Return: The allocated new workqueue_attr on success. %NULL on failure.

Proto:struct workqueue_attrs *alloc_workqueue_attrs(void)

Type:struct workqueue_attrs

Parameter:Nothing

3353  attrs = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
3354  If Not attrs Then Go to fail
3356  If Not alloc_cpumask_var( & @cpumask: allowed CPUs, GFP_KERNEL) Then Go to fail
3359  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
3360  Return attrs
3361  fail :
3362  _workqueue_attrs - free a workqueue_attrs*@attrs: workqueue_attrs to free* Undo alloc_workqueue_attrs().
3363  Return NULL
Caller
NameDescribe
init_worker_pool_worker_pool - initialize a newly zalloc'd worker_pool*@pool: worker_pool to initialize* Initialize a newly zalloc'd @pool
apply_wqattrs_prepareallocate the attrs and pwqs for later installation
alloc_workqueue
wq_numa_init
workqueue_init_earlyworkqueue_init_early - early init for workqueue subsystem* This is the first half of two-staged workqueue subsystem initialization* and invoked as soon as the bare basics - memory allocation, cpumasks and* idr are up
padata_setup_cpumasks