Lines Matching refs:node

23  * Per node, two clock lists are maintained for file pages: the
171 * For each node's LRU lists, a counter for inactive evictions and
172 * activations is maintained (node->nonresident_age).
175 * identify the node) is stored in the now empty page cache
533 * evicted folio in the context of the node and the memcg whose memory
665 void workingset_update_node(struct xa_node *node)
675 * as node->private_list is protected by the i_pages lock.
677 mapping = container_of(node->array, struct address_space, i_pages);
680 if (node->count && node->count == node->nr_values) {
681 if (list_empty(&node->private_list)) {
682 list_lru_add(&shadow_nodes, &node->private_list);
683 __inc_lruvec_kmem_state(node, WORKINGSET_NODES);
686 if (!list_empty(&node->private_list)) {
687 list_lru_del(&shadow_nodes, &node->private_list);
688 __dec_lruvec_kmem_state(node, WORKINGSET_NODES);
716 * node for every eligible shadow entry, so compromise on a
758 struct xa_node *node = container_of(item, struct xa_node, private_list);
764 * the shadow node LRU under the i_pages lock and the
770 * pin only the address_space of the particular node we want
771 * to reclaim, take the node off-LRU, and drop the lru_lock.
774 mapping = container_of(node->array, struct address_space, i_pages);
794 __dec_lruvec_kmem_state(node, WORKINGSET_NODES);
801 * delete and free the empty node afterwards.
803 if (WARN_ON_ONCE(!node->nr_values))
805 if (WARN_ON_ONCE(node->count != node->nr_values))
807 xa_delete_node(node, workingset_update_node);
808 __inc_lruvec_kmem_state(node, WORKINGSET_NODERECLAIM);