Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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_()
/kernel/linux/linux-5.10/kernel/cgroup/
Dcpuset.c755 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains() local
762 doms = NULL; in generate_sched_domains()
769 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
770 if (!doms) in generate_sched_domains()
778 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
857 doms = alloc_sched_domains(ndoms); in generate_sched_domains()
858 if (!doms) in generate_sched_domains()
878 dp = doms[nslot]; in generate_sched_domains()
917 if (doms == NULL) in generate_sched_domains()
920 *domains = doms; in generate_sched_domains()
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dtopology.c2193 cpumask_var_t *doms; in alloc_sched_domains() local
2195 doms = kmalloc_array(ndoms, sizeof(*doms), GFP_KERNEL); in alloc_sched_domains()
2196 if (!doms) in alloc_sched_domains()
2199 if (!alloc_cpumask_var(&doms[i], GFP_KERNEL)) { in alloc_sched_domains()
2200 free_sched_domains(doms, i); in alloc_sched_domains()
2204 return doms; in alloc_sched_domains()
2207 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains() argument
2211 free_cpumask_var(doms[i]); in free_sched_domains()
2212 kfree(doms); in free_sched_domains()
/kernel/linux/linux-5.10/include/linux/sched/
Dtopology.h170 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);