Home
last modified time | relevance | path

Searched refs:shrink (Results 1 – 17 of 17) sorted by relevance

/fs/
Dmbcache.c267 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument
270 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count()
317 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument
321 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
Dsuper.c56 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument
66 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
113 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument
119 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
/fs/f2fs/
Dshrinker.c42 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() argument
78 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan() argument
Df2fs.h3185 unsigned long f2fs_shrink_count(struct shrinker *shrink,
3187 unsigned long f2fs_shrink_scan(struct shrinker *shrink,
/fs/ocfs2/
Dreservations.c672 unsigned int shrink; in ocfs2_cannibalize_resv() local
674 shrink = min_bits; in ocfs2_cannibalize_resv()
676 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
678 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv()
681 resv->r_len = shrink; in ocfs2_cannibalize_resv()
/fs/nfsd/
Dnfscache.c66 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink,
68 static unsigned long nfsd_reply_cache_scan(struct shrinker *shrink,
271 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument
277 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
/fs/ubifs/
Dshrinker.c279 unsigned long ubifs_shrink_count(struct shrinker *shrink, in ubifs_shrink_count() argument
291 unsigned long ubifs_shrink_scan(struct shrinker *shrink, in ubifs_shrink_scan() argument
Dubifs.h1622 unsigned long ubifs_shrink_scan(struct shrinker *shrink,
1624 unsigned long ubifs_shrink_count(struct shrinker *shrink,
/fs/ext4/
Dextents_status.c1060 static unsigned long ext4_es_count(struct shrinker *shrink, in ext4_es_count() argument
1066 sbi = container_of(shrink, struct ext4_sb_info, s_es_shrinker); in ext4_es_count()
1072 static unsigned long ext4_es_scan(struct shrinker *shrink, in ext4_es_scan() argument
1075 struct ext4_sb_info *sbi = container_of(shrink, in ext4_es_scan()
Dinode.c5232 int shrink = (attr->ia_size <= inode->i_size); in ext4_setattr() local
5259 if (ext4_handle_valid(handle) && shrink) { in ext4_setattr()
5267 if (!shrink) { in ext4_setattr()
5291 if (!shrink) in ext4_setattr()
5313 if (shrink) in ext4_setattr()
/fs/xfs/
Dxfs_qm.c522 struct shrinker *shrink, in xfs_qm_shrink_scan() argument
525 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_scan()
557 struct shrinker *shrink, in xfs_qm_shrink_count() argument
560 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_count()
Dxfs_buf.c1690 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument
1693 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_scan()
1713 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument
1716 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_count()
/fs/nfs/
Dinternal.h349 extern unsigned long nfs_access_cache_count(struct shrinker *shrink,
351 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
Ddir.c2182 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_scan() argument
2194 nfs_access_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_count() argument
/fs/gfs2/
Dquota.c166 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, in gfs2_qd_shrink_scan() argument
183 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, in gfs2_qd_shrink_count() argument
Dglock.c1409 static unsigned long gfs2_glock_shrink_scan(struct shrinker *shrink, in gfs2_glock_shrink_scan() argument
1417 static unsigned long gfs2_glock_shrink_count(struct shrinker *shrink, in gfs2_glock_shrink_count() argument
/fs/quota/
Ddquot.c703 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_scan() argument
726 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_count() argument