Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_map_offload_update_elem

Proto:int bpf_map_offload_update_elem(struct bpf_map *map, void *key, void *value, u64 flags)

Type:int

Parameter:

TypeParameterName
struct bpf_map *map
void *key
void *value
u64flags
450  offmap = map_to_offmap(map)
451  ret = -ENODEV
453  If Value for the false possibility is greater at compile time(flags > update existing element ) Then Return -EINVAL
456  lock for reading
457  If netdev Then ret = map_update_elem(offmap, key, value, flags)
460  lease a read lock
462  Return ret
Caller
NameDescribe
map_update_elem