Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_modifier_check_member

Proto:static int btf_modifier_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type)

Type:int

Parameter:

TypeParameterName
struct btf_verifier_env *env
const struct btf_type *struct_type
const struct btf_member *member
const struct btf_type *member_type
1569  resolved_type_id = type
1571  btf = btf
1573  resolved_type = btf_type_id_size(btf, & resolved_type_id, NULL)
1574  If Not resolved_type Then
1575  btf_verifier_log_member(env, struct_type, member, "Invalid member")
1577  Return -EINVAL
1580  resolved_member = member
1581  type = resolved_type_id
1583  Return check_member(env, struct_type, & resolved_member, resolved_type)