Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__padata_set_cpumasks

Proto:static int __padata_set_cpumasks(struct padata_instance *pinst, cpumask_var_t pcpumask, cpumask_var_t cbcpumask)

Type:int

Parameter:

TypeParameterName
struct padata_instance *pinst
cpumask_var_tpcpumask
cpumask_var_tcbcpumask
609  valid = If cpumask contains no active cpu, we mark the instance as invalid.
610  If Not valid Then
611  __padata_stop(pinst)
612  Go to out_replace
615  valid = If cpumask contains no active cpu, we mark the instance as invalid.
616  If Not valid Then __padata_stop(pinst)
619  out_replace :
620  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
621  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
623  err = If padata_setup_cpumasks(pinst) Else padata_replace(pinst)
625  If valid Then __padata_start(pinst)
628  Return err
Caller
NameDescribe
padata_set_cpumaskpadata_set_cpumask: Sets specified by @cpumask_type cpumask to the value* equivalent to @cpumask