Lines Matching defs:csa
811 * csa - (for CpuSet Array) Array of pointers to all the cpusets
818 * doms - Conversion of 'csa' to an array of cpumasks, for passing to
826 * balanced cpusets (using the array of cpuset pointers in csa[])
839 struct cpuset **csa; /* array of all cpuset ptrs */
840 int csn; /* how many cpuset ptrs in csa so far */
853 csa = NULL;
874 csa = kmalloc_array(nr_cpusets(), sizeof(cp), GFP_KERNEL);
875 if (!csa)
881 csa[csn++] = &top_cpuset;
906 csa[csn++] = cp;
919 csa[csn++] = cp;
938 uf_node_init(&csa[i]->node);
943 if (cpusets_overlap(csa[i], csa[j])) {
949 uf_union(&csa[i]->node, &csa[j]->node);
956 if (uf_find(&csa[i]->node) == &csa[i]->node)
962 * Convert <csn, csa> to <ndoms, doms> and populate cpu masks.
986 if (csa[i] == &top_cpuset)
987 cpumask_and(doms[i], csa[i]->effective_cpus,
990 cpumask_copy(doms[i], csa[i]->effective_cpus);
1000 if (uf_find(&csa[j]->node) == &csa[i]->node) {
1009 cpumask_or(dp, dp, csa[j]->effective_cpus);
1012 update_domain_attr_tree(dattr + nslot, csa[j]);
1021 kfree(csa);