Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:If cpumask contains no active cpu, we mark the instance as invalid.

Proto:static bool padata_validate_cpumask(struct padata_instance *pinst, const struct cpumask *cpumask)

Type:bool

Parameter:

TypeParameterName
struct padata_instance *pinst
const struct cpumask *cpumask
593  If Not pumask_intersects - (*src1p & *src2p) != 0*@src1p: the first input*@src2p: the second input Then
594  flags |= PADATA_INVALID
595  Return false
598  flags &= ~PADATA_INVALID
599  Return true
Caller
NameDescribe
__padata_set_cpumasks
padata_allocpadata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers