Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_check_all_metas

Proto:static int btf_check_all_metas(struct btf_verifier_env *env)

Type:int

Parameter:

TypeParameterName
struct btf_verifier_env *env
3043  btf = btf
3047  hdr = hdr
3048  cur = nohdr_data + offset of type section
3049  end = cur + length of type section
3051  log_type_id = 1
3052  When cur < end cycle
3053  t = cur
3056  meta_size = btf_check_meta(env, t, end - cur)
3057  If meta_size < 0 Then Return meta_size
3060  btf_add_type(env, t)
3061  cur += meta_size
3062  log_type_id++
3065  Return 0
Caller
NameDescribe
btf_parse_type_sec
btf_parse_vmlinux