Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_prog_array_copy_core

Proto:static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, u32 *prog_ids, u32 request_cnt)

Type:bool

Parameter:

TypeParameterName
struct bpf_prog_array *array
u32 *prog_ids
u32request_cnt
1902  i = 0
1904  When prog cycle
1905  If prog == prog Then Continue
1907  prog_ids[i] = id
1908  If ++i == request_cnt Then
1909  item++
1910  Break
1914  Return Not Not prog
Caller
NameDescribe
bpf_prog_array_copy_to_user
bpf_prog_array_copy_info