Searched refs:memcg_lrus (Results 1 – 1 of 1) sorted by relevance
49 return !!lru->node[0].memcg_lrus; in list_lru_memcg_aware()60 if (nlru->memcg_lrus && idx >= 0) in list_lru_from_memcg_idx()61 return nlru->memcg_lrus->lru[idx]; in list_lru_from_memcg_idx()81 if (!nlru->memcg_lrus) in list_lru_from_kmem()294 static void __memcg_destroy_list_lru_node(struct list_lru_memcg *memcg_lrus, in __memcg_destroy_list_lru_node() argument300 kfree(memcg_lrus->lru[i]); in __memcg_destroy_list_lru_node()303 static int __memcg_init_list_lru_node(struct list_lru_memcg *memcg_lrus, in __memcg_init_list_lru_node() argument316 memcg_lrus->lru[i] = l; in __memcg_init_list_lru_node()320 __memcg_destroy_list_lru_node(memcg_lrus, begin, i - 1); in __memcg_init_list_lru_node()328 nlru->memcg_lrus = kmalloc(size * sizeof(void *), GFP_KERNEL); in memcg_init_list_lru_node()[all …]