/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_shrinker.c | 40 unsigned long shrink) in unsafe_drop_pages() argument 45 if (shrink & I915_SHRINK_ACTIVE) in unsafe_drop_pages() 47 if (!(shrink & I915_SHRINK_BOUND)) in unsafe_drop_pages() 99 unsigned int shrink) in i915_gem_shrink() argument 116 trace_i915_gem_shrink(i915, target, shrink); in i915_gem_shrink() 123 if (shrink & I915_SHRINK_BOUND) { in i915_gem_shrink() 126 shrink &= ~I915_SHRINK_BOUND; in i915_gem_shrink() 139 if (shrink & I915_SHRINK_ACTIVE) in i915_gem_shrink() 167 if ((shrink & phase->bit) == 0) in i915_gem_shrink() 186 if (shrink & I915_SHRINK_VMAPS && in i915_gem_shrink() [all …]
|
D | i915_gem_shmem.c | 85 const unsigned int shrink[] = { in shmem_get_pages() local 88 }, *s = shrink; in shmem_get_pages()
|
/kernel/linux/linux-5.10/scripts/ |
D | bloat-o-meter | 47 grow, shrink, add, remove, up, down = 0, 0, 0, 0, 0, 0 72 if d<0: shrink, down = shrink+1, down-d 77 return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot 80 grow, shrink, add, remove, up, down, delta, old, new, otot, ntot = \ 84 (add, remove, grow, shrink, up, -down, up-down))
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | tau_6xx.c | 120 int shrink; in tau_timeout() local 133 shrink = (2 + size - min_window) / 4; in tau_timeout() 134 if (shrink) { in tau_timeout() 135 tau[cpu].low += shrink; in tau_timeout() 136 tau[cpu].high -= shrink; in tau_timeout()
|
/kernel/linux/linux-5.10/drivers/cpuidle/governors/ |
D | haltpoll.c | 96 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()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs42xattr.c | 791 static unsigned long nfs4_xattr_cache_count(struct shrinker *shrink, 793 static unsigned long nfs4_xattr_entry_count(struct shrinker *shrink, 795 static unsigned long nfs4_xattr_cache_scan(struct shrinker *shrink, 797 static unsigned long nfs4_xattr_entry_scan(struct shrinker *shrink, 859 nfs4_xattr_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_scan() argument 880 nfs4_xattr_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_count() argument 940 nfs4_xattr_entry_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_scan() argument 947 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_scan() 970 nfs4_xattr_entry_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_count() argument 975 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_count()
|
/kernel/linux/linux-5.10/drivers/staging/android/ion/ |
D | ion_heap.c | 243 if (heap->ops->shrink) in ion_heap_shrink_count() 244 total += heap->ops->shrink(heap, sc->gfp_mask, 0); in ion_heap_shrink_count() 272 if (heap->ops->shrink) in ion_heap_shrink_scan() 273 freed += heap->ops->shrink(heap, sc->gfp_mask, to_scan); in ion_heap_shrink_scan()
|
D | ion.h | 94 int (*shrink)(struct ion_heap *heap, gfp_t gfp_mask, int nr_to_scan); member
|
/kernel/linux/linux-5.10/mm/ |
D | zpool.c | 186 zpool->evictable = driver->shrink && ops && ops->evict; in zpool_create_pool() 320 return zpool->driver->shrink ? in zpool_shrink() 321 zpool->driver->shrink(zpool->pool, pages, reclaimed) : -EINVAL; in zpool_shrink()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | vmscan.h | 196 __field(void *, shrink) 208 __entry->shrink = shr->scan_objects; 219 __entry->shrink, 240 __field(void *, shrink) 250 __entry->shrink = shr->scan_objects; 258 __entry->shrink,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_globals.c | 40 global->shrink(); in i915_globals_shrink() 74 GEM_BUG_ON(!global->shrink); in i915_global_register()
|
D | i915_globals.h | 17 i915_global_func_t shrink; member
|
/kernel/linux/linux-5.10/fs/ |
D | mbcache.c | 270 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument 273 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() 320 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument 323 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
|
/kernel/linux/linux-5.10/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, 272 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument 274 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_count() 281 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument 283 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_scan()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | shrinker.c | 37 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() argument 73 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan() argument
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | reservations.c | 661 unsigned int shrink; in ocfs2_cannibalize_resv() local 663 shrink = min_bits; in ocfs2_cannibalize_resv() 665 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv() 667 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv() 670 resv->r_len = shrink; in ocfs2_cannibalize_resv()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/samples/pktgen/ |
D | functions.sh | 181 local shrink 189 shrink=( $(egrep -o "$sep{2,}" <<< $addr) )
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | utils.c | 220 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument 226 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
|
/kernel/linux/linux-5.10/include/linux/ |
D | zpool.h | 101 int (*shrink)(void *pool, unsigned int pages, member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
D | scatterlist.c | 179 static unsigned int shrink(unsigned long n, in shrink() function 268 shrink,
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | btree.c | 646 static unsigned long bch_mca_scan(struct shrinker *shrink, in bch_mca_scan() argument 649 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_scan() 713 static unsigned long bch_mca_count(struct shrinker *shrink, in bch_mca_count() argument 716 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_count() 734 if (c->shrink.list.next) in bch_btree_cache_free() 735 unregister_shrinker(&c->shrink); in bch_btree_cache_free() 810 c->shrink.count_objects = bch_mca_count; in bch_btree_cache_alloc() 811 c->shrink.scan_objects = bch_mca_scan; in bch_btree_cache_alloc() 812 c->shrink.seeks = 4; in bch_btree_cache_alloc() 813 c->shrink.batch = c->btree_pages * 2; in bch_btree_cache_alloc() [all …]
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
D | selection-api-intro.rst | 8 shrink or enlarge it to an image of arbitrary size. Next, the devices
|
/kernel/linux/linux-5.10/drivers/dax/ |
D | bus.c | 886 resource_size_t shrink; in dev_dax_shrink() local 888 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink() 889 if (shrink >= range_len(range)) { in dev_dax_shrink() 893 to_shrink -= shrink; in dev_dax_shrink() 910 - shrink); in dev_dax_shrink()
|
/kernel/linux/linux-5.10/Documentation/virt/ |
D | guest-halt-polling.rst | 42 Division factor used to shrink per-cpu guest_halt_poll_ns when
|