Function report | 
Source Code:kernel\bpf\cpumap.c | 
Create Date:2022-07-28 13:23:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:After xchg pointer to bpf_cpu_map_entry, use the call_rcu() to* ensure any driver rcu critical sections have completed, but this* does not guarantee a flush has happened yet. Because driver side* rcu_read_lock/unlock only protects the running XDP program
Proto:static void __cpu_map_entry_replace(struct bpf_cpu_map *cmap, u32 key_cpu, struct bpf_cpu_map_entry *rcpu)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_cpu_map * | cmap | |
| u32 | key_cpu | |
| struct bpf_cpu_map_entry * | rcpu | 
| 447 | old_rcpu = xchg( & Below members specific for map type [key_cpu], rcpu) | 
| 448 | If old_rcpu Then | 
| Name | Describe | 
|---|---|
| cpu_map_delete_elem | |
| cpu_map_update_elem | |
| cpu_map_free | 
| 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  |