Searched refs:memcg_lrus (Results 1 – 1 of 1) sorted by relevance
48 struct list_lru_memcg *memcg_lrus; in list_lru_from_memcg_idx() local53 memcg_lrus = rcu_dereference_check(nlru->memcg_lrus, in list_lru_from_memcg_idx()55 if (memcg_lrus && idx >= 0) in list_lru_from_memcg_idx()56 return memcg_lrus->lru[idx]; in list_lru_from_memcg_idx()77 if (!nlru->memcg_lrus) in list_lru_from_kmem()332 static void __memcg_destroy_list_lru_node(struct list_lru_memcg *memcg_lrus, in __memcg_destroy_list_lru_node() argument338 kfree(memcg_lrus->lru[i]); in __memcg_destroy_list_lru_node()341 static int __memcg_init_list_lru_node(struct list_lru_memcg *memcg_lrus, in __memcg_init_list_lru_node() argument354 memcg_lrus->lru[i] = l; in __memcg_init_list_lru_node()358 __memcg_destroy_list_lru_node(memcg_lrus, begin, i); in __memcg_init_list_lru_node()[all …]