/fs/nfs/ |
D | nfs42xattr.c | 790 static unsigned long nfs4_xattr_cache_count(struct shrinker *shrink, 792 static unsigned long nfs4_xattr_entry_count(struct shrinker *shrink, 794 static unsigned long nfs4_xattr_cache_scan(struct shrinker *shrink, 796 static unsigned long nfs4_xattr_entry_scan(struct shrinker *shrink, 858 nfs4_xattr_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_scan() argument 879 nfs4_xattr_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_count() argument 939 nfs4_xattr_entry_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_scan() argument 946 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_scan() 969 nfs4_xattr_entry_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_count() argument 974 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_count()
|
D | internal.h | 385 extern unsigned long nfs_access_cache_count(struct shrinker *shrink, 387 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
|
D | dir.c | 2854 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_scan() argument 2866 nfs_access_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_count() argument
|
/fs/ |
D | mbcache.c | 293 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument 296 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() 333 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument 336 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
|
D | super.c | 185 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument 195 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan() 242 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument 248 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
|
/fs/nfsd/ |
D | nfscache.c | 41 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink, 43 static unsigned long nfsd_reply_cache_scan(struct shrinker *shrink, 303 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument 305 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_count() 323 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument 325 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_scan()
|
D | nfs4state.c | 4397 nfsd4_state_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd4_state_shrinker_count() argument 4400 struct nfsd_net *nn = container_of(shrink, in nfsd4_state_shrinker_count() 4412 nfsd4_state_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd4_state_shrinker_scan() argument
|
/fs/xfs/ |
D | xfs_icache.c | 2167 struct shrinker *shrink, in xfs_inodegc_shrinker_count() argument 2170 struct xfs_mount *mp = container_of(shrink, struct xfs_mount, in xfs_inodegc_shrinker_count() 2189 struct shrinker *shrink, in xfs_inodegc_shrinker_scan() argument 2192 struct xfs_mount *mp = container_of(shrink, struct xfs_mount, in xfs_inodegc_shrinker_scan() 2229 struct shrinker *shrink = &mp->m_inodegc_shrinker; in xfs_inodegc_register_shrinker() local 2231 shrink->count_objects = xfs_inodegc_shrinker_count; in xfs_inodegc_register_shrinker() 2232 shrink->scan_objects = xfs_inodegc_shrinker_scan; in xfs_inodegc_register_shrinker() 2233 shrink->seeks = 0; in xfs_inodegc_register_shrinker() 2234 shrink->flags = SHRINKER_NONSLAB; in xfs_inodegc_register_shrinker() 2235 shrink->batch = XFS_INODEGC_SHRINKER_BATCH; in xfs_inodegc_register_shrinker() [all …]
|
D | xfs_qm.c | 504 struct shrinker *shrink, in xfs_qm_shrink_scan() argument 507 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_scan() 539 struct shrinker *shrink, in xfs_qm_shrink_count() argument 542 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_count()
|
D | xfs_buf.c | 1913 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument 1916 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_scan() 1936 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument 1939 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_count()
|
/fs/ocfs2/ |
D | reservations.c | 657 unsigned int shrink; in ocfs2_cannibalize_resv() local 659 shrink = min_bits; in ocfs2_cannibalize_resv() 661 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv() 663 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv() 666 resv->r_len = shrink; in ocfs2_cannibalize_resv()
|
/fs/f2fs/ |
D | shrinker.c | 40 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() argument 79 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan() argument
|
D | f2fs.h | 4191 unsigned long f2fs_shrink_count(struct shrinker *shrink, 4193 unsigned long f2fs_shrink_scan(struct shrinker *shrink,
|
/fs/ubifs/ |
D | shrinker.c | 267 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
|
D | ubifs.h | 1917 unsigned long ubifs_shrink_scan(struct shrinker *shrink, 1919 unsigned long ubifs_shrink_count(struct shrinker *shrink,
|
/fs/erofs/ |
D | zutil.c | 379 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument 385 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
|
/fs/ext4/ |
D | extents_status.c | 1631 static unsigned long ext4_es_count(struct shrinker *shrink, in ext4_es_count() argument 1637 sbi = container_of(shrink, struct ext4_sb_info, s_es_shrinker); in ext4_es_count() 1643 static unsigned long ext4_es_scan(struct shrinker *shrink, in ext4_es_scan() argument 1646 struct ext4_sb_info *sbi = container_of(shrink, in ext4_es_scan()
|
D | inode.c | 5398 int shrink = (attr->ia_size < inode->i_size); in ext4_setattr() local 5414 if (shrink) { in ext4_setattr() 5442 if (ext4_handle_valid(handle) && shrink) { in ext4_setattr() 5450 if (!shrink) in ext4_setattr() 5453 if (shrink) in ext4_setattr() 5485 if (!shrink) { in ext4_setattr()
|
/fs/jbd2/ |
D | journal.c | 1290 static unsigned long jbd2_journal_shrink_scan(struct shrinker *shrink, in jbd2_journal_shrink_scan() argument 1293 journal_t *journal = container_of(shrink, journal_t, j_shrinker); in jbd2_journal_shrink_scan() 1316 static unsigned long jbd2_journal_shrink_count(struct shrinker *shrink, in jbd2_journal_shrink_count() argument 1319 journal_t *journal = container_of(shrink, journal_t, j_shrinker); in jbd2_journal_shrink_count()
|
/fs/pstore/ |
D | Kconfig | 22 Can be enlarged if needed, not recommended to shrink it.
|
/fs/gfs2/ |
D | quota.c | 176 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, in gfs2_qd_shrink_scan() argument 193 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, in gfs2_qd_shrink_count() argument
|
D | glock.c | 2066 static unsigned long gfs2_glock_shrink_scan(struct shrinker *shrink, in gfs2_glock_shrink_scan() argument 2074 static unsigned long gfs2_glock_shrink_count(struct shrinker *shrink, in gfs2_glock_shrink_count() argument
|
/fs/quota/ |
D | dquot.c | 782 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
|