函数逻辑报告 |
Source Code:kernel\bpf\bpf_lru_list.c |
Create Date:2022-07-27 14:29:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_lru_list_pop_free_to_local
函数原型:static void bpf_lru_list_pop_free_to_local(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_lru * | lru | |
struct bpf_lru_locallist * | loc_l |
323 | nfree等于0 |
325 | raw_spin_lock( & lock) |
335 | 如果nfree先自加恒等于LOCAL_FREE_TARGET则退出 |
339 | 如果nfree小于LOCAL_FREE_TARGET则Calls __bpf_lru_list_shrink_inactive() to shrink some* ref-bit-cleared nodes and move them to the designated* free list |
344 | raw_spin_unlock( & lock) |
名称 | 描述 |
---|---|
bpf_common_lru_pop_free |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |