Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__btf_name_valid

Proto:static bool __btf_name_valid(const struct btf *btf, u32 offset, bool dot_ok)

Type:bool

Parameter:

TypeParameterName
const struct btf *btf
u32offset
booldot_ok
528  src = strings[offset]
531  If Not __btf_name_char_ok( * src, true, dot_ok) Then Return false
535  src_limit = src + KSYM_NAME_LEN
536  src++
537  When src && src < src_limit cycle
538  If Not __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) Then Return false
540  src++
543  Return Not src
Caller
NameDescribe
btf_name_valid_identifierOnly C-style identifier is permitted. This can be relaxed if* necessary.
btf_name_valid_section
btf_var_check_meta