/linux-master/fs/xfs/ |
H A D | xfs_qm.c | 505 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
|
H A D | xfs_icache.c | 2175 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 D | xfs_buf.c | 1986 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
|
/linux-master/drivers/md/bcache/ |
H A D | sysfs.c | 863 if (c->shrink) 864 c->shrink->scan_objects(c->shrink, &sc);
|
H A D | bcache.h | 547 struct shrinker *shrink; member in struct:cache_set
|
/linux-master/drivers/dax/ |
H A D | bus.c | 952 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/mm/ |
H A D | zswap.c | 1531 goto shrink; 1536 goto shrink; 1636 shrink: 1814 shrink_wq = alloc_workqueue("zswap-shrink",
|
H A D | huge_memory.c | 70 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
|
/linux-master/fs/ext4/ |
H A D | extents_status.c | 515 /* Decrease the shrink counter when we can reclaim the extent. */ 1629 static unsigned long ext4_es_count(struct shrinker *shrink, argument 1635 sbi = shrink->private_data; 1641 static unsigned long ext4_es_scan(struct shrinker *shrink, argument 1644 struct ext4_sb_info *sbi = shrink->private_data; 1825 ext4_warning(inode->i_sb, "forced shrink of precached extents");
|
H A D | inode.c | 5348 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/fs/ |
H A D | super.c | 177 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/drivers/md/persistent-data/ |
H A D | dm-array.c | 464 static int shrink(struct resize *resize) function 687 r = ((new_size > old_size) ? grow : shrink)(&resize);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gem.c | 1399 * If the shrink callback succeeds, it is expected that the driver 1403 * of the shrink callback to check for this (ie. dma_resv_test_signaled()) 1409 * @shrink: Callback to try to shrink/reclaim the object. 1415 bool (*shrink)(struct drm_gem_object *obj)) 1458 if (shrink(obj)) {
|
/linux-master/fs/nfs/ |
H A D | internal.h | 385 extern unsigned long nfs_access_cache_count(struct shrinker *shrink, 387 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
|
/linux-master/drivers/android/ |
H A D | binder_alloc.c | 1124 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/bcachefs/ |
H A D | sysfs.c | 513 c->btree_cache.shrink->scan_objects(c->btree_cache.shrink, &sc);
|
H A D | btree_types.h | 167 struct shrinker *shrink; member in struct:btree_cache
|
/linux-master/net/core/ |
H A D | filter.c | 3588 /* Due to header shrink, MSS can be upgraded. */ 3606 bool shrink = len_diff < 0; local 3614 if (!shrink) { 3650 bool shrink = len_diff < 0; local 3675 if (!shrink) 3691 if ((shrink && (len_diff_abs >= len_cur || 3693 (!shrink && (skb->len + len_diff_abs > len_max && 3697 ret = shrink ? bpf_skb_net_shrink(skb, off, len_diff_abs, flags) : 4102 static void bpf_xdp_shrink_data_zc(struct xdp_buff *xdp, int shrink, argument 4111 zc_frag->data_end -= shrink; 4115 bpf_xdp_shrink_data(struct xdp_buff *xdp, skb_frag_t *frag, int shrink) argument 4146 int shrink = min_t(int, offset, skb_frag_size(frag)); local [all...] |
/linux-master/fs/jbd2/ |
H A D | journal.c | 1283 * @shrink: shrinker to work on 1289 static unsigned long jbd2_journal_shrink_scan(struct shrinker *shrink, argument 1292 journal_t *journal = shrink->private_data; 1310 * @shrink: shrinker to work on 1315 static unsigned long jbd2_journal_shrink_count(struct shrinker *shrink, argument 1318 journal_t *journal = shrink->private_data;
|
/linux-master/drivers/md/ |
H A D | dm-zoned-metadata.c | 615 static unsigned long dmz_mblock_shrinker_count(struct shrinker *shrink, argument 618 struct dmz_metadata *zmd = shrink->private_data; 624 * For mblock shrinker: scan unused metadata blocks and shrink the cache. 626 static unsigned long dmz_mblock_shrinker_scan(struct shrinker *shrink, argument 629 struct dmz_metadata *zmd = shrink->private_data;
|
H A D | dm-bufio.c | 2434 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/kernel/rcu/ |
H A D | tree_nocb.h | 1326 lazy_rcu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) argument 1351 lazy_rcu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) argument
|
/linux-master/fs/ubifs/ |
H A D | ubifs.h | 1922 unsigned long ubifs_shrink_scan(struct shrinker *shrink, 1924 unsigned long ubifs_shrink_count(struct shrinker *shrink,
|
/linux-master/fs/gfs2/ |
H A D | quota.c | 176 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, argument 193 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, argument
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm.c | 944 * To make sure everything plays nice we keep an extra shrink pin in TTM 1229 .shrink = i915_ttm_shrink, 1316 * Keep an extra shrink pin to prevent the object from being made
|