Searched refs:s_shrink (Results 1 – 5 of 5) sorted by relevance
303 shrinker_free(s->s_shrink); in destroy_unused_super()380 s->s_shrink = shrinker_alloc(SHRINKER_NUMA_AWARE | SHRINKER_MEMCG_AWARE, in alloc_super()382 if (!s->s_shrink) in alloc_super()385 s->s_shrink->scan_objects = super_cache_scan; in alloc_super()386 s->s_shrink->count_objects = super_cache_count; in alloc_super()387 s->s_shrink->batch = 1024; in alloc_super()388 s->s_shrink->private_data = s; in alloc_super()390 if (list_lru_init_memcg(&s->s_dentry_lru, s->s_shrink)) in alloc_super()392 if (list_lru_init_memcg(&s->s_inode_lru, s->s_shrink)) in alloc_super()475 shrinker_free(s->s_shrink); in deactivate_locked_super()[all …]
228 struct shrinker *s_shrink; /* per-sb shrinker handle */ member
304 sb->s_shrink->seeks = 0; in kernfs_fill_super()
277 s->s_shrink->seeks = 0; in proc_fill_super()
1943 shrinker_debugfs_rename(sb->s_shrink, "sb-btrfs:%s", sb->s_id); in btrfs_get_tree_super()