Function report |
Source Code:kernel\bpf\stackmap.c |
Create Date:2022-07-28 13:26:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called from syscall or from eBPF program
Proto:static int stack_map_delete_elem(struct bpf_map *map, void *key)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| void * | key |
| 585 | If Value for the false possibility is greater at compile time(id >= n_buckets) Then Return -E2BIG |
| 588 | old_bucket = xchg( & buckets[id], NULL) |
| 589 | If old_bucket Then |
| 590 | pcpu_freelist_push( & freelist, & fnode) |
| 591 | Return 0 |
| 592 | Else |
| 593 | Return -ENOENT |
| 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 |