/fs/ext4/ |
D | extents_status.c | 151 int nr_to_scan); 152 static int __ext4_es_shrink(struct ext4_sb_info *sbi, int nr_to_scan, 953 static int __ext4_es_shrink(struct ext4_sb_info *sbi, int nr_to_scan, in __ext4_es_shrink() argument 1000 shrunk = __es_try_to_reclaim_extents(ei, nr_to_scan); in __ext4_es_shrink() 1006 nr_to_scan -= shrunk; in __ext4_es_shrink() 1007 if (nr_to_scan == 0) in __ext4_es_shrink() 1038 nr_shrunk = __es_try_to_reclaim_extents(locked_ei, nr_to_scan); in __ext4_es_shrink() 1067 trace_ext4_es_shrink_count(sbi->s_sb, sc->nr_to_scan, nr); in ext4_es_count() 1076 int nr_to_scan = sc->nr_to_scan; in ext4_es_scan() local 1080 trace_ext4_es_shrink_scan_enter(sbi->s_sb, nr_to_scan, ret); in ext4_es_scan() [all …]
|
/fs/ |
D | internal.h | 117 extern long prune_icache_sb(struct super_block *sb, unsigned long nr_to_scan, 135 extern long prune_dcache_sb(struct super_block *sb, unsigned long nr_to_scan,
|
D | mbcache.c | 252 int nr_to_scan = sc->nr_to_scan; in mb_cache_shrink_scan() local 256 mb_debug("trying to free %d entries", nr_to_scan); in mb_cache_shrink_scan() 258 while ((nr_to_scan-- > 0) && !list_empty(&mb_cache_lru_list)) { in mb_cache_shrink_scan()
|
D | super.c | 87 dentries = mult_frac(sc->nr_to_scan, dentries, total_objects); in super_cache_scan() 88 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan() 98 fs_objects = mult_frac(sc->nr_to_scan, fs_objects, in super_cache_scan()
|
D | inode.c | 754 long prune_icache_sb(struct super_block *sb, unsigned long nr_to_scan, in prune_icache_sb() argument 761 &freeable, &nr_to_scan); in prune_icache_sb()
|
D | dcache.c | 1059 long prune_dcache_sb(struct super_block *sb, unsigned long nr_to_scan, in prune_dcache_sb() argument 1066 &dispose, &nr_to_scan); in prune_dcache_sb()
|
/fs/xfs/ |
D | xfs_icache.c | 1021 int *nr_to_scan) in xfs_reclaim_inodes_ag() argument 1109 *nr_to_scan -= XFS_LOOKUP_BATCH; in xfs_reclaim_inodes_ag() 1113 } while (nr_found && !done && *nr_to_scan > 0); in xfs_reclaim_inodes_ag() 1130 if (skipped && (flags & SYNC_WAIT) && *nr_to_scan > 0) { in xfs_reclaim_inodes_ag() 1142 int nr_to_scan = INT_MAX; in xfs_reclaim_inodes() local 1144 return xfs_reclaim_inodes_ag(mp, mode, &nr_to_scan); in xfs_reclaim_inodes() 1159 int nr_to_scan) in xfs_reclaim_inodes_nr() argument 1165 return xfs_reclaim_inodes_ag(mp, SYNC_TRYLOCK | SYNC_WAIT, &nr_to_scan); in xfs_reclaim_inodes_nr()
|
D | xfs_icache.h | 54 long xfs_reclaim_inodes_nr(struct xfs_mount *mp, int nr_to_scan);
|
D | xfs_buf.c | 1591 unsigned long nr_to_scan = sc->nr_to_scan; in xfs_buftarg_shrink_scan() local 1594 &dispose, &nr_to_scan); in xfs_buftarg_shrink_scan()
|
D | xfs_qm.c | 528 unsigned long nr_to_scan = sc->nr_to_scan; in xfs_qm_shrink_scan() local 537 &nr_to_scan); in xfs_qm_shrink_scan()
|
D | xfs_super.c | 1554 long nr_to_scan, in xfs_fs_free_cached_objects() argument 1557 return xfs_reclaim_inodes_nr(XFS_M(sb), nr_to_scan); in xfs_fs_free_cached_objects()
|
/fs/nfs/ |
D | dir.c | 2107 nfs_do_access_cache_scan(unsigned int nr_to_scan) in nfs_do_access_cache_scan() argument 2118 if (nr_to_scan-- == 0) in nfs_do_access_cache_scan() 2149 int nr_to_scan = sc->nr_to_scan; in nfs_access_cache_scan() local 2154 return nfs_do_access_cache_scan(nr_to_scan); in nfs_access_cache_scan() 2169 unsigned int nr_to_scan; in nfs_access_cache_enforce_limit() local 2173 nr_to_scan = 100; in nfs_access_cache_enforce_limit() 2175 if (diff < nr_to_scan) in nfs_access_cache_enforce_limit() 2176 nr_to_scan = diff; in nfs_access_cache_enforce_limit() 2177 nfs_do_access_cache_scan(nr_to_scan); in nfs_access_cache_enforce_limit()
|
/fs/f2fs/ |
D | shrinker.c | 81 unsigned long nr = sc->nr_to_scan; in f2fs_shrink_scan()
|
/fs/ubifs/ |
D | shrinker.c | 294 unsigned long nr = sc->nr_to_scan; in ubifs_shrink_scan()
|
/fs/quota/ |
D | dquot.c | 704 while (head != &free_dquots && sc->nr_to_scan) { in dqcache_shrink_scan() 710 sc->nr_to_scan--; in dqcache_shrink_scan()
|
/fs/gfs2/ |
D | quota.c | 175 &dispose, &sc->nr_to_scan); in gfs2_qd_shrink_scan()
|
D | glock.c | 1450 return gfs2_scan_glock_lru(sc->nr_to_scan); in gfs2_glock_shrink_scan()
|