函数逻辑报告 |
Source Code:kernel\bpf\local_storage.c |
Create Date:2022-07-27 14:31:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:cgroup_storage_check_btf
函数原型:static int cgroup_storage_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct bpf_map * | map | |
| const struct btf * | btf | |
| const struct btf_type * | key_type | |
| const struct btf_type * | value_type |
| 360 | size等于sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structbpf_cgroup_storage_key, cgroup_inode_id) |
| 367 | m自加 |
| 368 | offset等于offsetof(structbpf_cgroup_storage_key, attach_type) |
| 369 | size等于sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structbpf_cgroup_storage_key, attach_type) |
| 373 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |