Function report |
Source Code:kernel\bpf\helpers.c |
Create Date:2022-07-28 13:07:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_map_lookup_elem(struct bpf_map *map, void *key)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
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 | Return map_lookup_elem(map, key) |
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 |