Function report |
Source Code:kernel\bpf\arraymap.c |
Create Date:2022-07-28 13:11:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fd_array_map_delete_elem
Proto:static int fd_array_map_delete_elem(struct bpf_map *map, void *key)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| void * | key |
| 609 | If index >= max_entries Then Return -E2BIG |
| 612 | If map_poke_run Then |
| 613 | mutex_lock( & poke_mutex) |
| 615 | map_poke_run(map, index, old_ptr, NULL) |
| 617 | Else |
| 621 | If old_ptr Then |
| 622 | map_fd_put_ptr(old_ptr) |
| 623 | Return 0 |
| 624 | Else |
| 625 | Return -ENOENT |
| Name | Describe |
|---|---|
| bpf_fd_array_map_clear | decrement refcnt of all bpf_progs that are stored in this map |
| perf_event_fd_array_release |
| 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 |