Home
last modified time | relevance | path

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

/linux/mm/
H A 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()
72 info = rcu_dereference_protected(pn->shrinker_info, true); in __free_shrinker_info()
75 rcu_assign_pointer(pn->shrinker_info, NULL); in __free_shrinker_info()
94 struct shrinker_info *info = kvzalloc_node(sizeof(*info) + array_size, in alloc_shrinker_info()
103 rcu_assign_pointer(memcg->nodeinfo[nid]->shrinker_info, info); in alloc_shrinker_info()
115 static struct shrinker_info *shrinker_info_protected(struct mem_cgroup *memcg, in shrinker_info_protected()
118 return rcu_dereference_protected(memcg->nodeinfo[nid]->shrinker_info, in shrinker_info_protected()
[all …]
/linux/include/linux/
H A Dshrinker.h21 struct shrinker_info { struct