函数逻辑报告 |
Source Code:kernel\bpf\map_in_map.c |
Create Date:2022-07-27 14:30:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_map_meta_alloc
函数原型:struct bpf_map *bpf_map_meta_alloc(int inner_map_ufd)
返回类型:struct bpf_map
参数:
类型 | 参数 | 名称 |
---|---|---|
int | inner_map_ufd |
15 | f等于fdget(inner_map_ufd) |
16 | inner_map等于 error is returned, fd is released.* On success caller should complete fd access with matching fdput() |
31 | 如果inner_map_meta则 |
36 | 如果map_value_has_spin_lock(inner_map)则 |
43 | 如果 The first two cachelines with read-mostly members of which some * are also accessed in fast-path (e.g. ops, max_entries).恒等于array_map_ops则inner_map_meta_size等于sizeof(structbpf_array) |
47 | 如果非inner_map_meta则 |
54 | value_size等于value_size |
68 | 返回:inner_map_meta |
名称 | 描述 |
---|---|
array_of_map_alloc | |
htab_of_map_alloc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |