Lines Matching defs:nid
131 * @kpfn: page frame number of this ksm page (perhaps temporarily on wrong nid)
132 * @nid: NUMA node id of stable tree in which linked (may not match kpfn)
145 int nid;
153 * @nid: NUMA node id of unstable tree in which linked (may not match page)
166 int nid; /* when node of unstable tree */
513 root_stable_tree + NUMA(stable_node->nid));
649 root_unstable_tree + NUMA(rmap_item->nid));
744 int nid;
747 for (nid = 0; nid < ksm_nr_node_ids; nid++) {
748 while (root_stable_tree[nid].rb_node) {
749 stable_node = rb_entry(root_stable_tree[nid].rb_node,
753 break; /* proceed to next nid */
1100 /* Unstable nid is in union with stable anon_vma: remove first */
1153 int nid;
1167 nid = get_kpfn_nid(page_to_pfn(page));
1168 root = root_stable_tree + nid;
1203 NUMA(stable_node->nid)) {
1223 DO_NUMA(page_node->nid = nid);
1232 DO_NUMA(page_node->nid = nid);
1253 int nid;
1261 nid = get_kpfn_nid(kpfn);
1262 root = root_stable_tree + nid;
1300 DO_NUMA(stable_node->nid = nid);
1329 int nid;
1331 nid = get_kpfn_nid(page_to_pfn(page));
1332 root = root_unstable_tree + nid;
1364 page_to_nid(tree_page) != nid) {
1380 DO_NUMA(rmap_item->nid = nid);
1427 get_kpfn_nid(stable_node->kpfn) != NUMA(stable_node->nid)) {
1429 root_stable_tree + NUMA(stable_node->nid));
1541 int nid;
1581 for (nid = 0; nid < ksm_nr_node_ids; nid++)
1582 root_unstable_tree[nid] = RB_ROOT;
1997 int nid;
1999 for (nid = 0; nid < ksm_nr_node_ids; nid++) {
2000 node = rb_first(root_stable_tree + nid);
2010 node = rb_first(root_stable_tree + nid);