Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| void * | key | |
| void * | value | |
| u64 | flags |
| 450 | offmap = map_to_offmap(map) |
| 453 | If Value for the false possibility is greater at compile time(flags > update existing element ) Then Return -EINVAL |
| 456 | lock for reading |
| 462 | Return ret |
| Name | Describe |
|---|---|
| map_update_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 |