Home
last modified time | relevance | path

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

123

/Linux-v4.19/scripts/
Dbloat-o-meter44 grow, shrink, add, remove, up, down = 0, 0, 0, 0, 0, 0
69 if d<0: shrink, down = shrink+1, down-d
74 return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot
77 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \
81 (add, remove, grow, shrink, up, -down, up-down))
/Linux-v4.19/arch/powerpc/kernel/
Dtau_6xx.c145 int shrink; in tau_timeout() local
158 shrink = (2 + size - min_window) / 4; in tau_timeout()
159 if (shrink) { in tau_timeout()
160 tau[cpu].low += shrink; in tau_timeout()
161 tau[cpu].high -= shrink; in tau_timeout()
/Linux-v4.19/mm/
Dzpool.c184 zpool->evictable = driver->shrink && ops && ops->evict; in zpool_create_pool()
301 return zpool->driver->shrink ? in zpool_shrink()
302 zpool->driver->shrink(zpool->pool, pages, reclaimed) : -EINVAL; in zpool_shrink()
/Linux-v4.19/include/trace/events/
Dvmscan.h207 __field(void *, shrink)
219 __entry->shrink = shr->scan_objects;
230 __entry->shrink,
251 __field(void *, shrink)
261 __entry->shrink = shr->scan_objects;
269 __entry->shrink,
/Linux-v4.19/drivers/staging/android/ion/
Dion_heap.c268 if (heap->ops->shrink) in ion_heap_shrink_count()
269 total += heap->ops->shrink(heap, sc->gfp_mask, 0); in ion_heap_shrink_count()
296 if (heap->ops->shrink) in ion_heap_shrink_scan()
297 freed += heap->ops->shrink(heap, sc->gfp_mask, to_scan); in ion_heap_shrink_scan()
Dion.h124 int (*shrink)(struct ion_heap *heap, gfp_t gfp_mask, int nr_to_scan); member
/Linux-v4.19/fs/
Dmbcache.c269 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument
272 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count()
319 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument
322 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
Dsuper.c58 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument
68 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
115 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument
121 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
/Linux-v4.19/fs/f2fs/
Dshrinker.c42 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() argument
78 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan() argument
/Linux-v4.19/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()
/Linux-v4.19/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
/Linux-v4.19/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,
278 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument
284 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
/Linux-v4.19/drivers/staging/erofs/
Dutils.c209 unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument
215 unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
Dinternal.h546 extern unsigned long erofs_shrink_count(struct shrinker *shrink,
548 extern unsigned long erofs_shrink_scan(struct shrinker *shrink,
/Linux-v4.19/include/linux/
Dzpool.h97 int (*shrink)(void *pool, unsigned int pages, member
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dscatterlist.c178 static unsigned int shrink(unsigned long n, in shrink() function
267 shrink,
/Linux-v4.19/drivers/md/bcache/
Dbtree.c669 static unsigned long bch_mca_scan(struct shrinker *shrink, in bch_mca_scan() argument
672 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_scan()
736 static unsigned long bch_mca_count(struct shrinker *shrink, in bch_mca_count() argument
739 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_count()
757 if (c->shrink.list.next) in bch_btree_cache_free()
758 unregister_shrinker(&c->shrink); in bch_btree_cache_free()
819 c->shrink.count_objects = bch_mca_count; in bch_btree_cache_alloc()
820 c->shrink.scan_objects = bch_mca_scan; in bch_btree_cache_alloc()
821 c->shrink.seeks = 4; in bch_btree_cache_alloc()
822 c->shrink.batch = c->btree_pages * 2; in bch_btree_cache_alloc()
[all …]
/Linux-v4.19/Documentation/media/uapi/v4l/
Dselection-api-intro.rst8 shrink or enlarge it to an image of arbitrary size. Next, the devices
/Linux-v4.19/fs/ext4/
Dextents_status.c1060 static unsigned long ext4_es_count(struct shrinker *shrink, in ext4_es_count() argument
1066 sbi = container_of(shrink, struct ext4_sb_info, s_es_shrinker); in ext4_es_count()
1072 static unsigned long ext4_es_scan(struct shrinker *shrink, in ext4_es_scan() argument
1075 struct ext4_sb_info *sbi = container_of(shrink, in ext4_es_scan()
/Linux-v4.19/tools/vm/
Dslabinfo.c74 int shrink; variable
1294 else if (shrink) in output_slabs()
1409 shrink = 1; in main()
1457 && !validate && !shrink && !set_debug && !show_ops) in main()
/Linux-v4.19/drivers/staging/android/
Dashmem.c439 ashmem_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_scan() argument
470 ashmem_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_count() argument
/Linux-v4.19/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,
/Linux-v4.19/drivers/md/
Ddm-bufio.c1599 dm_bufio_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_scan() argument
1604 c = container_of(shrink, struct dm_bufio_client, shrinker); in dm_bufio_shrink_scan()
1616 dm_bufio_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_count() argument
1618 struct dm_bufio_client *c = container_of(shrink, struct dm_bufio_client, shrinker); in dm_bufio_shrink_count()
/Linux-v4.19/fs/xfs/
Dxfs_buf.c1701 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument
1704 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_scan()
1724 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument
1727 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_count()
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()

123