Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_func_check_meta

Proto:static s32 btf_func_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left)

Type:s32

Parameter:

TypeParameterName
struct btf_verifier_env *env
const struct btf_type *t
u32meta_left
2618  If Not name_off || Not Only C-style identifier is permitted. This can be relaxed if* necessary. Then
2620  btf_verifier_log_type(env, t, "Invalid name")
2621  Return -EINVAL
2624  If btf_type_vlen(t) Then
2625  btf_verifier_log_type(env, t, "vlen != 0")
2626  Return -EINVAL
2629  If btf_type_kflag(t) Then
2630  btf_verifier_log_type(env, t, "Invalid btf_info kind_flag")
2631  Return -EINVAL
2634  btf_verifier_log_type(env, t, NULL)
2636  Return 0