Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_parse_type_sec

Proto:static int btf_parse_type_sec(struct btf_verifier_env *env)

Type:int

Parameter:

TypeParameterName
struct btf_verifier_env *env
3178  hdr = hdr
3182  If offset of type section & sizeof(u32) - 1 Then
3183  btf_verifier_log(env, "Unaligned type_off")
3184  Return -EINVAL
3187  If Not length of type section Then
3188  btf_verifier_log(env, "No type found")
3189  Return -EINVAL
3192  err = btf_check_all_metas(env)
3193  If err Then Return err
3196  Return btf_check_all_types(env)
Caller
NameDescribe
btf_parse