函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-27 10:27:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:struct workqueue_attrs *alloc_workqueue_attrs(void)

返回类型:struct workqueue_attrs

参数:

3353  attrs等于分配内存并置零
3354  如果非attrs则转到:fail
3356  如果非分配CPU掩码则转到:fail
3359  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
3360  返回:attrs
3361  fail :
3362  _workqueue_attrs - free a workqueue_attrs*@attrs: workqueue_attrs to free* Undo alloc_workqueue_attrs().
3363  返回:NULL
调用者
名称描述
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