Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:18:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btf_modifier_check_member
Proto:static int btf_modifier_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct btf_verifier_env * | env | |
const struct btf_type * | struct_type | |
const struct btf_member * | member | |
const struct btf_type * | member_type |
1569 | resolved_type_id = type |
1573 | resolved_type = btf_type_id_size(btf, & resolved_type_id, NULL) |
1574 | If Not resolved_type Then |
1575 | btf_verifier_log_member(env, struct_type, member, "Invalid member") |
1577 | Return -EINVAL |
1580 | resolved_member = member |
1581 | type = resolved_type_id |
1583 | Return check_member(env, struct_type, & resolved_member, resolved_type) |
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 |