Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_fwd_check_meta

Proto:static s32 btf_fwd_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
1879  If btf_type_vlen(t) Then
1880  btf_verifier_log_type(env, t, "vlen != 0")
1881  Return -EINVAL
1884  If type Then
1885  btf_verifier_log_type(env, t, "type != 0")
1886  Return -EINVAL
1890  If Not name_off || Not Only C-style identifier is permitted. This can be relaxed if* necessary. Then
1892  btf_verifier_log_type(env, t, "Invalid name")
1893  Return -EINVAL
1896  btf_verifier_log_type(env, t, NULL)
1898  Return 0