函数逻辑报告 |
Source Code:fs\super.c |
Create Date:2022-07-29 10:32:20 |
Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:super_cache_count
函数原型:static unsigned long super_cache_count(struct shrinker *shrink, struct shrink_control *sc)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct shrinker * | shrink | |
struct shrink_control * | sc |
122 | total_objects等于0 |
142 | smp_rmb() |
144 | 如果s_op且nr_cached_objects则total_objects等于nr_cached_objects(sb, sc) |
147 | total_objects加等于list_lru_shrink_count( & s_dentry_lru, sc) |
148 | total_objects加等于list_lru_shrink_count( & s_inode_lru, sc) |
150 | 如果非total_objects则返回:SHRINK_EMPTY |
154 | 返回:total_objects |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |