Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_next_cpu

Proto:static int get_next_cpu(int cpu)

Type:int

Parameter:

TypeParameterName
intcpu
24  cpu = 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.
25  If cpu >= Setup number of possible processor ids Then cpu = Uniprocessor. Assume all masks are "1".
27  Return cpu
Caller
NameDescribe
bpf_common_lru_pop_free