Home
last modified time | relevance | path

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

/fs/nfs/
Dnfs42xattr.c791 static unsigned long nfs4_xattr_cache_count(struct shrinker *shrink,
793 static unsigned long nfs4_xattr_entry_count(struct shrinker *shrink,
795 static unsigned long nfs4_xattr_cache_scan(struct shrinker *shrink,
797 static unsigned long nfs4_xattr_entry_scan(struct shrinker *shrink,
859 nfs4_xattr_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_scan() argument
880 nfs4_xattr_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_count() argument
940 nfs4_xattr_entry_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_scan() argument
947 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_scan()
970 nfs4_xattr_entry_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_count() argument
975 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_count()
Dinternal.h392 extern unsigned long nfs_access_cache_count(struct shrinker *shrink,
394 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
Ddir.c2396 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_scan() argument
2408 nfs_access_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_count() argument
/fs/nfsd/
Dnfscache.c41 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink,
43 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.c330 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument
333 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count()
370 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument
373 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.c37 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() argument
73 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan() argument
Df2fs.h4108 unsigned long f2fs_shrink_count(struct shrinker *shrink,
4110 unsigned long f2fs_shrink_scan(struct shrinker *shrink,
/fs/ocfs2/
Dreservations.c661 unsigned int shrink; in ocfs2_cannibalize_resv() local
663 shrink = min_bits; in ocfs2_cannibalize_resv()
665 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
667 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv()
670 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.h1888 unsigned long ubifs_shrink_scan(struct shrinker *shrink,
1890 unsigned long ubifs_shrink_count(struct shrinker *shrink,
/fs/erofs/
Dutils.c216 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument
222 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
/fs/xfs/
Dxfs_qm.c500 struct shrinker *shrink, in xfs_qm_shrink_scan() argument
503 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_scan()
535 struct shrinker *shrink, in xfs_qm_shrink_count() argument
538 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_count()
Dxfs_buf.c1911 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument
1914 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_scan()
1934 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument
1937 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_count()
/fs/ext4/
Dextents_status.c1632 static unsigned long ext4_es_count(struct shrinker *shrink, in ext4_es_count() argument
1638 sbi = container_of(shrink, struct ext4_sb_info, s_es_shrinker); in ext4_es_count()
1644 static unsigned long ext4_es_scan(struct shrinker *shrink, in ext4_es_scan() argument
1647 struct ext4_sb_info *sbi = container_of(shrink, in ext4_es_scan()
Dinode.c5511 int shrink = (attr->ia_size < inode->i_size); in ext4_setattr() local
5527 if (shrink) { in ext4_setattr()
5555 if (ext4_handle_valid(handle) && shrink) { in ext4_setattr()
5563 if (!shrink) { in ext4_setattr()
5568 if (shrink) in ext4_setattr()
5600 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.c1848 static unsigned long gfs2_glock_shrink_scan(struct shrinker *shrink, in gfs2_glock_shrink_scan() argument
1856 static unsigned long gfs2_glock_shrink_count(struct shrinker *shrink, in gfs2_glock_shrink_count() argument
/fs/quota/
Ddquot.c782 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_scan() argument
802 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_count() argument