函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-27 14:43:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_map_offload_lookup_elem

函数原型:int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value)

返回类型:int

参数:

类型参数名称
struct bpf_map *map
void *key
void *value
436  offmap等于map_to_offmap(map)
437  ret等于负ENODEV
439  lock for reading
440  如果netdevret等于map_lookup_elem(offmap, key, value)
442  lease a read lock
444  返回:ret
调用者
名称描述
map_lookup_elem