Searched refs:memcg_lrus (Results 1 – 2 of 2) 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()67 if (!nlru->memcg_lrus) in list_lru_from_kmem()322 static void __memcg_destroy_list_lru_node(struct list_lru_memcg *memcg_lrus, in __memcg_destroy_list_lru_node() argument328 kfree(memcg_lrus->lru[i]); in __memcg_destroy_list_lru_node()331 static int __memcg_init_list_lru_node(struct list_lru_memcg *memcg_lrus, in __memcg_init_list_lru_node() argument344 memcg_lrus->lru[i] = l; in __memcg_init_list_lru_node()348 __memcg_destroy_list_lru_node(memcg_lrus, begin, i); in __memcg_init_list_lru_node()[all …]
47 struct list_lru_memcg __rcu *memcg_lrus; member