函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:int cpumask_any_but(const struct cpumask *mask, unsigned int cpu)

返回类型:int

参数:

类型参数名称
const struct cpumask *mask
unsigned intcpu
57  verify cpu argument to cpumask_* operators
58  遍历CPU(i, mask)
59  如果i不等于cpu退出
61  返回:i