Searched refs:shrinker (Results 26 - 50 of 78) sorted by relevance

1234

/linux-master/fs/xfs/
H A Dxfs_qm.h66 struct shrinker *qi_shrinker;
H A Dxfs_buf.h121 struct shrinker *bt_shrinker;
H A Dxfs_mount.h229 /* Memory shrinker to throttle and reprioritize inodegc */
230 struct shrinker *m_inodegc_shrinker;
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h145 struct shrinker *shrinker; member in struct:panfrost_device
/linux-master/fs/erofs/
H A Dzutil.c29 static struct shrinker *erofs_shrinker_info;
377 static unsigned long erofs_shrink_count(struct shrinker *shrink,
383 static unsigned long erofs_shrink_scan(struct shrinker *shrink,
440 erofs_shrinker_info = shrinker_alloc(0, "erofs-shrinker");
/linux-master/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,
295 * nfsd_reply_cache_count - count_objects method for the DRC shrinker
296 * @shrink: our registered shrinker context
305 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc)
313 * nfsd_reply_cache_scan - scan_objects method for the DRC shrinker
314 * @shrink: our registered shrinker context
324 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc)
H A Dfilecache.c533 nfsd_file_lru_count(struct shrinker *s, struct shrink_control *sc)
539 nfsd_file_lru_scan(struct shrinker *s, struct shrink_control *sc)
551 static struct shrinker *nfsd_file_shrinker;
/linux-master/mm/
H A Dlist_lru.c98 /* Set shrinker bit if the first element was added */
550 struct lock_class_key *key, struct shrinker *shrinker)
555 if (shrinker)
556 lru->shrinker_id = shrinker->id;
549 __list_lru_init(struct list_lru *lru, bool memcg_aware, struct lock_class_key *key, struct shrinker *shrinker) argument
H A DMakefile52 readahead.o swap.o truncate.o vmscan.o shrinker.o \
H A Dhuge_memory.c18 #include <linux/shrinker.h>
70 static struct shrinker *deferred_split_shrinker;
71 static unsigned long deferred_split_count(struct shrinker *shrink,
73 static unsigned long deferred_split_scan(struct shrinker *shrink,
217 /* We take additional reference here. It will be put back by shrinker */
227 * Counter should never go to zero here. Only shrinker can put
253 static unsigned long shrink_huge_zero_page_count(struct shrinker *shrink,
260 static unsigned long shrink_huge_zero_page_scan(struct shrinker *shrink,
274 static struct shrinker *huge_zero_page_shrinker;
3229 * unnecessary to handle it again in shrinker
[all...]
/linux-master/drivers/md/
H A Draid5.h673 struct shrinker *shrinker; member in struct:r5conf
H A Ddm-bufio.c18 #include <linux/shrinker.h>
1004 struct shrinker *shrinker; member in struct:dm_bufio_client
2434 static unsigned long dm_bufio_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
2445 static unsigned long dm_bufio_shrink_count(struct shrinker *shrink, struct shrink_control *sc)
2560 c->shrinker = shrinker_alloc(0, "dm-bufio:(%u:%u)",
2562 if (!c->shrinker) {
2567 c->shrinker->count_objects = dm_bufio_shrink_count;
2568 c->shrinker->scan_objects = dm_bufio_shrink_scan;
2569 c->shrinker
[all...]
H A Ddm-zoned.h22 #include <linux/shrinker.h>
/linux-master/net/sunrpc/
H A Dauth.c472 * Run memory cache shrinker.
475 rpcauth_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
489 rpcauth_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc)
866 static struct shrinker *rpc_cred_shrinker;
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_pool.c76 static struct shrinker *mm_shrinker;
258 /* Initialize and add a pool type to the global shrinker list */
273 /* Remove a pool_type from the global shrinker list and free all pages */
320 /* Free pages using the global shrinker list */
593 * This is useful to guarantee that all shrinker invocations have seen an
608 * shrinker.
627 * that no shrinker is concurrently freeing pages from the pool.
634 static unsigned long ttm_pool_shrinker_scan(struct shrinker *shrink,
647 static unsigned long ttm_pool_shrinker_count(struct shrinker *shrink,
764 /* Test the shrinker function
[all...]
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_drv.h148 * The dontneed LRU is considered by the shrinker for objects
211 struct shrinker *shrinker; member in struct:msm_drm_private
/linux-master/mm/kasan/
H A Dquarantine.c19 #include <linux/shrinker.h>
124 * Quarantine doesn't support memory shrinker with SLAB allocator, so we keep
/linux-master/drivers/android/
H A Dbinder_alloc.c1048 * binder_alloc_free_page() - shrinker callback to free pages
1124 binder_shrink_count(struct shrinker *shrink, struct shrink_control *sc)
1130 binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
1136 static struct shrinker *binder_shrinker;
/linux-master/kernel/rcu/
H A Dtree_nocb.h1326 lazy_rcu_shrink_count(struct shrinker *shrink, struct shrink_control *sc)
1351 lazy_rcu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
1415 struct shrinker * __maybe_unused lazy_rcu_shrinker;
1444 pr_err("Failed to allocate lazy_rcu shrinker!\n");
/linux-master/fs/bcachefs/
H A Dbtree_cache.c366 static unsigned long bch2_btree_cache_scan(struct shrinker *shrink,
467 static unsigned long bch2_btree_cache_count(struct shrinker *shrink,
536 struct shrinker *shrink;
H A Dbtree_key_cache.c813 static unsigned long bch2_btree_key_cache_scan(struct shrinker *shrink,
912 static unsigned long bch2_btree_key_cache_count(struct shrinker *shrink,
1011 struct shrinker *shrink;
H A Dbtree_types.h177 struct shrinker *shrink;
/linux-master/drivers/gpu/drm/i915/
H A Di915_drv.h166 struct shrinker *shrinker; member in struct:i915_gem_mm
168 /* shrinker accounting, also useful for userland debugging */
/linux-master/fs/nfs/
H A Dinternal.h392 extern unsigned long nfs_access_cache_count(struct shrinker *shrink,
394 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
/linux-master/fs/gfs2/
H A Dquota.c176 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink,
193 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink,
199 static struct shrinker *gfs2_qd_shrinker;

Completed in 475 milliseconds

1234