Home
last modified time | relevance | path

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

/kernel/cgroup/
Dcpuset.c937 int ndoms = 0; /* number of sched domains in result */ in generate_sched_domains() local
948 ndoms = 1; in generate_sched_domains()
949 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
1008 ndoms = csn; in generate_sched_domains()
1027 ndoms--; /* one less element */ in generate_sched_domains()
1037 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
1045 dattr = kmalloc_array(ndoms, sizeof(struct sched_domain_attr), in generate_sched_domains()
1060 if (nslot == ndoms) { in generate_sched_domains()
1064 nslot, ndoms, csn, i, apn); in generate_sched_domains()
1088 BUG_ON(nslot != ndoms); in generate_sched_domains()
[all …]
/kernel/sched/
Dtopology.c2419 cpumask_var_t *alloc_sched_domains(unsigned int ndoms) in alloc_sched_domains() argument
2424 doms = kmalloc_array(ndoms, sizeof(*doms), GFP_KERNEL); in alloc_sched_domains()
2427 for (i = 0; i < ndoms; i++) { in alloc_sched_domains()
2436 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains() argument
2439 for (i = 0; i < ndoms; i++) in free_sched_domains()