Lines Matching refs:node_groups
100 struct node_groups { struct
111 const struct node_groups *ln = l; in ncpus_cmp_func() argument
112 const struct node_groups *rn = r; in ncpus_cmp_func()
135 struct node_groups *node_groups) in alloc_nodes_groups() argument
140 node_groups[n].id = n; in alloc_nodes_groups()
141 node_groups[n].ncpus = UINT_MAX; in alloc_nodes_groups()
153 node_groups[n].ncpus = ncpus; in alloc_nodes_groups()
158 sort(node_groups, nr_node_ids, sizeof(node_groups[0]), in alloc_nodes_groups()
232 if (node_groups[n].ncpus == UINT_MAX) in alloc_nodes_groups()
237 ncpus = node_groups[n].ncpus; in alloc_nodes_groups()
242 node_groups[n].ngroups = ngroups; in alloc_nodes_groups()
258 struct node_groups *node_groups; in __group_cpus_evenly() local
280 node_groups = kcalloc(nr_node_ids, in __group_cpus_evenly()
281 sizeof(struct node_groups), in __group_cpus_evenly()
283 if (!node_groups) in __group_cpus_evenly()
288 nodemsk, nmsk, node_groups); in __group_cpus_evenly()
291 struct node_groups *nv = &node_groups[i]; in __group_cpus_evenly()
328 kfree(node_groups); in __group_cpus_evenly()