Searched refs:shadow_nodes (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
D | workingset.c | 493 static struct list_lru shadow_nodes; variable 509 list_lru_add(&shadow_nodes, &node->private_list); in workingset_update_node() 514 list_lru_del(&shadow_nodes, &node->private_list); in workingset_update_node() 527 nodes = list_lru_shrink_count(&shadow_nodes, sc); in count_shadow_nodes() 641 return list_lru_shrink_walk_irq(&shadow_nodes, sc, shadow_lru_isolate, in scan_shadow_nodes() 682 ret = __list_lru_init(&shadow_nodes, true, &shadow_nodes_key, in workingset_init()
|
/kernel/linux/linux-5.10/lib/ |
D | test_xarray.c | 1628 static LIST_HEAD(shadow_nodes); 1634 list_add(&shadow_nodes, &node->private_list); in test_update_node() 1646 while ((node = list_first_entry_or_null(&shadow_nodes, in shadow_remove() 1668 XA_BUG_ON(xa, list_empty(&shadow_nodes)); in check_workingset() 1673 XA_BUG_ON(xa, !list_empty(&shadow_nodes)); in check_workingset() 1677 XA_BUG_ON(xa, list_empty(&shadow_nodes)); in check_workingset() 1680 XA_BUG_ON(xa, !list_empty(&shadow_nodes)); in check_workingset()
|