Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:51:51 |
| Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_map_free_id
Proto:void bpf_map_free_id(struct bpf_map *map, bool do_idr_lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| bool | do_idr_lock |
| 301 | If Not id Then Return |
| 304 | If do_idr_lock Then spin_lock_irqsave( & map_idr_lock, flags) |
| 306 | Else __acquire( & map_idr_lock) |
| 310 | id = 0 |
| 312 | If do_idr_lock Then spin_unlock_irqrestore( & map_idr_lock, flags) |
| 314 | Else __release( & map_idr_lock) |
| Name | Describe |
|---|---|
| __bpf_map_put | decrement map refcnt and schedule it for freeing via workqueue* (unrelying map implementation ops->map_free() might sleep) |
| __bpf_map_offload_destroy |
| 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 |