Home
last modified time | relevance | path

Searched refs:shrinker_info (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/mm/
Dshrinker.c21 static inline void shrinker_unit_free(struct shrinker_info *info, int start) in shrinker_unit_free()
41 static inline int shrinker_unit_alloc(struct shrinker_info *new, in shrinker_unit_alloc()
42 struct shrinker_info *old, int nid) in shrinker_unit_alloc()
65 struct shrinker_info *info; in free_shrinker_info()
70 info = rcu_dereference_protected(pn->shrinker_info, true); in free_shrinker_info()
73 rcu_assign_pointer(pn->shrinker_info, NULL); in free_shrinker_info()
85 struct shrinker_info *info = kvzalloc_node(sizeof(*info) + array_size, in alloc_shrinker_info()
94 rcu_assign_pointer(memcg->nodeinfo[nid]->shrinker_info, info); in alloc_shrinker_info()
106 static struct shrinker_info *shrinker_info_protected(struct mem_cgroup *memcg, in shrinker_info_protected()
109 return rcu_dereference_protected(memcg->nodeinfo[nid]->shrinker_info, in shrinker_info_protected()
[all …]
/linux-6.12.1/include/linux/
Dshrinker.h21 struct shrinker_info { struct
Dmemcontrol.h94 struct shrinker_info __rcu *shrinker_info; member