Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:18:27 |
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_kflag_member
Proto:static int btf_modifier_check_kflag_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 |
1594 | resolved_type_id = type |
1598 | resolved_type = btf_type_id_size(btf, & resolved_type_id, NULL) |
1599 | If Not resolved_type Then |
1600 | btf_verifier_log_member(env, struct_type, member, "Invalid member") |
1602 | Return -EINVAL |
1605 | resolved_member = member |
1606 | type = resolved_type_id |
1608 | Return check_kflag_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 |