Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_type_ops

Proto:static const struct btf_kind_operations *btf_type_ops(const struct btf_type *t)

Type:struct btf_kind_operations

Parameter:

TypeParameterName
const struct btf_type *t
505  Return kind_ops[BTF_INFO_KIND( "info" bits arrangement * bits 0-15: vlen (e.g. # of struct's members) * bits 16-23: unused * bits 24-27: kind (e.g. int, ptr, array...etc) * bits 28-30: unused * bit 31: kind_flag, currently used by * struct, union and fwd)]
Caller
NameDescribe
__btf_verifier_log_type
btf_generic_check_kflag_memberUsed for ptr, array and struct/union type members.* int, enum and modifier types have their specific callback functions.
btf_modifier_check_member
btf_modifier_check_kflag_member
btf_modifier_seq_show
btf_var_seq_show
btf_array_seq_show
btf_struct_resolve
btf_struct_seq_show
btf_datasec_seq_show
btf_check_meta
btf_resolve
btf_type_seq_show