函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:verify cpu argument to cpumask_* operators

函数原型:static inline unsigned int cpumask_check(unsigned int cpu)

返回类型:unsigned int

参数:

类型参数名称
unsigned intcpu
144  cpu_max_bits_warn(cpu, nr_cpumask_bits)
145  返回:cpu
调用者
名称描述
cpumask_nextpumask_next - get the next cpu in a cpumask*@n: the cpu prior to the place to search (ie. return will be > @n)*@srcp: the cpumask pointer* Returns >= nr_cpu_ids if no further cpus set.
cpumask_next_andpumask_next_and - get the next cpu in *src1p & *src2p*@n: the cpu prior to the place to search (ie. return will be > @n)*@src1p: the first cpumask pointer*@src2p: the second cpumask pointer* Returns >= nr_cpu_ids if no further cpus set in both.
cpumask_any_butpumask_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.
cpumask_set_cpu设置CPU信息
__cpumask_set_cpu
cpumask_clear_cpu清空CPU信息
__cpumask_clear_cpu
cpumask_test_cpu测试CPU信息
cpumask_test_and_set_cpu自动测试并设置CPU信息
cpumask_test_and_clear_cpu自动测试并清空CPU信息