Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dlist_lru.c48 struct list_lru_memcg *memcg_lrus; in list_lru_from_memcg_idx() local
53 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() argument
328 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() argument
344 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 …]
/kernel/linux/linux-5.10/include/linux/
Dlist_lru.h47 struct list_lru_memcg __rcu *memcg_lrus; member