Lines Matching defs:nodes
88 int n, nodes = 0;
90 /* Calculate the number of nodes in the supplied affinity mask */
94 nodes++;
97 return nodes;
164 * bigger than number of active numa nodes. Always start the
170 * other nodes will be allocated >= 1 groups, since 'numgrps' is
171 * bigger than number of numa nodes.
176 * 1) suppose there are two nodes: A and B
223 * For nodes >= 3, it can be thought as one node and another big
254 unsigned int i, n, nodes, cpus_per_grp, extra_grps, done = 0;
263 nodes = get_nodes_in_cpumask(node_to_cpumask, cpu_mask, &nodemsk);
266 * If the number of nodes in the mask is greater than or equal the
267 * number of groups we just spread the groups across the nodes.
269 if (numgrps <= nodes) {