Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dnv40.c82 nv40_pm_new_(const struct nvkm_specdom *doms, struct nvkm_device *device, in nv40_pm_new_() argument
96 return nvkm_perfdom_new(&pm->base, "pc", 0, 0, 0, 4, doms); in nv40_pm_new_()
/Linux-v5.10/kernel/cgroup/
Dcpuset.c744 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains() local
751 doms = NULL; in generate_sched_domains()
758 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
759 if (!doms) in generate_sched_domains()
767 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
846 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
847 if (!doms) in generate_sched_domains()
867 dp = doms[nslot]; in generate_sched_domains()
906 if (doms == NULL) in generate_sched_domains()
909 *domains = doms; in generate_sched_domains()
[all …]
/Linux-v5.10/kernel/sched/
Dtopology.c2110 cpumask_var_t *doms; in alloc_sched_domains() local
2112 doms = kmalloc_array(ndoms, sizeof(*doms), GFP_KERNEL); in alloc_sched_domains()
2113 if (!doms) in alloc_sched_domains()
2116 if (!alloc_cpumask_var(&doms[i], GFP_KERNEL)) { in alloc_sched_domains()
2117 free_sched_domains(doms, i); in alloc_sched_domains()
2121 return doms; in alloc_sched_domains()
2124 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains() argument
2128 free_cpumask_var(doms[i]); in free_sched_domains()
2129 kfree(doms); in free_sched_domains()
/Linux-v5.10/include/linux/sched/
Dtopology.h170 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);