/linux-4.4.14/include/drm/ttm/ |
D | ttm_memory.h | 79 struct ttm_mem_shrink *shrink; member 100 static inline void ttm_mem_init_shrink(struct ttm_mem_shrink *shrink, in ttm_mem_init_shrink() argument 103 shrink->do_shrink = func; in ttm_mem_init_shrink() 117 struct ttm_mem_shrink *shrink) in ttm_mem_register_shrink() argument 120 if (glob->shrink != NULL) { in ttm_mem_register_shrink() 124 glob->shrink = shrink; in ttm_mem_register_shrink() 138 struct ttm_mem_shrink *shrink) in ttm_mem_unregister_shrink() argument 141 BUG_ON(glob->shrink != shrink); in ttm_mem_unregister_shrink() 142 glob->shrink = NULL; in ttm_mem_unregister_shrink()
|
D | ttm_bo_driver.h | 471 struct ttm_mem_shrink shrink; member
|
/linux-4.4.14/scripts/ |
D | bloat-o-meter | 33 grow, shrink, add, remove, up, down = 0, 0, 0, 0, 0, 0 variable 55 if d<0: shrink, down = shrink+1, down-d 62 (add, remove, grow, shrink, up, -down, up-down))
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | tau_6xx.c | 141 int shrink; in tau_timeout() local 154 shrink = (2 + size - min_window) / 4; in tau_timeout() 155 if (shrink) { in tau_timeout() 156 tau[cpu].low += shrink; in tau_timeout() 157 tau[cpu].high -= shrink; in tau_timeout()
|
/linux-4.4.14/include/trace/events/ |
D | vmscan.h | 193 __field(void *, shrink) 206 __entry->shrink = shr->scan_objects; 218 __entry->shrink, 240 __field(void *, shrink) 250 __entry->shrink = shr->scan_objects; 258 __entry->shrink,
|
/linux-4.4.14/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 217 struct ttm_mem_shrink *shrink; in ttm_shrink() local 220 if (glob->shrink == NULL) in ttm_shrink() 224 shrink = glob->shrink; in ttm_shrink() 226 ret = shrink->do_shrink(shrink); in ttm_shrink()
|
D | ttm_bo.c | 49 static int ttm_bo_swapout(struct ttm_mem_shrink *shrink); 1357 ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_kobj_release() 1391 ttm_mem_init_shrink(&glob->shrink, ttm_bo_swapout); in ttm_bo_global_init() 1392 ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_init() 1616 static int ttm_bo_swapout(struct ttm_mem_shrink *shrink) in ttm_bo_swapout() argument 1619 container_of(shrink, struct ttm_bo_global, shrink); in ttm_bo_swapout() 1699 while (ttm_bo_swapout(&bdev->glob->shrink) == 0) in ttm_bo_swapout_all()
|
D | ttm_page_alloc.c | 395 ttm_pool_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ttm_pool_shrink_scan() argument 424 ttm_pool_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ttm_pool_shrink_count() argument
|
D | ttm_page_alloc_dma.c | 1012 ttm_dma_pool_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ttm_dma_pool_shrink_scan() argument 1054 ttm_dma_pool_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ttm_dma_pool_shrink_count() argument
|
/linux-4.4.14/fs/f2fs/ |
D | shrinker.c | 38 unsigned long f2fs_shrink_count(struct shrinker *shrink, in f2fs_shrink_count() argument 74 unsigned long f2fs_shrink_scan(struct shrinker *shrink, in f2fs_shrink_scan() argument
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion_heap.c | 276 if (heap->ops->shrink) in ion_heap_shrink_count() 277 total += heap->ops->shrink(heap, sc->gfp_mask, 0); in ion_heap_shrink_count() 304 if (heap->ops->shrink) in ion_heap_shrink_scan() 305 freed += heap->ops->shrink(heap, sc->gfp_mask, to_scan); in ion_heap_shrink_scan()
|
D | ion_priv.h | 123 int (*shrink)(struct ion_heap *heap, gfp_t gfp_mask, int nr_to_scan); member
|
D | ion_system_heap.c | 251 .shrink = ion_system_heap_shrink,
|
D | ion.c | 1521 if ((heap->flags & ION_HEAP_FLAG_DEFER_FREE) || heap->ops->shrink) in ion_device_add_heap()
|
/linux-4.4.14/fs/ocfs2/ |
D | reservations.c | 672 unsigned int shrink; in ocfs2_cannibalize_resv() local 674 shrink = min_bits; in ocfs2_cannibalize_resv() 676 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv() 678 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv() 681 resv->r_len = shrink; in ocfs2_cannibalize_resv()
|
/linux-4.4.14/fs/ubifs/ |
D | shrinker.c | 279 unsigned long ubifs_shrink_count(struct shrinker *shrink, in ubifs_shrink_count() argument 291 unsigned long ubifs_shrink_scan(struct shrinker *shrink, in ubifs_shrink_scan() argument
|
D | ubifs.h | 1639 unsigned long ubifs_shrink_scan(struct shrinker *shrink, 1641 unsigned long ubifs_shrink_count(struct shrinker *shrink,
|
/linux-4.4.14/fs/nfsd/ |
D | nfscache.c | 66 static unsigned long nfsd_reply_cache_count(struct shrinker *shrink, 68 static unsigned long nfsd_reply_cache_scan(struct shrinker *shrink, 271 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument 277 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_merge.c | 114 u64 size, int shrink) in lov_adjust_kms() argument 123 if (shrink) { in lov_adjust_kms()
|
D | lov_internal.h | 135 u64 size, int shrink);
|
/linux-4.4.14/include/linux/ |
D | zpool.h | 96 int (*shrink)(void *pool, unsigned int pages, member
|
/linux-4.4.14/drivers/md/bcache/ |
D | btree.c | 661 static unsigned long bch_mca_scan(struct shrinker *shrink, in bch_mca_scan() argument 664 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_scan() 725 static unsigned long bch_mca_count(struct shrinker *shrink, in bch_mca_count() argument 728 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_count() 745 if (c->shrink.list.next) in bch_btree_cache_free() 746 unregister_shrinker(&c->shrink); in bch_btree_cache_free() 807 c->shrink.count_objects = bch_mca_count; in bch_btree_cache_alloc() 808 c->shrink.scan_objects = bch_mca_scan; in bch_btree_cache_alloc() 809 c->shrink.seeks = 4; in bch_btree_cache_alloc() 810 c->shrink.batch = c->btree_pages * 2; in bch_btree_cache_alloc() [all …]
|
D | sysfs.c | 624 c->shrink.scan_objects(&c->shrink, &sc); in STORE()
|
D | bcache.h | 501 struct shrinker shrink; member
|
/linux-4.4.14/fs/ |
D | super.c | 55 static unsigned long super_cache_scan(struct shrinker *shrink, in super_cache_scan() argument 65 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan() 112 static unsigned long super_cache_count(struct shrinker *shrink, in super_cache_count() argument 118 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
|
D | mbcache.c | 248 mb_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in mb_cache_shrink_scan() argument 291 mb_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in mb_cache_shrink_count() argument
|
/linux-4.4.14/mm/ |
D | zpool.c | 299 return zpool->driver->shrink(zpool->pool, pages, reclaimed); in zpool_shrink()
|
D | zbud.c | 210 .shrink = zbud_zpool_shrink,
|
D | huge_memory.c | 212 static unsigned long shrink_huge_zero_page_count(struct shrinker *shrink, in shrink_huge_zero_page_count() argument 219 static unsigned long shrink_huge_zero_page_scan(struct shrinker *shrink, in shrink_huge_zero_page_scan() argument
|
D | zsmalloc.c | 390 .shrink = zs_zpool_shrink,
|
D | slub.c | 4990 SLAB_ATTR(shrink);
|
/linux-4.4.14/fs/ext4/ |
D | extents_status.c | 1060 static unsigned long ext4_es_count(struct shrinker *shrink, in ext4_es_count() argument 1066 sbi = container_of(shrink, struct ext4_sb_info, s_es_shrinker); in ext4_es_count() 1072 static unsigned long ext4_es_scan(struct shrinker *shrink, in ext4_es_scan() argument 1075 struct ext4_sb_info *sbi = container_of(shrink, in ext4_es_scan()
|
D | inode.c | 4813 int shrink = (attr->ia_size <= inode->i_size); in ext4_setattr() local 4840 if (ext4_handle_valid(handle) && shrink) { in ext4_setattr() 4848 if (!shrink) { in ext4_setattr() 4872 if (!shrink) in ext4_setattr() 4894 if (shrink) in ext4_setattr()
|
/linux-4.4.14/tools/vm/ |
D | slabinfo.c | 73 int shrink; variable 1287 else if (shrink) in output_slabs() 1401 shrink = 1; in main() 1446 && !validate && !shrink && !set_debug && !show_ops) in main()
|
/linux-4.4.14/drivers/staging/android/ |
D | ashmem.c | 435 ashmem_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_scan() argument 464 ashmem_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_count() argument
|
/linux-4.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 9 API-shrink-dcache-sb 11 API-shrink-dcache-parent
|
D | gpu.xml.db | 626 API-i915-gem-shrink 627 API-i915-gem-shrink-all
|
/linux-4.4.14/fs/nfs/ |
D | internal.h | 346 extern unsigned long nfs_access_cache_count(struct shrinker *shrink, 348 extern unsigned long nfs_access_cache_scan(struct shrinker *shrink,
|
D | dir.c | 2141 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_scan() argument 2153 nfs_access_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_count() argument
|
/linux-4.4.14/fs/xfs/ |
D | xfs_buf.c | 1597 struct shrinker *shrink, in xfs_buftarg_shrink_scan() argument 1600 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_scan() 1620 struct shrinker *shrink, in xfs_buftarg_shrink_count() argument 1623 struct xfs_buftarg *btp = container_of(shrink, in xfs_buftarg_shrink_count()
|
D | xfs_qm.c | 519 struct shrinker *shrink, in xfs_qm_shrink_scan() argument 522 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_scan() 554 struct shrinker *shrink, in xfs_qm_shrink_count() argument 557 struct xfs_quotainfo *qi = container_of(shrink, in xfs_qm_shrink_count()
|
/linux-4.4.14/drivers/md/ |
D | dm-bufio.c | 1544 dm_bufio_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_scan() argument 1549 c = container_of(shrink, struct dm_bufio_client, shrinker); in dm_bufio_shrink_scan() 1561 dm_bufio_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_count() argument 1566 c = container_of(shrink, struct dm_bufio_client, shrinker); in dm_bufio_shrink_count()
|
D | raid5.c | 6429 static unsigned long raid5_cache_scan(struct shrinker *shrink, in raid5_cache_scan() argument 6432 struct r5conf *conf = container_of(shrink, struct r5conf, shrinker); in raid5_cache_scan() 6450 static unsigned long raid5_cache_count(struct shrinker *shrink, in raid5_cache_count() argument 6453 struct r5conf *conf = container_of(shrink, struct r5conf, shrinker); in raid5_cache_count()
|
/linux-4.4.14/drivers/md/persistent-data/ |
D | dm-array.c | 451 static int shrink(struct resize *resize) in shrink() function 665 r = ((new_size > old_size) ? grow : shrink)(&resize); in array_resize()
|
/linux-4.4.14/Documentation/power/ |
D | interface.txt | 32 to disable nonboot CPUs and freeze tasks, shrink memory, suspend devices, wait
|
/linux-4.4.14/net/sunrpc/ |
D | auth.c | 506 rpcauth_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_scan() argument 520 rpcauth_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_count() argument
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-kernel-slab | 298 the shrink file. 426 What: /sys/kernel/slab/cache/shrink 432 The shrink file is written when memory should be reclaimed from
|
D | sysfs-power | 61 the kernel to disable nonboot CPUs and freeze tasks, shrink
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mr.c | 468 int shrink = 0; in free_cached_mr() local 481 shrink = 1; in free_cached_mr() 484 if (shrink) in free_cached_mr()
|
/linux-4.4.14/fs/gfs2/ |
D | quota.c | 166 static unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, in gfs2_qd_shrink_scan() argument 183 static unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, in gfs2_qd_shrink_count() argument
|
D | glock.c | 1389 static unsigned long gfs2_glock_shrink_scan(struct shrinker *shrink, in gfs2_glock_shrink_scan() argument 1397 static unsigned long gfs2_glock_shrink_count(struct shrinker *shrink, in gfs2_glock_shrink_count() argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 1146 int shrink) in obd_adjust_kms() argument 1153 rc = OBP(exp->exp_obd, adjust_kms)(exp, lsm, size, shrink); in obd_adjust_kms()
|
D | obd.h | 1041 u64 size, int shrink);
|
/linux-4.4.14/Documentation/ |
D | stable_api_nonsense.txt | 99 so, function names may change, structures may grow or shrink, and
|
D | cpu-hotplug.txt | 81 that aren't designed to grow/shrink as CPUs are made available or removed.
|
/linux-4.4.14/fs/quota/ |
D | dquot.c | 696 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_scan() argument 719 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_count() argument
|
/linux-4.4.14/Documentation/vm/ |
D | hugetlbpage.txt | 128 The administrator may shrink the pool of persistent huge pages for
|
/linux-4.4.14/arch/x86/kvm/ |
D | mmu.c | 4830 mmu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in mmu_shrink_scan() argument 4891 mmu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in mmu_shrink_count() argument
|
/linux-4.4.14/arch/arm/ |
D | Kconfig | 255 you need to shrink the kernel to the minimal size.
|
/linux-4.4.14/lib/ |
D | Kconfig.debug | 142 build directory object sizes shrink dramatically over a full
|
/linux-4.4.14/Documentation/RCU/ |
D | RTFP.txt | 2349 ,Title="Kernel RCU: shrink the size of the struct rcu\_head"
|
/linux-4.4.14/arch/x86/ |
D | Kconfig | 1915 modules area will shrink to compensate, up to the current maximum
|