Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/sched/
Dtopology.h178 cpumask_var_t *alloc_sched_domains(unsigned int ndoms);
179 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);
/linux-5.19.10/kernel/cgroup/
Dcpuset.c814 int ndoms = 0; /* number of sched domains in result */ in generate_sched_domains() local
825 ndoms = 1; in generate_sched_domains()
826 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
885 ndoms = csn; in generate_sched_domains()
904 ndoms--; /* one less element */ in generate_sched_domains()
914 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
922 dattr = kmalloc_array(ndoms, sizeof(struct sched_domain_attr), in generate_sched_domains()
937 if (nslot == ndoms) { in generate_sched_domains()
941 nslot, ndoms, csn, i, apn); in generate_sched_domains()
965 BUG_ON(nslot != ndoms); in generate_sched_domains()
[all …]
/linux-5.19.10/kernel/sched/
Dtopology.c2418 cpumask_var_t *alloc_sched_domains(unsigned int ndoms) in alloc_sched_domains() argument
2423 doms = kmalloc_array(ndoms, sizeof(*doms), GFP_KERNEL); in alloc_sched_domains()
2426 for (i = 0; i < ndoms; i++) { in alloc_sched_domains()
2435 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains() argument
2438 for (i = 0; i < ndoms; i++) in free_sched_domains()
/linux-5.19.10/drivers/iommu/intel/
Dcap_audit.c128 MINIMAL_FEATURE_HOTPLUG(iommu, cap, ndoms, CAP_NDOMS_MASK, mismatch); in cap_audit_hotplug()