Function report |
Source Code:kernel\bpf\devmap.c |
Create Date:2022-07-28 13:21:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dev_map_free
Proto:static void dev_map_free(struct bpf_map *map)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map |
| 214 | spin_lock( & dev_map_lock) |
| 216 | spin_unlock( & dev_map_lock) |
| 222 | rcu_barrier() |
| 229 | for_each_online_cpu(cpu) |
| 230 | flush_list = per_cpu_ptr(flush_list, cpu) |
| 233 | cond_resched() |
| 236 | If map_type == BPF_MAP_TYPE_DEVMAP_HASH Then |
| 242 | head = dev_map_index_hash(dtab, i) |
| 253 | Else |
| 254 | When i < max_entries cycle |
| 257 | dev = DEVMAP type only [i] |
| 258 | If Not dev Then Continue |
| 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 |