Function report |
Source Code:fs\super.c |
Create Date:2022-07-28 20:02:20 |
Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:super_cache_count
Proto:static unsigned long super_cache_count(struct shrinker *shrink, struct shrink_control *sc)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct shrinker * | shrink | |
struct shrink_control * | sc |
122 | total_objects = 0 |
142 | smp_rmb() |
144 | If s_op && nr_cached_objects Then 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 | If Not total_objects Then Return SHRINK_EMPTY |
154 | Return total_objects |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |