Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dworkingset.c431 static struct list_lru shadow_nodes; variable
447 list_lru_add(&shadow_nodes, &node->private_list); in workingset_update_node()
452 list_lru_del(&shadow_nodes, &node->private_list); in workingset_update_node()
465 nodes = list_lru_shrink_count(&shadow_nodes, sc); in count_shadow_nodes()
577 return list_lru_shrink_walk_irq(&shadow_nodes, sc, shadow_lru_isolate, in scan_shadow_nodes()
618 ret = __list_lru_init(&shadow_nodes, true, &shadow_nodes_key, in workingset_init()
/Linux-v5.10/lib/
Dtest_xarray.c1626 static LIST_HEAD(shadow_nodes);
1632 list_add(&shadow_nodes, &node->private_list); in test_update_node()
1644 while ((node = list_first_entry_or_null(&shadow_nodes, in shadow_remove()
1666 XA_BUG_ON(xa, list_empty(&shadow_nodes)); in check_workingset()
1671 XA_BUG_ON(xa, !list_empty(&shadow_nodes)); in check_workingset()
1675 XA_BUG_ON(xa, list_empty(&shadow_nodes)); in check_workingset()
1678 XA_BUG_ON(xa, !list_empty(&shadow_nodes)); in check_workingset()