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
320 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
Dsuper.c57 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument
67 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
114 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument
120 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
/fs/f2fs/
Dshrinker.c39 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() argument
75 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan() argument
Df2fs.h3467 unsigned long f2fs_shrink_count(struct shrinker *shrink,
3469 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.c68 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink,
70 static unsigned long nfsd_reply_cache_scan(struct shrinker *shrink,
277 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument
283 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.h1632 unsigned long ubifs_shrink_scan(struct shrinker *shrink,
1634 unsigned long ubifs_shrink_count(struct shrinker *shrink,
/fs/ext4/
Dextents_status.c1061 static unsigned long ext4_es_count(struct shrinker *shrink, in ext4_es_count() argument
1067 sbi = container_of(shrink, struct ext4_sb_info, s_es_shrinker); in ext4_es_count()
1073 static unsigned long ext4_es_scan(struct shrinker *shrink, in ext4_es_scan() argument
1076 struct ext4_sb_info *sbi = container_of(shrink, in ext4_es_scan()
Dinode.c5494 int shrink = (attr->ia_size <= inode->i_size); in ext4_setattr() local
5529 if (ext4_handle_valid(handle) && shrink) { in ext4_setattr()
5537 if (!shrink) { in ext4_setattr()
5561 if (!shrink) in ext4_setattr()
5583 if (shrink) { in ext4_setattr()
/fs/xfs/
Dxfs_qm.c523 struct shrinker *shrink, in xfs_qm_shrink_scan() argument
526 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_scan()
558 struct shrinker *shrink, in xfs_qm_shrink_count() argument
561 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_count()
Dxfs_buf.c1754 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument
1757 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_scan()
1777 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument
1780 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_count()
/fs/nfs/
Dinternal.h354 extern unsigned long nfs_access_cache_count(struct shrinker *shrink,
356 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
Ddir.c2199 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_scan() argument
2211 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.c1518 static unsigned long gfs2_glock_shrink_scan(struct shrinker *shrink, in gfs2_glock_shrink_scan() argument
1526 static unsigned long gfs2_glock_shrink_count(struct shrinker *shrink, in gfs2_glock_shrink_count() argument
/fs/quota/
Ddquot.c706 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_scan() argument
729 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_count() argument