Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:padata_setup_cpumasks

Proto:static int padata_setup_cpumasks(struct padata_instance *pinst)

Type:int

Parameter:

TypeParameterName
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  If Not attrs Then Return -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  Return err
Caller
NameDescribe
__padata_set_cpumasks
padata_allocpadata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers