Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pumask_any_but - return a "random" in a cpumask, but not this one.*@mask: the cpumask to search*@cpu: the cpu to ignore.* Often used to find any cpu but smp_processor_id() in a mask.* Returns >= nr_cpu_ids if no cpus set.

Proto:int cpumask_any_but(const struct cpumask *mask, unsigned int cpu)

Type:int

Parameter:

TypeParameterName
const struct cpumask *mask
unsigned intcpu
57  verify cpu argument to cpumask_* operators
58  for_each_cpu(i, mask)
59  If i != cpu Then Break
61  Return i