Home
last modified time | relevance | path

Searched refs:shrink_control (Results 1 – 43 of 43) sorted by relevance

/linux-4.4.14/include/linux/
Dshrinker.h11 struct shrink_control { struct
51 struct shrink_control *sc);
53 struct shrink_control *sc);
Dlist_lru.h113 struct shrink_control *sc) in list_lru_shrink_count()
167 list_lru_shrink_walk(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk()
Dfs.h1723 struct shrink_control *);
1725 struct shrink_control *);
/linux-4.4.14/fs/
Dinternal.h17 struct shrink_control;
115 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
132 extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
Dmbcache.c248 mb_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in mb_cache_shrink_scan()
291 mb_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in mb_cache_shrink_count()
Dsuper.c56 struct shrink_control *sc) in super_cache_scan()
113 struct shrink_control *sc) in super_cache_count()
Dinode.c757 long prune_icache_sb(struct super_block *sb, struct shrink_control *sc) in prune_icache_sb()
Ddcache.c1081 long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc) in prune_dcache_sb()
/linux-4.4.14/fs/f2fs/
Dshrinker.c39 struct shrink_control *sc) in f2fs_shrink_count()
75 struct shrink_control *sc) in f2fs_shrink_scan()
Df2fs.h2063 unsigned long f2fs_shrink_count(struct shrinker *, struct shrink_control *);
2064 unsigned long f2fs_shrink_scan(struct shrinker *, struct shrink_control *);
/linux-4.4.14/drivers/staging/android/
Dlowmemorykiller.c71 struct shrink_control *sc) in lowmem_count()
79 static unsigned long lowmem_scan(struct shrinker *s, struct shrink_control *sc) in lowmem_scan()
Dashmem.c435 ashmem_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_scan()
464 ashmem_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_count()
783 struct shrink_control sc = { in ashmem_ioctl()
/linux-4.4.14/mm/
Dworkingset.c270 struct shrink_control *sc) in count_shadow_nodes()
374 struct shrink_control *sc) in scan_shadow_nodes()
Dzsmalloc.c1820 struct shrink_control *sc) in zs_shrinker_scan()
1838 struct shrink_control *sc) in zs_shrinker_count()
Dvmscan.c266 static unsigned long do_shrink_slab(struct shrink_control *shrinkctl, in do_shrink_slab()
432 struct shrink_control sc = { in shrink_slab()
Dhuge_memory.c213 struct shrink_control *sc) in shrink_huge_zero_page_count()
220 struct shrink_control *sc) in shrink_huge_zero_page_scan()
/linux-4.4.14/fs/ubifs/
Dshrinker.c280 struct shrink_control *sc) in ubifs_shrink_count()
292 struct shrink_control *sc) in ubifs_shrink_scan()
Dubifs.h1640 struct shrink_control *sc);
1642 struct shrink_control *sc);
/linux-4.4.14/fs/nfsd/
Dnfscache.c67 struct shrink_control *sc);
69 struct shrink_control *sc);
271 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count()
277 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_shrinker.c207 i915_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_count()
236 i915_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_scan()
/linux-4.4.14/drivers/staging/android/ion/
Dion_heap.c269 struct shrink_control *sc) in ion_heap_shrink_count()
282 struct shrink_control *sc) in ion_heap_shrink_scan()
Dion.c1474 struct shrink_control sc; in debug_shrink_set()
1492 struct shrink_control sc; in debug_shrink_get()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_bulk.c222 struct shrink_control *sc) in enc_pools_shrink_count()
244 struct shrink_control *sc) in enc_pools_shrink_scan()
/linux-4.4.14/fs/nfs/
Dinternal.h347 struct shrink_control *sc);
349 struct shrink_control *sc);
Ddir.c2141 nfs_access_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_scan()
2153 nfs_access_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs_access_cache_count()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_page_alloc.c395 ttm_pool_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ttm_pool_shrink_scan()
424 ttm_pool_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ttm_pool_shrink_count()
Dttm_page_alloc_dma.c1012 ttm_dma_pool_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ttm_dma_pool_shrink_scan()
1054 ttm_dma_pool_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ttm_dma_pool_shrink_count()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_pool.c916 struct shrink_control *sc) in ldlm_pools_cli_count()
922 struct shrink_control *sc) in ldlm_pools_cli_scan()
/linux-4.4.14/include/trace/events/
Dvmscan.h183 TP_PROTO(struct shrinker *shr, struct shrink_control *sc,
/linux-4.4.14/net/sunrpc/
Dauth.c506 rpcauth_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_scan()
520 rpcauth_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_count()
/linux-4.4.14/fs/ext4/
Dextents_status.c1061 struct shrink_control *sc) in ext4_es_count()
1073 struct shrink_control *sc) in ext4_es_scan()
/linux-4.4.14/fs/xfs/
Dxfs_buf.c1598 struct shrink_control *sc) in xfs_buftarg_shrink_scan()
1621 struct shrink_control *sc) in xfs_buftarg_shrink_count()
Dxfs_super.c1618 struct shrink_control *sc) in xfs_fs_nr_cached_objects()
1626 struct shrink_control *sc) in xfs_fs_free_cached_objects()
Dxfs_qm.c520 struct shrink_control *sc) in xfs_qm_shrink_scan()
555 struct shrink_control *sc) in xfs_qm_shrink_count()
/linux-4.4.14/drivers/md/
Ddm-bufio.c1544 dm_bufio_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_scan()
1561 dm_bufio_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dm_bufio_shrink_count()
Draid5.c6430 struct shrink_control *sc) in raid5_cache_scan()
6451 struct shrink_control *sc) in raid5_cache_count()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c1747 struct shrink_control *sc) in lu_cache_shrink_count()
1770 struct shrink_control *sc) in lu_cache_shrink_scan()
/linux-4.4.14/fs/gfs2/
Dquota.c167 struct shrink_control *sc) in gfs2_qd_shrink_scan()
184 struct shrink_control *sc) in gfs2_qd_shrink_count()
Dglock.c1390 struct shrink_control *sc) in gfs2_glock_shrink_scan()
1398 struct shrink_control *sc) in gfs2_glock_shrink_count()
/linux-4.4.14/drivers/md/bcache/
Dsysfs.c621 struct shrink_control sc; in STORE()
Dbtree.c662 struct shrink_control *sc) in bch_mca_scan()
726 struct shrink_control *sc) in bch_mca_count()
/linux-4.4.14/fs/quota/
Ddquot.c696 dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_scan()
719 dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in dqcache_shrink_count()
/linux-4.4.14/arch/x86/kvm/
Dmmu.c4830 mmu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in mmu_shrink_scan()
4891 mmu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in mmu_shrink_count()