Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:18:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_fwd_check_meta
Proto:static s32 btf_fwd_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left)
Type:s32
Parameter:
Type | Parameter | Name |
---|---|---|
struct btf_verifier_env * | env | |
const struct btf_type * | t | |
u32 | meta_left |
1879 | If btf_type_vlen(t) Then |
1880 | btf_verifier_log_type(env, t, "vlen != 0") |
1881 | Return -EINVAL |
1884 | If type Then |
1885 | btf_verifier_log_type(env, t, "type != 0") |
1886 | Return -EINVAL |
1890 | If Not name_off || Not Only C-style identifier is permitted. This can be relaxed if* necessary. Then |
1892 | btf_verifier_log_type(env, t, "Invalid name") |
1893 | Return -EINVAL |
1896 | btf_verifier_log_type(env, t, NULL) |
1898 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |