Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/xe/
H A Dxe_shrinker.c31 struct shrinker *shrink; member
35 static struct xe_shrinker *to_xe_shrinker(struct shrinker *shrink) in to_xe_shrinker() argument
37 return shrink->private_data; in to_xe_shrinker()
139 xe_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_count() argument
141 struct xe_shrinker *shrinker = to_xe_shrinker(shrink); in xe_shrinker_count()
201 static unsigned long xe_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_scan() argument
203 struct xe_shrinker *shrinker = to_xe_shrinker(shrink); in xe_shrinker_scan()
272 shrinker_free(shrinker->shrink); in xe_shrinker_fini()
290 shrinker->shrink = shrinker_alloc(0, "drm-xe_gem:%s", xe->drm.unique); in xe_shrinker_create()
291 if (!shrinker->shrink) { in xe_shrinker_create()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_pagemap_util.c55 struct shrinker *shrink; member
351 drm_pagemap_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in drm_pagemap_shrinker_count() argument
353 struct drm_pagemap_shrinker *shrinker = shrink->private_data; in drm_pagemap_shrinker_count()
360 drm_pagemap_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in drm_pagemap_shrinker_scan() argument
362 struct drm_pagemap_shrinker *shrinker = shrink->private_data; in drm_pagemap_shrinker_scan()
402 shrinker_free(shrinker->shrink); in drm_pagemap_shrinker_fini()
420 struct shrinker *shrink; in drm_pagemap_shrinker_create_devm() local
427 shrink = shrinker_alloc(0, "drm-drm_pagemap:%s", drm->unique); in drm_pagemap_shrinker_create_devm()
428 if (!shrink) { in drm_pagemap_shrinker_create_devm()
436 shrinker->shrink = shrink; in drm_pagemap_shrinker_create_devm()
[all …]
/linux/scripts/
H A Dbloat-o-meter57 grow, shrink, add, remove, up, down = 0, 0, 0, 0, 0, 0
82 if d<0: shrink, down = shrink+1, down-d
86 return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot
89 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \
92 print("add/remove: %s/%s grow/shrink: %s/%s up/down: %s/%s (%s)" % \
93 (add, remove, grow, shrink, up, -down, up-down))
/linux/arch/powerpc/kernel/
H A Dtau_6xx.c117 int shrink; in tau_timeout() local
130 shrink = (2 + size - min_window) / 4; in tau_timeout()
131 if (shrink) { in tau_timeout()
132 tau[cpu].low += shrink; in tau_timeout()
133 tau[cpu].high -= shrink; in tau_timeout()
/linux/drivers/cpuidle/governors/
H A Dhaltpoll.c96 unsigned int shrink = guest_halt_poll_shrink; in adjust_poll_limit() local
99 if (shrink == 0) { in adjust_poll_limit()
102 val /= shrink; in adjust_poll_limit()
/linux/fs/ubifs/
H A 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
/linux/samples/pktgen/
H A Dfunctions.sh187 local shrink
195 shrink=( $(grep -E -o "$sep{2,}" <<< $addr) )
/linux/fs/f2fs/
H A Dshrinker.c40 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
/linux/drivers/android/binder/
H A Dpage_range.rs662 shrink: *mut bindings::shrinker, in rust_shrink_count()
666 let list_lru = unsafe { (*shrink).private_data.cast::<bindings::list_lru>() }; in rust_shrink_count()
675 shrink: *mut bindings::shrinker, in rust_shrink_scan()
679 let list_lru = unsafe { (*shrink).private_data.cast::<bindings::list_lru>() }; in rust_shrink_scan()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c159 bool (*shrink)(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket); in msm_gem_shrinker_scan() member
183 stages[i].shrink, in msm_gem_shrinker_scan()
/linux/drivers/md/bcache/
H A Dbtree.c665 static unsigned long bch_mca_scan(struct shrinker *shrink, in bch_mca_scan() argument
668 struct cache_set *c = shrink->private_data; in bch_mca_scan()
732 static unsigned long bch_mca_count(struct shrinker *shrink, in bch_mca_count() argument
735 struct cache_set *c = shrink->private_data; in bch_mca_count()
753 if (c->shrink) in bch_btree_cache_free()
754 shrinker_free(c->shrink); in bch_btree_cache_free()
829 c->shrink = shrinker_alloc(0, "md-bcache:%pU", c->set_uuid); in bch_btree_cache_alloc()
830 if (!c->shrink) { in bch_btree_cache_alloc()
835 c->shrink->count_objects = bch_mca_count; in bch_btree_cache_alloc()
836 c->shrink->scan_objects = bch_mca_scan; in bch_btree_cache_alloc()
[all …]
H A Dsysfs.c862 if (c->shrink) in STORE()
863 c->shrink->scan_objects(c->shrink, &sc); in STORE()
/linux/fs/erofs/
H A Dzutil.c242 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument
248 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shmem.c106 const unsigned int shrink[] = { in shmem_sg_alloc_table() local
109 }, *s = shrink; in shmem_sg_alloc_table()
495 .shrink = shmem_shrink,
/linux/Documentation/filesystems/
H A Dbtrfs.rst34 * Online resize (shrink, grow)
/linux/rust/kernel/
H A Did_pool.rs176 pub fn shrink(&mut self, mut resizer: PoolResizer) { in shrink() method
/linux/Documentation/userspace-api/media/v4l/
H A Dselection-api-intro.rst9 shrink or enlarge it to an image of arbitrary size. Next, the devices
/linux/Documentation/virt/
H A Dguest-halt-polling.rst42 Division factor used to shrink per-cpu guest_halt_poll_ns when
/linux/tools/mm/
H A Dslabinfo.c74 int shrink; variable
130 "-s|--shrink Shrink slabs\n" in usage()
334 set_obj(s, "shrink", 1); in slab_shrink()
738 set_obj(s, "shrink", 1); in slab_empty()
1342 else if (shrink) in output_slabs()
1408 { "shrink", no_argument, NULL, 's' },
1486 shrink = 1; in main()
1521 && !validate && !shrink && !set_debug && !show_ops) in main()
/linux/fs/xfs/
H A Dxfs_buf.c1570 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument
1573 struct xfs_buftarg *btp = shrink->private_data; in xfs_buftarg_shrink_scan()
1592 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument
1595 struct xfs_buftarg *btp = shrink->private_data; in xfs_buftarg_shrink_count()
H A Dxfs_icache.c2281 struct shrinker *shrink, in xfs_inodegc_shrinker_count()
2284 struct xfs_mount *mp = shrink->private_data; in xfs_inodegc_shrinker_count()
2302 struct shrinker *shrink, in xfs_inodegc_shrinker_scan()
2305 struct xfs_mount *mp = shrink->private_data; in xfs_inodegc_shrinker_scan()
2279 xfs_inodegc_shrinker_count(struct shrinker * shrink,struct shrink_control * sc) xfs_inodegc_shrinker_count() argument
2300 xfs_inodegc_shrinker_scan(struct shrinker * shrink,struct shrink_control * sc) xfs_inodegc_shrinker_scan() argument
H A Dxfs_qm.c493 struct shrinker *shrink, in xfs_qm_shrink_scan() argument
496 struct xfs_quotainfo *qi = shrink->private_data; in xfs_qm_shrink_scan()
527 struct shrinker *shrink, in xfs_qm_shrink_count() argument
530 struct xfs_quotainfo *qi = shrink->private_data; in xfs_qm_shrink_count()
/linux/include/drm/
H A Ddrm_gem.h619 bool (*shrink)(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket),
/linux/fs/
H A Dsuper.c179 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument
189 sb = shrink->private_data; in super_cache_scan()
236 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument
242 sb = shrink->private_data; in super_cache_count()
/linux/net/sunrpc/
H A Dauth.c475 rpcauth_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_scan() argument
489 rpcauth_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_count() argument

123