Lines Matching refs:nodes
45 int num_nodes; /* Number of nodes in a level in a cpuinfo tree */
51 /* Offsets into nodes[] for each level of the tree */
53 struct cpuinfo_node nodes[] __counted_by(total_nodes);
86 * nodes.
121 * end index, and number of nodes for each level in the cpuinfo tree. The
122 * total number of cpuinfo nodes required to build the tree is returned.
197 new_tree = kzalloc(struct_size(new_tree, nodes, n), GFP_ATOMIC);
211 node = &new_tree->nodes[n];
252 node = &new_tree->nodes[level_rover[level]];
277 node = &new_tree->nodes[n];
299 struct cpuinfo_node *node = &t->nodes[node_index];
302 top_level = t->nodes[root_index].level;
314 node = &t->nodes[node->parent_index];
340 for (level = t->nodes[root_index].level; level < CPUINFO_LVL_MAX;
342 new_index = t->nodes[index].rover;
368 for (i = 0; i < cpuinfo_tree->nodes[0].num_cpus; i++)
404 root_node = &cpuinfo_tree->nodes[0];