Function report |
Source Code:kernel\bpf\xskmap.c |
Create Date:2022-07-28 13:24:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xsk_map_delete_elem
Proto:static int xsk_map_delete_elem(struct bpf_map *map, void *key)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| void * | key |
| 243 | If k >= max_entries Then Return -EINVAL |
| 246 | spin_lock_bh( & Synchronize map updates ) |
| 249 | If old_xs Then xsk_map_sock_delete(old_xs, map_entry) |
| 251 | spin_unlock_bh( & Synchronize map updates ) |
| 253 | Return 0 |
| 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 |