函数逻辑报告 |
Source Code:kernel\bpf\cpumap.c |
Create Date:2022-07-27 14:41:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void __cpu_map_entry_replace(struct bpf_cpu_map *cmap, u32 key_cpu, struct bpf_cpu_map_entry *rcpu)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果old_rcpu则 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |