函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:padata_cpu_hash

函数原型:static int padata_cpu_hash(struct parallel_data *pd, unsigned int seq_nr)

返回类型:int

参数:

类型参数名称
struct parallel_data *pd
unsigned intseq_nr
57  cpu_index等于seq_nr取模pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in.
59  返回:padata_index_to_cpu(pd, cpu_index)
调用者
名称描述
padata_do_parallelpadata_do_parallel - padata parallelization function*@ps: padatashell*@padata: object to be parallelized*@cb_cpu: pointer to the CPU that the serialization callback function should* run on. If it's not in the serial cpumask of @pinst* (i