函数逻辑报告 |
Source Code:kernel\bpf\hashtab.c |
Create Date:2022-07-27 14:26:18 |
Last Modify:2022-05-23 09:15:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called from syscall or from eBPF program
函数原型:static int htab_map_delete_elem(struct bpf_map *map, void *key)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_map * | map | |
void * | key |
1117 | WARN_ON_ONCE(!_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section) |
1121 | hash等于htab_map_hash(key, key_size, hashrnd) |
1122 | b等于__select_bucket(htab, hash) |
1125 | raw_spin_lock_irqsave( & lock, flags) |
1129 | 如果l则 |
1131 | free_htab_elem(htab, l) |
1132 | ret等于0 |
1135 | raw_spin_unlock_irqrestore( & lock, flags) |
1136 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |