Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_modifier_check_kflag_member

Proto:static int btf_modifier_check_kflag_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
1594  resolved_type_id = type
1596  btf = btf
1598  resolved_type = btf_type_id_size(btf, & resolved_type_id, NULL)
1599  If Not resolved_type Then
1600  btf_verifier_log_member(env, struct_type, member, "Invalid member")
1602  Return -EINVAL
1605  resolved_member = member
1606  type = resolved_type_id
1608  Return check_kflag_member(env, struct_type, & resolved_member, resolved_type)