Lines Matching refs:nid
145 int nid; member
166 int nid; /* when node of unstable tree */ member
515 root_stable_tree + NUMA(stable_node->nid)); in remove_node_from_stable_tree()
652 root_unstable_tree + NUMA(rmap_item->nid)); in remove_rmap_item_from_tree()
747 int nid; in remove_all_stable_nodes() local
750 for (nid = 0; nid < ksm_nr_node_ids; nid++) { in remove_all_stable_nodes()
751 while (root_stable_tree[nid].rb_node) { in remove_all_stable_nodes()
752 stable_node = rb_entry(root_stable_tree[nid].rb_node, in remove_all_stable_nodes()
1152 int nid; in stable_tree_search() local
1166 nid = get_kpfn_nid(page_to_pfn(page)); in stable_tree_search()
1167 root = root_stable_tree + nid; in stable_tree_search()
1212 NUMA(stable_node->nid)) { in stable_tree_search()
1232 DO_NUMA(page_node->nid = nid); in stable_tree_search()
1241 DO_NUMA(page_node->nid = nid); in stable_tree_search()
1262 int nid; in stable_tree_insert() local
1270 nid = get_kpfn_nid(kpfn); in stable_tree_insert()
1271 root = root_stable_tree + nid; in stable_tree_insert()
1321 DO_NUMA(stable_node->nid = nid); in stable_tree_insert()
1350 int nid; in unstable_tree_search_insert() local
1352 nid = get_kpfn_nid(page_to_pfn(page)); in unstable_tree_search_insert()
1353 root = root_unstable_tree + nid; in unstable_tree_search_insert()
1385 page_to_nid(tree_page) != nid) { in unstable_tree_search_insert()
1401 DO_NUMA(rmap_item->nid = nid); in unstable_tree_search_insert()
1448 get_kpfn_nid(stable_node->kpfn) != NUMA(stable_node->nid)) { in cmp_and_merge_page()
1450 root_stable_tree + NUMA(stable_node->nid)); in cmp_and_merge_page()
1590 int nid; in scan_get_next_rmap_item() local
1630 for (nid = 0; nid < ksm_nr_node_ids; nid++) in scan_get_next_rmap_item()
1631 root_unstable_tree[nid] = RB_ROOT; in scan_get_next_rmap_item()
2048 int nid; in ksm_check_stable_tree() local
2050 for (nid = 0; nid < ksm_nr_node_ids; nid++) { in ksm_check_stable_tree()
2051 node = rb_first(root_stable_tree + nid); in ksm_check_stable_tree()
2061 node = rb_first(root_stable_tree + nid); in ksm_check_stable_tree()