Searched refs:doms (Results 1 – 2 of 2) sorted by relevance
935 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains() local942 doms = NULL; in generate_sched_domains()949 doms = alloc_sched_domains(ndoms); in generate_sched_domains()950 if (!doms) in generate_sched_domains()958 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()1037 doms = alloc_sched_domains(ndoms); in generate_sched_domains()1038 if (!doms) in generate_sched_domains()1058 dp = doms[nslot]; in generate_sched_domains()1097 if (doms == NULL) in generate_sched_domains()1100 *domains = doms; in generate_sched_domains()[all …]
2422 cpumask_var_t *doms; in alloc_sched_domains() local2424 doms = kmalloc_array(ndoms, sizeof(*doms), GFP_KERNEL); in alloc_sched_domains()2425 if (!doms) in alloc_sched_domains()2428 if (!alloc_cpumask_var(&doms[i], GFP_KERNEL)) { in alloc_sched_domains()2429 free_sched_domains(doms, i); in alloc_sched_domains()2433 return doms; in alloc_sched_domains()2436 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains() argument2440 free_cpumask_var(doms[i]); in free_sched_domains()2441 kfree(doms); in free_sched_domains()