函数逻辑报告 |
Source Code:kernel\bpf\helpers.c |
Create Date:2022-07-27 14:22:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:If kernel subsystem is allowing eBPF programs to call this function,* inside its own verifier_ops->get_func_proto() callback it should return* bpf_map_lookup_elem_proto, so that verifier can properly check the arguments* Different map implementations will
函数原型:static inline __attribute__((__always_inline__)) u64 ____bpf_map_lookup_elem(struct bpf_map *map, void *key)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_map * | map | |
void * | key |
28 | WARN_ON_ONCE(!_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section) |
29 | 返回:map_lookup_elem(map, key) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |