函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-27 14:34:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_member_bitfield_size

函数原型:static u32 btf_member_bitfield_size(const struct btf_type *struct_type, const struct btf_member *member)

返回类型:u32

参数:

类型参数名称
const struct btf_type *struct_type
const struct btf_member *member
469  返回:如果btf_type_kflag(struct_type)则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.)否则0
调用者
名称描述
btf_struct_seq_show
btf_struct_access