Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_shrinker.c46 if (shrink & I915_SHRINK_ACTIVE) in unsafe_drop_pages()
48 if (!(shrink & I915_SHRINK_BOUND)) in unsafe_drop_pages()
105 unsigned int shrink) in i915_gem_shrink() argument
133 if (shrink & I915_SHRINK_BOUND) { in i915_gem_shrink()
136 shrink &= ~I915_SHRINK_BOUND; in i915_gem_shrink()
149 if (shrink & I915_SHRINK_ACTIVE) in i915_gem_shrink()
177 if ((shrink & phase->bit) == 0) in i915_gem_shrink()
196 if (shrink & I915_SHRINK_VMAPS && in i915_gem_shrink()
200 if (!(shrink & I915_SHRINK_ACTIVE) && in i915_gem_shrink()
225 try_to_writeback(obj, shrink); in i915_gem_shrink()
[all …]
A Di915_gem_shmem.c85 const unsigned int shrink[] = { in shmem_get_pages() local
88 }, *s = shrink; in shmem_get_pages()
/linux/scripts/
A Dbloat-o-meter47 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))
/linux/arch/powerpc/kernel/
A Dtau_6xx.c118 int shrink; in tau_timeout() local
131 shrink = (2 + size - min_window) / 4; in tau_timeout()
132 if (shrink) { in tau_timeout()
133 tau[cpu].low += shrink; in tau_timeout()
134 tau[cpu].high -= shrink; in tau_timeout()
/linux/drivers/cpuidle/governors/
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/nfs/
A Dnfs42xattr.c791 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()
/linux/include/trace/events/
A Dvmscan.h210 __field(void *, shrink)
222 __entry->shrink = shr->scan_objects;
233 __entry->shrink,
254 __field(void *, shrink)
264 __entry->shrink = shr->scan_objects;
272 __entry->shrink,
/linux/mm/
A Dzpool.c186 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()
/linux/fs/
A Dmbcache.c270 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()
A Dsuper.c61 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument
71 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
118 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument
124 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
/linux/fs/nfsd/
A Dnfscache.c41 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink,
43 static unsigned long nfsd_reply_cache_scan(struct shrinker *shrink,
295 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument
297 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_count()
304 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
306 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_scan()
/linux/fs/f2fs/
A Dshrinker.c37 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
/linux/fs/xfs/
A Dxfs_icache.c2134 struct shrinker *shrink, in xfs_inodegc_shrinker_count() argument
2137 struct xfs_mount *mp = container_of(shrink, struct xfs_mount, in xfs_inodegc_shrinker_count()
2156 struct shrinker *shrink, in xfs_inodegc_shrinker_scan() argument
2159 struct xfs_mount *mp = container_of(shrink, struct xfs_mount, in xfs_inodegc_shrinker_scan()
2196 struct shrinker *shrink = &mp->m_inodegc_shrinker; in xfs_inodegc_register_shrinker() local
2198 shrink->count_objects = xfs_inodegc_shrinker_count; in xfs_inodegc_register_shrinker()
2199 shrink->scan_objects = xfs_inodegc_shrinker_scan; in xfs_inodegc_register_shrinker()
2200 shrink->seeks = 0; in xfs_inodegc_register_shrinker()
2201 shrink->flags = SHRINKER_NONSLAB; in xfs_inodegc_register_shrinker()
2202 shrink->batch = XFS_INODEGC_SHRINKER_BATCH; in xfs_inodegc_register_shrinker()
[all …]
/linux/fs/ocfs2/
A Dreservations.c659 unsigned int shrink; in ocfs2_cannibalize_resv() local
661 shrink = min_bits; in ocfs2_cannibalize_resv()
663 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
665 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv()
668 resv->r_len = shrink; in ocfs2_cannibalize_resv()
/linux/fs/ubifs/
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/drivers/gpu/drm/msm/
A Dmsm_gem_shrinker.c68 bool (*shrink)(struct msm_gem_object *msm_obj)) in scan()
110 if (shrink(msm_obj)) in scan()
/linux/samples/pktgen/
A Dfunctions.sh186 local shrink
194 shrink=( $(egrep -o "$sep{2,}" <<< $addr) )
/linux/fs/erofs/
A Dutils.c216 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() argument
222 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan() argument
/linux/drivers/md/bcache/
A Dbtree.c646 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 …]
/linux/drivers/gpu/drm/i915/selftests/
A Dscatterlist.c179 static unsigned int shrink(unsigned long n, in shrink() function
268 shrink,
/linux/include/linux/
A Dzpool.h101 int (*shrink)(void *pool, unsigned int pages, member
/linux/Documentation/userspace-api/media/v4l/
A Dselection-api-intro.rst8 shrink or enlarge it to an image of arbitrary size. Next, the devices
/linux/drivers/dax/
A Dbus.c877 resource_size_t shrink; in dev_dax_shrink() local
879 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink()
880 if (shrink >= range_len(range)) { in dev_dax_shrink()
884 to_shrink -= shrink; in dev_dax_shrink()
901 - shrink); in dev_dax_shrink()
/linux/tools/vm/
A Dslabinfo.c74 int shrink; variable
1303 else if (shrink) in output_slabs()
1447 shrink = 1; in main()
1482 && !validate && !shrink && !set_debug && !show_ops) in main()
/linux/Documentation/virt/
A Dguest-halt-polling.rst42 Division factor used to shrink per-cpu guest_halt_poll_ns when

Completed in 43 milliseconds

123