Home
last modified time | relevance | path

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

12

/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/scripts/
H A Dbloat-o-meter55 grow, shrink, add, remove, up, down = 0, 0, 0, 0, 0, 0
80 if d<0: shrink, down = shrink+1, down-d
84 return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot
87 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \
91 (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.c98 unsigned int shrink = guest_halt_poll_shrink; in adjust_poll_limit() local
101 if (shrink == 0) { in adjust_poll_limit()
104 val /= shrink; in adjust_poll_limit()
/linux/fs/
H A Dmbcache.c293 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument
296 struct mb_cache *cache = shrink->private_data; in mb_cache_count()
332 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument
335 struct mb_cache *cache = shrink->private_data; in mb_cache_scan()
H A Dsuper.c178 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument
188 sb = shrink->private_data; in super_cache_scan()
235 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument
241 sb = shrink->private_data; in super_cache_count()
/linux/fs/nfsd/
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,
294 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument
296 struct nfsd_net *nn = shrink->private_data; in nfsd_reply_cache_count()
313 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
315 struct nfsd_net *nn = shrink->private_data; in nfsd_reply_cache_scan()
/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/fs/erofs/
H A Dzutil.c243 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument
249 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
/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/drivers/dax/
H A Dbus.c966 resource_size_t shrink; in dev_dax_shrink() local
968 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink()
969 if (shrink >= range_len(range)) { in dev_dax_shrink()
973 to_shrink -= shrink; in dev_dax_shrink()
990 - shrink); in dev_dax_shrink()
/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
1344 else if (shrink) in output_slabs()
1488 shrink = 1; in main()
1523 && !validate && !shrink && !set_debug && !show_ops) in main()
/linux/fs/xfs/
H A Dxfs_buf.c1636 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument
1639 struct xfs_buftarg *btp = shrink->private_data; in xfs_buftarg_shrink_scan()
1658 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument
1661 struct xfs_buftarg *btp = shrink->private_data; in xfs_buftarg_shrink_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
/linux/net/core/
H A Dfilter.c3662 bool shrink = len_diff < 0; in BPF_CALL_4() local
3670 if (!shrink) { in BPF_CALL_4()
3706 bool shrink = len_diff < 0; in BPF_CALL_4() local
3731 if (!shrink) in BPF_CALL_4()
3747 if ((shrink && (len_diff_abs >= len_cur || in BPF_CALL_4()
3749 (!shrink && (skb->len + len_diff_abs > len_max && in BPF_CALL_4()
3753 ret = shrink ? bpf_skb_net_shrink(skb, off, len_diff_abs, flags) : in BPF_CALL_4()
4170 static struct xdp_buff *bpf_xdp_shrink_data_zc(struct xdp_buff *xdp, int shrink, in bpf_xdp_shrink_data_zc() argument
4180 zc_frag->data_end -= shrink; in bpf_xdp_shrink_data_zc()
4182 zc_frag->data += shrink; in bpf_xdp_shrink_data_zc()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-slab299 the shrink file.
430 What: /sys/kernel/slab/<cache>/shrink
436 The shrink file is used to reclaim unused slab cache
/linux/drivers/md/persistent-data/
H A Ddm-array.c464 static int shrink(struct resize *resize) in shrink() function
687 r = ((new_size > old_size) ? grow : shrink)(&resize); in array_resize()
/linux/fs/nfs/
H A Dinternal.h393 extern unsigned long nfs_access_cache_count(struct shrinker *shrink,
395 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
/linux/drivers/android/binder/
H A Dprocess.rs957 if let Some(shrink) = refs.handle_is_present.shrink_request() { in update_ref()
960 if let Ok(new_bitmap) = shrink.realloc(GFP_KERNEL) { in update_ref()
962 refs.handle_is_present.shrink(new_bitmap); in update_ref()
/linux/drivers/md/
H A Ddm-bufio.c2437 static unsigned long dm_bufio_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_scan() argument
2441 c = shrink->private_data; in dm_bufio_shrink_scan()
2448 static unsigned long dm_bufio_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_count() argument
2450 struct dm_bufio_client *c = shrink->private_data; in dm_bufio_shrink_count()

12