Home
last modified time | relevance | path

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

/kernel/sched/
Dtopology.c2293 cpumask_var_t *doms; in alloc_sched_domains() local
2295 doms = kmalloc_array(ndoms, sizeof(*doms), GFP_KERNEL); in alloc_sched_domains()
2296 if (!doms) in alloc_sched_domains()
2299 if (!alloc_cpumask_var(&doms[i], GFP_KERNEL)) { in alloc_sched_domains()
2300 free_sched_domains(doms, i); in alloc_sched_domains()
2304 return doms; in alloc_sched_domains()
2307 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains() argument
2311 free_cpumask_var(doms[i]); in free_sched_domains()
2312 kfree(doms); in free_sched_domains()
/kernel/cgroup/
Dcpuset.c808 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains() local
815 doms = NULL; in generate_sched_domains()
822 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
823 if (!doms) in generate_sched_domains()
831 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
910 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
911 if (!doms) in generate_sched_domains()
931 dp = doms[nslot]; in generate_sched_domains()
970 if (doms == NULL) in generate_sched_domains()
973 *domains = doms; in generate_sched_domains()
[all …]