Searched refs:doms (Results 1 – 3 of 3) sorted by relevance
560 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains() local565 doms = NULL; in generate_sched_domains()572 doms = alloc_sched_domains(ndoms); in generate_sched_domains()573 if (!doms) in generate_sched_domains()581 cpumask_copy(doms[0], top_cpuset.cpus_allowed); in generate_sched_domains()650 doms = alloc_sched_domains(ndoms); in generate_sched_domains()651 if (!doms) in generate_sched_domains()670 dp = doms[nslot]; in generate_sched_domains()711 if (doms == NULL) in generate_sched_domains()714 *domains = doms; in generate_sched_domains()[all …]
6753 cpumask_var_t *doms; in alloc_sched_domains() local6755 doms = kmalloc(sizeof(*doms) * ndoms, GFP_KERNEL); in alloc_sched_domains()6756 if (!doms) in alloc_sched_domains()6759 if (!alloc_cpumask_var(&doms[i], GFP_KERNEL)) { in alloc_sched_domains()6760 free_sched_domains(doms, i); in alloc_sched_domains()6764 return doms; in alloc_sched_domains()6767 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains() argument6771 free_cpumask_var(doms[i]); in free_sched_domains()6772 kfree(doms); in free_sched_domains()
1059 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);