| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_shrinker.c | 31 struct shrinker *shrink; member 35 static struct xe_shrinker *to_xe_shrinker(struct shrinker *shrink) in to_xe_shrinker() 139 xe_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_count() 201 static unsigned long xe_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_scan()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_pagemap_util.c | 55 struct shrinker *shrink; member 351 drm_pagemap_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in drm_pagemap_shrinker_count() 360 drm_pagemap_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in drm_pagemap_shrinker_scan() 420 struct shrinker *shrink; in drm_pagemap_shrinker_create_devm() local
|
| /linux/fs/ubifs/ |
| H A D | shrinker.c | 267 unsigned long ubifs_shrink_count(struct shrinker *shrink, in ubifs_shrink_count() 279 unsigned long ubifs_shrink_scan(struct shrinker *shrink, in ubifs_shrink_scan()
|
| /linux/fs/f2fs/ |
| H A D | shrinker.c | 40 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() 79 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan()
|
| /linux/fs/erofs/ |
| H A D | zutil.c | 242 static unsigned long erofs_shrink_count(struct shrinker *shrink, in erofs_shrink_count() 248 static unsigned long erofs_shrink_scan(struct shrinker *shrink, in erofs_shrink_scan()
|
| /linux/drivers/cpuidle/governors/ |
| H A D | haltpoll.c | 96 unsigned int shrink = guest_halt_poll_shrink; in adjust_poll_limit() local
|
| /linux/arch/powerpc/kernel/ |
| H A D | tau_6xx.c | 117 int shrink; in tau_timeout() local
|
| /linux/rust/kernel/ |
| H A D | id_pool.rs | 176 pub fn shrink(&mut self, mut resizer: PoolResizer) { in shrink() method
|
| /linux/net/sunrpc/ |
| H A D | auth.c | 475 rpcauth_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_scan() 489 rpcauth_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_count()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_shrinker.c | 159 bool (*shrink)(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket); in msm_gem_shrinker_scan() member
|
| /linux/fs/xfs/ |
| H A D | xfs_qm.c | 493 struct shrinker *shrink, in xfs_qm_shrink_scan() 527 struct shrinker *shrink, in xfs_qm_shrink_count()
|
| H A D | xfs_buf.c | 1570 struct shrinker *shrink, in xfs_buftarg_shrink_scan() 1592 struct shrinker *shrink, in xfs_buftarg_shrink_count()
|
| H A D | xfs_icache.c | 2279 struct shrinker *shrink, in xfs_inodegc_shrinker_count() 2300 struct shrinker *shrink, in xfs_inodegc_shrinker_scan()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_shmem.c | 106 const unsigned int shrink[] = { in shmem_sg_alloc_table() local
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_pool.c | 1207 static unsigned long ttm_pool_shrinker_scan(struct shrinker *shrink, in ttm_pool_shrinker_scan() 1223 static unsigned long ttm_pool_shrinker_count(struct shrinker *shrink, in ttm_pool_shrinker_count()
|
| /linux/fs/ |
| H A D | super.c | 179 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() 236 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count()
|
| /linux/fs/gfs2/ |
| H A D | quota.c | 173 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, in gfs2_qd_shrink_scan() 190 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, in gfs2_qd_shrink_count()
|
| /linux/mm/ |
| H A D | huge_memory.c | 287 static unsigned long shrink_huge_zero_folio_count(struct shrinker *shrink, in shrink_huge_zero_folio_count() 294 static unsigned long shrink_huge_zero_folio_scan(struct shrinker *shrink, in shrink_huge_zero_folio_scan() 4469 static unsigned long deferred_split_count(struct shrinker *shrink, in deferred_split_count() 4509 static unsigned long deferred_split_scan(struct shrinker *shrink, in deferred_split_scan()
|
| H A D | vmalloc.c | 5400 vmap_node_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in vmap_node_shrink_count() 5415 vmap_node_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in vmap_node_shrink_scan()
|
| /linux/drivers/md/bcache/ |
| H A D | btree.c | 665 static unsigned long bch_mca_scan(struct shrinker *shrink, in bch_mca_scan() 732 static unsigned long bch_mca_count(struct shrinker *shrink, in bch_mca_count()
|
| H A D | bcache.h | 547 struct shrinker *shrink; member
|
| /linux/drivers/md/ |
| H A D | dm-zoned-metadata.c | 610 static unsigned long dmz_mblock_shrinker_count(struct shrinker *shrink, in dmz_mblock_shrinker_count() 621 static unsigned long dmz_mblock_shrinker_scan(struct shrinker *shrink, in dmz_mblock_shrinker_scan()
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-array.c | 464 static int shrink(struct resize *resize) in shrink() function
|
| /linux/tools/mm/ |
| H A D | slabinfo.c | 74 int shrink; variable
|
| /linux/net/core/ |
| H A D | filter.c | 3678 bool shrink = len_diff < 0; in BPF_CALL_4() local 3722 bool shrink = len_diff < 0; in BPF_CALL_4() local 4188 static struct xdp_buff *bpf_xdp_shrink_data_zc(struct xdp_buff *xdp, int shrink, in bpf_xdp_shrink_data_zc() 4207 int shrink, bool tail) in bpf_xdp_shrink_data() 4240 int shrink = min_t(int, offset, skb_frag_size(frag)); in bpf_xdp_frags_shrink_tail() local 12441 u32 shrink = min_t(u32, delta, skb_frag_size(frag)); in bpf_xdp_pull_data() local
|