Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:padata_cpu_hash

Proto:static int padata_cpu_hash(struct parallel_data *pd, unsigned int seq_nr)

Type:int

Parameter:

TypeParameterName
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  Return padata_index_to_cpu(pd, cpu_index)
Caller
NameDescribe
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