函数逻辑报告 |
Source Code:kernel\bpf\bpf_lru_list.c |
Create Date:2022-07-27 14:29:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Calls __bpf_lru_list_shrink_inactive() to shrink some* ref-bit-cleared nodes and move them to the designated* free list
函数原型:static unsigned int __bpf_lru_list_shrink(struct bpf_lru *lru, struct bpf_lru_list *l, unsigned int tgt_nshrink, struct list_head *free_list, enum bpf_lru_list_type tgt_free_type)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_lru * | lru | |
struct bpf_lru_list * | l | |
unsigned int | tgt_nshrink | |
struct list_head * | free_list | |
enum bpf_lru_list_type | tgt_free_type |
266 | nshrinked等于Shrink the inactive list. It starts from the tail of the* inactive list and only move the nodes without the ref bit* set to the designated free list. |
279 | 如果del_from_htab(del_arg, node)则 |
282 | 返回:1 |
286 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |