Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dsuper.c194 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
247 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
309 free_prealloced_shrinker(&s->s_shrink); in destroy_unused_super()
386 s->s_shrink.seeks = DEFAULT_SEEKS; in alloc_super()
387 s->s_shrink.scan_objects = super_cache_scan; in alloc_super()
388 s->s_shrink.count_objects = super_cache_count; in alloc_super()
389 s->s_shrink.batch = 1024; in alloc_super()
390 s->s_shrink.flags = SHRINKER_NUMA_AWARE | SHRINKER_MEMCG_AWARE; in alloc_super()
391 if (prealloc_shrinker(&s->s_shrink, "sb-%s", type->name)) in alloc_super()
393 if (list_lru_init_memcg(&s->s_dentry_lru, &s->s_shrink)) in alloc_super()
[all …]
/linux-6.6.21/fs/proc/
Droot.c191 s->s_shrink.seeks = 0; in proc_fill_super()
/linux-6.6.21/fs/kernfs/
Dmount.c268 sb->s_shrink.seeks = 0; in kernfs_fill_super()
/linux-6.6.21/fs/btrfs/
Dsuper.c1525 shrinker_debugfs_rename(&s->s_shrink, "sb-%s:%s", fs_type->name, in btrfs_mount_root()
/linux-6.6.21/include/linux/
Dfs.h1270 struct shrinker s_shrink; /* per-sb shrinker handle */ member