Home
last modified time | relevance | path

Searched refs:s_shrink (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/
Dsuper.c71 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
124 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
186 free_prealloced_shrinker(&s->s_shrink); in destroy_unused_super()
265 s->s_shrink.seeks = DEFAULT_SEEKS; in alloc_super()
266 s->s_shrink.scan_objects = super_cache_scan; in alloc_super()
267 s->s_shrink.count_objects = super_cache_count; in alloc_super()
268 s->s_shrink.batch = 1024; in alloc_super()
269 s->s_shrink.flags = SHRINKER_NUMA_AWARE | SHRINKER_MEMCG_AWARE; in alloc_super()
270 if (prealloc_shrinker(&s->s_shrink)) in alloc_super()
272 if (list_lru_init_memcg(&s->s_dentry_lru, &s->s_shrink)) in alloc_super()
[all …]
/kernel/linux/linux-5.10/fs/proc/
Droot.c194 s->s_shrink.seeks = 0; in proc_fill_super()
/kernel/linux/linux-5.10/fs/kernfs/
Dmount.c255 sb->s_shrink.seeks = 0; in kernfs_fill_super()
/kernel/linux/linux-5.10/include/linux/
Dfs.h1509 struct shrinker s_shrink; /* per-sb shrinker handle */ member