Home
last modified time | relevance | path

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

/linux/mm/
A Dlist_lru.c59 memcg_lrus = rcu_dereference_check(nlru->memcg_lrus, in list_lru_from_memcg_idx()
61 if (memcg_lrus && idx >= 0) in list_lru_from_memcg_idx()
73 if (!nlru->memcg_lrus) in list_lru_from_kmem()
353 memcg_lrus->lru[i] = l; in __memcg_init_list_lru_node()
366 memcg_lrus = kvmalloc(struct_size(memcg_lrus, lru, size), GFP_KERNEL); in memcg_init_list_lru_node()
367 if (!memcg_lrus) in memcg_init_list_lru_node()
371 kvfree(memcg_lrus); in memcg_init_list_lru_node()
374 RCU_INIT_POINTER(nlru->memcg_lrus, memcg_lrus); in memcg_init_list_lru_node()
386 memcg_lrus = rcu_dereference_protected(nlru->memcg_lrus, true); in memcg_destroy_list_lru_node()
388 kvfree(memcg_lrus); in memcg_destroy_list_lru_node()
[all …]
/linux/include/linux/
A Dlist_lru.h47 struct list_lru_memcg __rcu *memcg_lrus; member

Completed in 5 milliseconds