函数逻辑报告 | 
Source Code:kernel\bpf\cpumap.c | 
Create Date:2022-07-27 14:42:09 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Runs under RCU-read-side, plus in softirq under NAPI protection.* Thus, safe percpu variable access.
函数原型:static int bq_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct bpf_cpu_map_entry * | rcpu | |
| struct xdp_frame * | xdpf | 
| 645 | flush_list等于this_cpu_ptr(flush_list) | 
| 648 | 如果此条件成立可能性小(为编译器优化)(count == 8 == one cacheline on 64-bit archs )则bq_flush_to_queue(bq, true) | 
| 665 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| cpu_map_enqueue | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |