函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__padata_set_cpumasks

函数原型:static int __padata_set_cpumasks(struct padata_instance *pinst, cpumask_var_t pcpumask, cpumask_var_t cbcpumask)

返回类型:int

参数:

类型参数名称
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  如果非valid
611  __padata_stop(pinst)
612  转到:out_replace
615  valid等于If cpumask contains no active cpu, we mark the instance as invalid.
616  如果非valid__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等于如果padata_setup_cpumasks(pinst)否则padata_replace(pinst)
625  如果valid__padata_start(pinst)
628  返回:err
调用者
名称描述
padata_set_cpumaskpadata_set_cpumask: Sets specified by @cpumask_type cpumask to the value* equivalent to @cpumask