Home
last modified time | relevance | path

Searched refs:doms (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/kernel/
Dcpuset.c560 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains() local
565 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 …]
/linux-3.4.99/kernel/sched/
Dcore.c6753 cpumask_var_t *doms; in alloc_sched_domains() local
6755 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() argument
6771 free_cpumask_var(doms[i]); in free_sched_domains()
6772 kfree(doms); in free_sched_domains()
/linux-3.4.99/include/linux/
Dsched.h1059 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);