Searched refs:span (Results 1 – 5 of 5) sorted by relevance
/kernel/sched/ |
D | topology.c | 473 free_cpumask_var(rd->span); in free_rootdomain() 491 cpumask_clear_cpu(rq->cpu, old_rd->span); in rq_attach_root() 505 cpumask_set_cpu(rq->cpu, rd->span); in rq_attach_root() 530 if (!zalloc_cpumask_var(&rd->span, GFP_KERNEL)) in init_rootdomain() 563 free_cpumask_var(rd->span); in init_rootdomain() 1008 const struct cpumask *span = sched_domain_span(sd); in build_overlap_sched_groups() local 1016 for_each_cpu_wrap(i, span, cpu) { in build_overlap_sched_groups() 1069 !cpumask_subset(sched_domain_span(sibling->child), span)) in build_overlap_sched_groups() 1220 const struct cpumask *span = sched_domain_span(sd); in build_sched_groups() local 1229 for_each_cpu_wrap(i, span, cpu) { in build_sched_groups()
|
D | deadline.c | 118 if (cpumask_subset(rd->span, cpu_active_mask)) in dl_bw_cpus() 119 return cpumask_weight(rd->span); in dl_bw_cpus() 123 for_each_cpu_and(i, rd->span, cpu_active_mask) in dl_bw_cpus() 153 return __dl_bw_capacity(cpu_rq(i)->rd->span); in dl_bw_capacity() 176 for_each_cpu_and(i, rd->span, cpu_active_mask) { in __dl_update() 726 __dl_sub(dl_b, p->dl.dl_bw, cpumask_weight(rq->rd->span)); in dl_task_offline_migration() 731 __dl_add(dl_b, p->dl.dl_bw, cpumask_weight(later_rq->rd->span)); in dl_task_offline_migration() 2509 if (!cpumask_intersects(src_rd->span, new_mask)) { in set_cpus_allowed_dl() 2573 __dl_add(dl_b, p->dl.dl_bw, cpumask_weight(rq->rd->span)); in dl_add_task_root_domain()
|
D | rt.c | 638 return this_rq()->rd->span; in sched_rt_period_mask() 741 weight = cpumask_weight(rd->span); in do_balance_runtime() 745 for_each_cpu(i, rd->span) { in do_balance_runtime() 822 for_each_cpu(i, rd->span) { in __disable_runtime() 910 const struct cpumask *span; in do_sched_rt_period_timer() local 912 span = sched_rt_period_mask(); in do_sched_rt_period_timer() 924 span = cpu_online_mask; in do_sched_rt_period_timer() 926 for_each_cpu(i, span) { in do_sched_rt_period_timer()
|
D | core.c | 7780 cpumask_t *span = rq->rd->span; in __sched_setscheduler() local 7787 if (!cpumask_subset(span, p->cpus_ptr) || in __sched_setscheduler() 8330 if (!cpumask_subset(task_rq(p)->rd->span, mask)) in dl_task_check_affinity() 9655 BUG_ON(!cpumask_test_cpu(cpu, rq->rd->span)); in sched_cpu_activate() 9700 BUG_ON(!cpumask_test_cpu(cpu, rq->rd->span)); in sched_cpu_deactivate()
|
D | sched.h | 837 cpumask_var_t span; member
|