Lines Matching refs:total_objects
65 long total_objects; in super_cache_scan() local
87 total_objects = dentries + inodes + fs_objects + 1; in super_cache_scan()
88 if (!total_objects) in super_cache_scan()
89 total_objects = 1; in super_cache_scan()
92 dentries = mult_frac(sc->nr_to_scan, dentries, total_objects); in super_cache_scan()
93 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan()
94 fs_objects = mult_frac(sc->nr_to_scan, fs_objects, total_objects); in super_cache_scan()
121 long total_objects = 0; in super_cache_count() local
144 total_objects = sb->s_op->nr_cached_objects(sb, sc); in super_cache_count()
146 total_objects += list_lru_shrink_count(&sb->s_dentry_lru, sc); in super_cache_count()
147 total_objects += list_lru_shrink_count(&sb->s_inode_lru, sc); in super_cache_count()
149 if (!total_objects) in super_cache_count()
152 total_objects = vfs_pressure_ratio(total_objects); in super_cache_count()
153 return total_objects; in super_cache_count()