Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_shrinker.c45 if (shrink & I915_SHRINK_ACTIVE) in drop_pages()
47 if (!(shrink & I915_SHRINK_BOUND)) in drop_pages()
60 if (obj->ops->shrink) { in try_to_writeback()
106 unsigned int shrink) in i915_gem_shrink() argument
134 if (shrink & I915_SHRINK_BOUND) { in i915_gem_shrink()
137 shrink &= ~I915_SHRINK_BOUND; in i915_gem_shrink()
150 if (shrink & I915_SHRINK_ACTIVE) in i915_gem_shrink()
178 if ((shrink & phase->bit) == 0) in i915_gem_shrink()
197 if (shrink & I915_SHRINK_VMAPS && in i915_gem_shrink()
225 !try_to_writeback(obj, shrink)) in i915_gem_shrink()
[all …]
A Di915_gem_shmem.c98 const unsigned int shrink[] = { in shmem_sg_alloc_table() local
101 }, *s = shrink; in shmem_sg_alloc_table()
527 .shrink = shmem_shrink,
A Di915_gem_object_types.h80 int (*shrink)(struct drm_i915_gem_object *obj, unsigned int flags); member
/linux-6.3-rc2/scripts/
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-6.3-rc2/arch/powerpc/kernel/
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-6.3-rc2/drivers/cpuidle/governors/
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-6.3-rc2/fs/nfs/
A Dnfs42xattr.c790 static unsigned long nfs4_xattr_cache_count(struct shrinker *shrink,
792 static unsigned long nfs4_xattr_entry_count(struct shrinker *shrink,
794 static unsigned long nfs4_xattr_cache_scan(struct shrinker *shrink,
796 static unsigned long nfs4_xattr_entry_scan(struct shrinker *shrink,
858 nfs4_xattr_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_scan() argument
879 nfs4_xattr_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_count() argument
939 nfs4_xattr_entry_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_scan() argument
946 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_scan()
969 nfs4_xattr_entry_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_count() argument
974 lru = (shrink == &nfs4_xattr_large_entry_shrinker) ? in nfs4_xattr_entry_count()
/linux-6.3-rc2/mm/
A Dzpool.c302 return zpool->driver->shrink ? in zpool_shrink()
303 zpool->driver->shrink(zpool->pool, pages, reclaimed) : -EINVAL; in zpool_shrink()
377 return zpool->driver->shrink; in zpool_evictable()
/linux-6.3-rc2/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-6.3-rc2/fs/
A Dmbcache.c293 static unsigned long mb_cache_count(struct shrinker *shrink, in mb_cache_count() argument
296 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count()
333 static unsigned long mb_cache_scan(struct shrinker *shrink, in mb_cache_scan() argument
336 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
/linux-6.3-rc2/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,
298 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument
300 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_count()
307 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
309 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_scan()
/linux-6.3-rc2/fs/f2fs/
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-6.3-rc2/fs/xfs/
A Dxfs_icache.c2170 struct shrinker *shrink, in xfs_inodegc_shrinker_count() argument
2173 struct xfs_mount *mp = container_of(shrink, struct xfs_mount, in xfs_inodegc_shrinker_count()
2192 struct shrinker *shrink, in xfs_inodegc_shrinker_scan() argument
2195 struct xfs_mount *mp = container_of(shrink, struct xfs_mount, in xfs_inodegc_shrinker_scan()
2232 struct shrinker *shrink = &mp->m_inodegc_shrinker; in xfs_inodegc_register_shrinker() local
2234 shrink->count_objects = xfs_inodegc_shrinker_count; in xfs_inodegc_register_shrinker()
2235 shrink->scan_objects = xfs_inodegc_shrinker_scan; in xfs_inodegc_register_shrinker()
2236 shrink->seeks = 0; in xfs_inodegc_register_shrinker()
2237 shrink->flags = SHRINKER_NONSLAB; in xfs_inodegc_register_shrinker()
2238 shrink->batch = XFS_INODEGC_SHRINKER_BATCH; in xfs_inodegc_register_shrinker()
[all …]
/linux-6.3-rc2/fs/ocfs2/
A Dreservations.c657 unsigned int shrink; in ocfs2_cannibalize_resv() local
659 shrink = min_bits; in ocfs2_cannibalize_resv()
661 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
663 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv()
666 resv->r_len = shrink; in ocfs2_cannibalize_resv()
/linux-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_gem_shrinker.c107 bool (*shrink)(struct drm_gem_object *obj); in msm_gem_shrinker_scan() member
124 drm_gem_lru_scan(stages[i].lru, nr, stages[i].shrink); in msm_gem_shrinker_scan()
/linux-6.3-rc2/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-6.3-rc2/samples/pktgen/
A Dfunctions.sh186 local shrink
194 shrink=( $(grep -E -o "$sep{2,}" <<< $addr) )
/linux-6.3-rc2/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-6.3-rc2/rust/alloc/
A Draw_vec.rs392 handle_reserve(self.shrink(cap)); in shrink_to_fit()
464 fn shrink(&mut self, cap: usize) -> Result<(), TryReserveError> { in shrink() method
474 .shrink(ptr, layout, new_layout) in shrink()
/linux-6.3-rc2/include/linux/
A Dzpool.h101 int (*shrink)(void *pool, unsigned int pages, member
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Dscatterlist.c179 static unsigned int shrink(unsigned long n, in shrink() function
272 shrink,
/linux-6.3-rc2/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-6.3-rc2/Documentation/filesystems/
A Dbtrfs.rst34 * Online resize (shrink, grow)
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dselection-api-intro.rst8 shrink or enlarge it to an image of arbitrary size. Next, the devices
/linux-6.3-rc2/include/drm/
A Ddrm_gem.h480 bool (*shrink)(struct drm_gem_object *obj));

Completed in 41 milliseconds

1234