函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__btf_name_valid

函数原型:static bool __btf_name_valid(const struct btf *btf, u32 offset, bool dot_ok)

返回类型:bool

参数:

类型参数名称
const struct btf *btf
u32offset
booldot_ok
528  src等于strings[offset]
531  如果非__btf_name_char_ok( * src, true, dot_ok)则返回:false
535  src_limit等于srcKSYM_NAME_LEN
536  src自加
537 srcsrc小于src_limit循环
538  如果非__btf_name_char_ok( * src, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., dot_ok)则返回:false
540  src自加
543  返回:非src
调用者
名称描述
btf_name_valid_identifierOnly C-style identifier is permitted. This can be relaxed if* necessary.
btf_name_valid_section
btf_var_check_meta