Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_prog_array_length

Proto:int bpf_prog_array_length(struct bpf_prog_array *array)

Type:int

Parameter:

TypeParameterName
struct bpf_prog_array *array
1879  cnt = 0
1881  When prog cycle If prog != prog Then
1883  cnt++
1884  Return cnt
Caller
NameDescribe
bpf_prog_array_copy_info
__cgroup_bpf_queryMust be called with cgroup_mutex held to avoid races.