Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:reuseport_array_lookup_elem

Proto:static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
void *key
51  array = reuseport_array(map)
52  index = key
54  If Value for the false possibility is greater at compile time(index >= max_entries) Then Return NULL
57  Return fetch RCU-protected pointer for dereferencing(ptrs[index])
Caller
NameDescribe
bpf_fd_reuseport_array_lookup_elem