Function report |
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 activity | Download SCCT | Chinese |
Name:reuseport_array_lookup_elem
Proto:static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| void * | key |
| 51 | array = reuseport_array(map) |
| 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]) |
| Name | Describe |
|---|---|
| bpf_fd_reuseport_array_lookup_elem |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |