函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:padata_setup_cpumasks

函数原型:static int padata_setup_cpumasks(struct padata_instance *pinst)

返回类型:int

参数:

类型参数名称
struct padata_instance *pinst
358  attrs等于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.
359  如果非attrs则返回:负ENOMEM
363  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
364  err等于apply_workqueue_attrs - apply new workqueue_attrs to an unbound workqueue*@wq: the target workqueue*@attrs: the workqueue_attrs to apply, allocated with alloc_workqueue_attrs()* Apply @attrs to an unbound workqueue @wq
365  _workqueue_attrs - free a workqueue_attrs*@attrs: workqueue_attrs to free* Undo alloc_workqueue_attrs().
367  返回:err
调用者
名称描述
__padata_set_cpumasks
padata_allocpadata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers