函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称: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)