Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfscache.c40 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink,
42 static unsigned long nfsd_reply_cache_scan(struct shrinker *shrink,
272 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument
274 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_count()
281 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
283 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_scan()
/fs/
Dmbcache.c270 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument
273 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count()
320 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument
323 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
Dsuper.c61 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument
71 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
118 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument
124 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.h3538 unsigned long f2fs_shrink_count(struct shrinker *shrink,
3540 unsigned long f2fs_shrink_scan(struct shrinker *shrink,
/fs/ocfs2/
Dreservations.c664 unsigned int shrink; in ocfs2_cannibalize_resv() local
666 shrink = min_bits; in ocfs2_cannibalize_resv()
668 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
670 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv()
673 resv->r_len = shrink; in ocfs2_cannibalize_resv()
/fs/ubifs/
Dshrinker.c267 unsigned long ubifs_shrink_count(struct shrinker *shrink, in ubifs_shrink_count() argument
279 unsigned long ubifs_shrink_scan(struct shrinker *shrink, in ubifs_shrink_scan() argument
Dubifs.h1880 unsigned long ubifs_shrink_scan(struct shrinker *shrink,
1882 unsigned long ubifs_shrink_count(struct shrinker *shrink,
/fs/erofs/
Dutils.c256 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument
262 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
/fs/xfs/
Dxfs_buf.c1666 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument
1669 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_scan()
1689 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument
1692 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_count()
Dxfs_qm.c496 struct shrinker *shrink, in xfs_qm_shrink_scan() argument
499 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_scan()
531 struct shrinker *shrink, in xfs_qm_shrink_count() argument
534 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_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.c2211 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_scan() argument
2223 nfs_access_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_count() argument
/fs/ext4/
Dextents_status.c1533 static unsigned long ext4_es_count(struct shrinker *shrink, in ext4_es_count() argument
1539 sbi = container_of(shrink, struct ext4_sb_info, s_es_shrinker); in ext4_es_count()
1545 static unsigned long ext4_es_scan(struct shrinker *shrink, in ext4_es_scan() argument
1548 struct ext4_sb_info *sbi = container_of(shrink, in ext4_es_scan()
Dinode.c5659 int shrink = (attr->ia_size < inode->i_size); in ext4_setattr() local
5673 if (shrink) { in ext4_setattr()
5701 if (ext4_handle_valid(handle) && shrink) { in ext4_setattr()
5709 if (!shrink) { in ext4_setattr()
5729 if (!shrink) { in ext4_setattr()
/fs/gfs2/
Dquota.c163 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, in gfs2_qd_shrink_scan() argument
180 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, in gfs2_qd_shrink_count() argument
Dglock.c1614 static unsigned long gfs2_glock_shrink_scan(struct shrinker *shrink, in gfs2_glock_shrink_scan() argument
1622 static unsigned long gfs2_glock_shrink_count(struct shrinker *shrink, in gfs2_glock_shrink_count() argument
/fs/quota/
Ddquot.c719 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_scan() argument
739 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_count() argument