函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__btf_type_is_struct

函数原型:static bool __btf_type_is_struct(const struct btf_type *t)

返回类型:bool

参数:

类型参数名称
const struct btf_type *t
367  返回: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)恒等于Struct
调用者
名称描述
btf_find_spin_lockd 'struct bpf_spin_lock' in map value.* return >= 0 offset if found* and < 0 in case of error
btf_parse_vmlinux