Home
last modified time | relevance | path

Searched refs:shadow_nodes (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/mm/
Dworkingset.c599 struct list_lru shadow_nodes; variable
618 list_lru_add(&shadow_nodes, &node->private_list); in workingset_update_node()
623 list_lru_del(&shadow_nodes, &node->private_list); in workingset_update_node()
636 nodes = list_lru_shrink_count(&shadow_nodes, sc); in count_shadow_nodes()
762 return list_lru_shrink_walk_irq(&shadow_nodes, sc, shadow_lru_isolate, in scan_shadow_nodes()
803 ret = __list_lru_init(&shadow_nodes, true, &shadow_nodes_key, in workingset_init()
/linux-6.6.21/include/linux/
Dswap.h354 extern struct list_lru shadow_nodes;
358 xas_set_lru(xas, &shadow_nodes); \
/linux-6.6.21/lib/
Dtest_xarray.c1650 static LIST_HEAD(shadow_nodes);
1656 list_add(&shadow_nodes, &node->private_list); in test_update_node()
1668 while ((node = list_first_entry_or_null(&shadow_nodes, in shadow_remove()
1690 XA_BUG_ON(xa, list_empty(&shadow_nodes)); in check_workingset()
1695 XA_BUG_ON(xa, !list_empty(&shadow_nodes)); in check_workingset()
1699 XA_BUG_ON(xa, list_empty(&shadow_nodes)); in check_workingset()
1702 XA_BUG_ON(xa, !list_empty(&shadow_nodes)); in check_workingset()