Function report |
Source Code:kernel\bpf\reuseport_array.c |
Create Date:2022-07-28 13:29:32 |
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 only
Proto:static int reuseport_array_delete_elem(struct bpf_map *map, void *key)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_map * | map | |
void * | key |
63 | array = reuseport_array(map) |
68 | If index >= max_entries Then Return -E2BIG |
74 | spin_lock_bh( & reuseport_lock) |
78 | If sk Then |
79 | write_lock_bh( & sk_callback_lock) |
80 | WRITE_ONCE(sk_user_data, NULL) |
82 | write_unlock_bh( & sk_callback_lock) |
83 | err = 0 |
84 | Else |
88 | spin_unlock_bh( & reuseport_lock) |
90 | Return err |
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 |