Searched refs:shrink (Results 1 - 25 of 61) sorted by last modified time

123

/linux-master/mm/
H A Dzswap.c1531 goto shrink;
1536 goto shrink;
1636 shrink:
1814 shrink_wq = alloc_workqueue("zswap-shrink",
H A Dhuge_memory.c70 static unsigned long deferred_split_count(struct shrinker *shrink,
72 static unsigned long deferred_split_scan(struct shrinker *shrink,
249 static unsigned long shrink_huge_zero_page_count(struct shrinker *shrink, argument
256 static unsigned long shrink_huge_zero_page_scan(struct shrinker *shrink, argument
3300 static unsigned long deferred_split_count(struct shrinker *shrink, argument
3313 static unsigned long deferred_split_scan(struct shrinker *shrink, argument
H A Dvmalloc.c1293 * no any modification is required. If we shrink the node 2 to 1
1294 * its subtree_max_size is updated only, and set to 1. If we shrink
5045 vmap_node_shrink_count(struct shrinker *shrink, struct shrink_control *sc) argument
5062 vmap_node_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) argument
/linux-master/virt/kvm/
H A Dkvm_main.c3719 unsigned int old, val, shrink, grow_start; local
3722 shrink = READ_ONCE(halt_poll_ns_shrink);
3724 if (shrink == 0)
3727 val /= shrink;
3895 /* we had a long block, shrink polling */
5995 pr_err("kvm: failed to shrink bus, removing it completely\n");
/linux-master/fs/bcachefs/
H A Dbtree_types.h167 struct shrinker *shrink; member in struct:btree_cache
H A Dbtree_key_cache.c826 static unsigned long bch2_btree_key_cache_scan(struct shrinker *shrink, argument
829 struct bch_fs *c = shrink->private_data;
916 static unsigned long bch2_btree_key_cache_count(struct shrinker *shrink, argument
919 struct bch_fs *c = shrink->private_data;
939 shrinker_free(bc->shrink);
1013 struct shrinker *shrink; local
1026 shrink = shrinker_alloc(0, "%s-btree_key_cache", c->name);
1027 if (!shrink)
1029 bc->shrink = shrink;
[all...]
H A Dsysfs.c513 c->btree_cache.shrink->scan_objects(c->btree_cache.shrink, &sc);
H A Dbtree_cache.c299 static unsigned long bch2_btree_cache_scan(struct shrinker *shrink, argument
302 struct bch_fs *c = shrink->private_data;
397 static unsigned long bch2_btree_cache_count(struct shrinker *shrink, argument
400 struct bch_fs *c = shrink->private_data;
415 shrinker_free(bc->shrink);
466 struct shrinker *shrink; local
486 shrink = shrinker_alloc(0, "%s-btree_cache", c->name);
487 if (!shrink)
489 bc->shrink = shrink;
[all...]
/linux-master/arch/x86/kvm/mmu/
H A Dmmu.c6872 static unsigned long mmu_shrink_scan(struct shrinker *shrink, argument
6888 * to shrink more than one VM and it is very unlikely to see
6896 * want to shrink a VM that only started to populate its MMU
6931 static unsigned long mmu_shrink_count(struct shrinker *shrink, argument
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_pool.c142 * used when we have to shrink and CPU overhead is irrelevant then.
634 static unsigned long ttm_pool_shrinker_scan(struct shrinker *shrink, argument
647 static unsigned long ttm_pool_shrinker_count(struct shrinker *shrink, argument
/linux-master/fs/xfs/
H A Dxfs_buf.c1986 struct shrinker *shrink,
1989 struct xfs_buftarg *btp = shrink->private_data;
2008 struct shrinker *shrink,
2011 struct xfs_buftarg *btp = shrink->private_data;
1985 xfs_buftarg_shrink_scan( struct shrinker *shrink, struct shrink_control *sc) argument
2007 xfs_buftarg_shrink_count( struct shrinker *shrink, struct shrink_control *sc) argument
H A Dxfs_icache.c2175 struct shrinker *shrink,
2178 struct xfs_mount *mp = shrink->private_data;
2196 struct shrinker *shrink,
2199 struct xfs_mount *mp = shrink->private_data;
2174 xfs_inodegc_shrinker_count( struct shrinker *shrink, struct shrink_control *sc) argument
2195 xfs_inodegc_shrinker_scan( struct shrinker *shrink, struct shrink_control *sc) argument
H A Dxfs_qm.c505 struct shrinker *shrink,
508 struct xfs_quotainfo *qi = shrink->private_data;
539 struct shrinker *shrink,
542 struct xfs_quotainfo *qi = shrink->private_data;
504 xfs_qm_shrink_scan( struct shrinker *shrink, struct shrink_control *sc) argument
538 xfs_qm_shrink_count( struct shrinker *shrink, struct shrink_control *sc) argument
/linux-master/fs/
H A Dsuper.c177 static unsigned long super_cache_scan(struct shrinker *shrink, argument
187 sb = shrink->private_data;
234 static unsigned long super_cache_count(struct shrinker *shrink, argument
240 sb = shrink->private_data;
/linux-master/fs/nfsd/
H A Dnfs4state.c4622 nfsd4_state_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) argument
4625 struct nfsd_net *nn = shrink->private_data;
4636 nfsd4_state_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) argument
/linux-master/fs/ubifs/
H A Dubifs.h1922 unsigned long ubifs_shrink_scan(struct shrinker *shrink,
1924 unsigned long ubifs_shrink_count(struct shrinker *shrink,
/linux-master/drivers/android/
H A Dbinder_alloc.c1124 binder_shrink_count(struct shrinker *shrink, struct shrink_control *sc) argument
1130 binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) argument
/linux-master/fs/f2fs/
H A Df2fs.h616 /* number of extent info in extent cache we try to shrink */
619 /* number of age extent info in extent cache we try to shrink */
4180 unsigned long f2fs_shrink_count(struct shrinker *shrink,
4182 unsigned long f2fs_shrink_scan(struct shrinker *shrink,
/linux-master/fs/nfs/
H A Dinternal.h385 extern unsigned long nfs_access_cache_count(struct shrinker *shrink,
387 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
/linux-master/fs/ext4/
H A Dinode.c5348 int shrink = (attr->ia_size < inode->i_size); local
5364 if (shrink) {
5392 if (ext4_handle_valid(handle) && shrink) {
5398 * update c/mtime in shrink case below
5400 if (!shrink)
5404 if (shrink)
5436 if (!shrink) {
/linux-master/drivers/dax/
H A Dbus.c952 dev_dbg(dev, "%s range[%d]: %#llx:%#llx\n", is_shrink ? "shrink" : "extend",
995 resource_size_t shrink; local
997 shrink = min_t(u64, to_shrink, range_len(range));
998 if (shrink >= range_len(range)) {
1002 to_shrink -= shrink;
1019 - shrink);
/linux-master/include/drm/
H A Ddrm_gem.h552 bool (*shrink)(struct drm_gem_object *obj));
/linux-master/fs/quota/
H A Ddquot.c782 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) argument
802 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) argument
/linux-master/drivers/md/
H A Ddm-bufio.c2434 static unsigned long dm_bufio_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) argument
2438 c = shrink->private_data;
2445 static unsigned long dm_bufio_shrink_count(struct shrinker *shrink, struct shrink_control *sc) argument
2447 struct dm_bufio_client *c = shrink->private_data;
/linux-master/drivers/md/bcache/
H A Dsysfs.c863 if (c->shrink)
864 c->shrink->scan_objects(c->shrink, &sc);

Completed in 586 milliseconds

123