函数逻辑报告

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_next_wrap - helper to implement for_each_cpu_wrap*@n: the cpu prior to the place to search*@mask: the cpumask pointer*@start: the start point of the iteration*@wrap: assume @n crossing @start terminates the iteration* Returns >= nr_cpu_ids on

函数原型:int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap)

返回类型:int

参数:

类型参数名称
intn
const struct cpumask *mask
intstart
boolwrap
81  again :
82  next等于pumask_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.
84  如果wrapn小于startnext大于等于start
85  返回:nr_cpumask_bits
87  否则如果next大于等于nr_cpumask_bits
88  wrap = true
89  n等于负1
90  转到:again
93  返回:next