函数逻辑报告 |
Source Code:kernel\bpf\lpm_trie.c |
Create Date:2022-07-27 14:30:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called from syscall or from eBPF program
函数原型:static int trie_delete_elem(struct bpf_map *map, void *_key)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bpf_map * | map | |
| void * | _key |
| 439 | matchlen等于0 |
| 440 | ret等于0 |
| 445 | raw_spin_lock_irqsave( & lock, irq_flags) |
| 455 | parent = NULL |
| 477 | n_entries自减 |
| 484 | flags或等于Intermediate node |
| 485 | 转到:out |
| 495 | 如果parent且flags按位与Intermediate node 且非child[0]且非child[1]则 |
| 505 | 转到:out |
| 520 | out : |
| 521 | raw_spin_unlock_irqrestore( & lock, irq_flags) |
| 523 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |