Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-28 13:25:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_map_offload_lookup_elem

Proto:int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value)

Type:int

Parameter:

TypeParameterName
struct bpf_map *map
void *key
void *value
436  offmap = map_to_offmap(map)
437  ret = -ENODEV
439  lock for reading
440  If netdev Then ret = map_lookup_elem(offmap, key, value)
442  lease a read lock
444  Return ret
Caller
NameDescribe
map_lookup_elem