Searched refs:shrink (Results 26 - 50 of 60) sorted by path

123

/linux-master/fs/bcachefs/
H A Dsysfs.c475 c->btree_cache.shrink->scan_objects(c->btree_cache.shrink, &sc);
483 c->btree_key_cache.shrink->scan_objects(c->btree_cache.shrink, &sc);
/linux-master/fs/erofs/
H A Dzutil.c338 /* try to shrink each valid workgroup */
377 static unsigned long erofs_shrink_count(struct shrinker *shrink, argument
383 static unsigned long erofs_shrink_scan(struct shrinker *shrink, argument
398 /* Iterate over all mounted superblocks and try to shrink them */
/linux-master/fs/ext4/
H A Dextents_status.c515 /* Decrease the shrink counter when we can reclaim the extent. */
1629 static unsigned long ext4_es_count(struct shrinker *shrink, argument
1635 sbi = shrink->private_data;
1641 static unsigned long ext4_es_scan(struct shrinker *shrink, argument
1644 struct ext4_sb_info *sbi = shrink->private_data;
1825 ext4_warning(inode->i_sb, "forced shrink of precached extents");
H A Dinode.c5341 int shrink = (attr->ia_size < inode->i_size); local
5357 if (shrink) {
5385 if (ext4_handle_valid(handle) && shrink) {
5391 * update c/mtime in shrink case below
5393 if (!shrink)
5397 if (shrink)
5429 if (!shrink) {
/linux-master/fs/f2fs/
H A Df2fs.h616 /* number of extent info in extent cache we try to shrink */
619 /* number of age extent info in extent cache we try to shrink */
4183 unsigned long f2fs_shrink_count(struct shrinker *shrink,
4185 unsigned long f2fs_shrink_scan(struct shrinker *shrink,
H A Dshrinker.c40 unsigned long f2fs_shrink_count(struct shrinker *shrink, argument
79 unsigned long f2fs_shrink_scan(struct shrinker *shrink, argument
108 /* shrink extent cache entries */
111 /* shrink read extent cache entries */
114 /* shrink clean nat cache entries */
118 /* shrink free nids cache entries */
/linux-master/fs/gfs2/
H A Dglock.c2104 static unsigned long gfs2_glock_shrink_scan(struct shrinker *shrink, argument
2112 static unsigned long gfs2_glock_shrink_count(struct shrinker *shrink, argument
H A Dquota.c176 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, argument
193 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, argument
/linux-master/fs/jbd2/
H A Djournal.c1283 * @shrink: shrinker to work on
1289 static unsigned long jbd2_journal_shrink_scan(struct shrinker *shrink, argument
1292 journal_t *journal = shrink->private_data;
1310 * @shrink: shrinker to work on
1315 static unsigned long jbd2_journal_shrink_count(struct shrinker *shrink, argument
1318 journal_t *journal = shrink->private_data;
/linux-master/fs/
H A Dmbcache.c293 static unsigned long mb_cache_count(struct shrinker *shrink, argument
296 struct mb_cache *cache = shrink->private_data;
332 static unsigned long mb_cache_scan(struct shrinker *shrink, argument
335 struct mb_cache *cache = shrink->private_data;
339 /* We shrink 1/X of the cache when we have too many entries in it */
H A Dsuper.c177 static unsigned long super_cache_scan(struct shrinker *shrink, argument
187 sb = shrink->private_data;
234 static unsigned long super_cache_count(struct shrinker *shrink, argument
240 sb = shrink->private_data;
/linux-master/fs/nfs/
H A Ddir.c1181 * or shrink it if we're reading too many.
2835 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) argument
2847 nfs_access_cache_count(struct shrinker *shrink, struct shrink_control *sc) argument
H A Dinternal.h385 extern unsigned long nfs_access_cache_count(struct shrinker *shrink,
387 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
H A Dnfs42xattr.c790 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,
839 nfs4_xattr_cache_scan(struct shrinker *shrink, struct shrink_control *sc) argument
860 nfs4_xattr_cache_count(struct shrinker *shrink, struct shrink_control *sc) argument
920 nfs4_xattr_entry_scan(struct shrinker *shrink, struct shrink_control *sc) argument
927 lru = (shrink == nfs4_xattr_large_entry_shrinker) ?
950 nfs4_xattr_entry_count(struct shrinker *shrink, struct shrink_control *sc) argument
955 lru = (shrink
[all...]
/linux-master/fs/nfsd/
H A Dnfs4state.c4626 nfsd4_state_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) argument
4629 struct nfsd_net *nn = shrink->private_data;
4640 nfsd4_state_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) argument
H A Dnfscache.c41 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink,
43 static unsigned long nfsd_reply_cache_scan(struct shrinker *shrink,
296 * @shrink: our registered shrinker context
305 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) argument
307 struct nfsd_net *nn = shrink->private_data;
314 * @shrink: our registered shrinker context
324 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) argument
326 struct nfsd_net *nn = shrink->private_data;
/linux-master/fs/ocfs2/
H A Dreservations.c657 unsigned int shrink; local
659 shrink = min_bits;
661 shrink = lru_resv->r_len / 2;
663 lru_resv->r_len -= shrink;
666 resv->r_len = shrink;
/linux-master/fs/quota/
H A Ddquot.c782 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) argument
802 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) argument
/linux-master/fs/ubifs/
H A Dubifs.h1922 unsigned long ubifs_shrink_scan(struct shrinker *shrink,
1924 unsigned long ubifs_shrink_count(struct shrinker *shrink,
/linux-master/fs/xfs/
H A Dxfs_buf.c1989 struct shrinker *shrink,
1992 struct xfs_buftarg *btp = shrink->private_data;
2011 struct shrinker *shrink,
2014 struct xfs_buftarg *btp = shrink->private_data;
1985 xfs_buftarg_shrink_scan( struct shrinker *shrink, struct shrink_control *sc) argument
2007 xfs_buftarg_shrink_count( struct shrinker *shrink, struct shrink_control *sc) argument
H A Dxfs_icache.c2173 struct shrinker *shrink,
2176 struct xfs_mount *mp = shrink->private_data;
2194 struct shrinker *shrink,
2197 struct xfs_mount *mp = shrink->private_data;
2174 xfs_inodegc_shrinker_count( struct shrinker *shrink, struct shrink_control *sc) argument
2195 xfs_inodegc_shrinker_scan( struct shrinker *shrink, struct shrink_control *sc) argument
H A Dxfs_qm.c505 struct shrinker *shrink,
508 struct xfs_quotainfo *qi = shrink->private_data;
539 struct shrinker *shrink,
542 struct xfs_quotainfo *qi = shrink->private_data;
504 xfs_qm_shrink_scan( struct shrinker *shrink, struct shrink_control *sc) argument
538 xfs_qm_shrink_count( struct shrinker *shrink, struct shrink_control *sc) argument
/linux-master/include/drm/
H A Ddrm_gem.h555 bool (*shrink)(struct drm_gem_object *obj));
/linux-master/include/trace/events/
H A Dvmscan.h210 __field(void *, shrink)
222 __entry->shrink = shr->scan_objects;
232 TP_printk("%pS %p: nid: %d objects to shrink %ld gfp_flags %s cache items %ld delta %lld total_scan %ld priority %d",
233 __entry->shrink,
254 __field(void *, shrink)
264 __entry->shrink = shr->scan_objects;
272 __entry->shrink,
/linux-master/kernel/rcu/
H A Dtree.c3829 kfree_rcu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) argument
3847 kfree_rcu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) argument

Completed in 694 milliseconds

123