Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:btf_member_bitfield_size

Proto:static u32 btf_member_bitfield_size(const struct btf_type *struct_type, const struct btf_member *member)

Type:u32

Parameter:

TypeParameterName
const struct btf_type *struct_type
const struct btf_member *member
469  Return If btf_type_kflag(struct_type) Then If the struct/union type info kind_flag is set, the* following two macros are used to access bitfield_size* and bit_offset from btf_member.offset.(If the type info kind_flag is set, the btf_member offset* contains both member bitfield size and bit offset. The* bitfield size is set for bitfield members. If the type* info kind_flag is not set, the offset contains only bit* offset.) Else 0
Caller
NameDescribe
btf_struct_seq_show
btf_struct_access