Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-28 13:02:47
Last Modify:2022-05-19 20:02:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_btf_info

Proto:static int check_btf_info(struct bpf_verifier_env *env, const union bpf_attr *attr, union bpf_attr __user *uattr)

Type:int

Parameter:

TypeParameterName
struct bpf_verifier_env *env
const union bpf_attr *attr
union bpf_attr __user *uattr
6919  If Not number of bpf_func_info records && Not number of bpf_line_info records Then Return 0
6922  btf = btf_get_by_fd( fd pointing to BTF type data )
6923  If IS_ERR(btf) Then Return PTR_ERR(btf)
6925  btf = btf
6927  err = check_btf_func(env, attr, uattr)
6928  If err Then Return err
6931  err = check_btf_line(env, attr, uattr)
6932  If err Then Return err
6935  Return 0
Caller
NameDescribe
bpf_check