函数逻辑报告 |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-27 14:34:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:btf_add_type
函数原型:static int btf_add_type(struct btf_verifier_env *env, struct btf_type *t)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct btf_verifier_env * | env | |
| struct btf_type * | t |
| 823 | 如果types_size减nr_types小于2则 |
| 829 | 如果types_size恒等于Max # of type identifier 则 |
| 830 | btf_verifier_log(env, "Exceeded max num of types") |
| 831 | 返回:负E2BIG |
| 834 | expand_by等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u32, types_size >> 2, 16) |
| 835 | new_size等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u32, Max # of type identifier , types_size + expand_by) |
| 851 | types_size等于new_size |
| 856 | 返回:0 |
| 名称 | 描述 |
|---|---|
| btf_check_all_metas |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |