Home
last modified time | relevance | path

Searched refs:sd (Results 1 – 8 of 8) sorted by relevance

/kernel/sched/
Dstats.c30 struct sched_domain *sd; in show_schedstat() local
50 for_each_domain(cpu, sd) { in show_schedstat()
54 sched_domain_span(sd)); in show_schedstat()
59 sd->lb_count[itype], in show_schedstat()
60 sd->lb_balanced[itype], in show_schedstat()
61 sd->lb_failed[itype], in show_schedstat()
62 sd->lb_imbalance[itype], in show_schedstat()
63 sd->lb_gained[itype], in show_schedstat()
64 sd->lb_hot_gained[itype], in show_schedstat()
65 sd->lb_nobusyq[itype], in show_schedstat()
[all …]
Dcore.c667 struct sched_domain *sd; in get_nohz_timer_target() local
673 for_each_domain(cpu, sd) { in get_nohz_timer_target()
674 for_each_cpu(i, sched_domain_span(sd)) { in get_nohz_timer_target()
1665 struct sched_domain *sd; in ttwu_stat() local
1669 for_each_domain(this_cpu, sd) { in ttwu_stat()
1670 if (cpumask_test_cpu(cpu, sched_domain_span(sd))) { in ttwu_stat()
1671 schedstat_inc(sd, ttwu_wake_remote); in ttwu_stat()
5346 sd_alloc_ctl_domain_table(struct sched_domain *sd) in sd_alloc_ctl_domain_table() argument
5352 struct sched_group *sg = sd->groups; in sd_alloc_ctl_domain_table()
5357 do {} while (nr_sgs++, sg = sg->next, sg != sd->groups); in sd_alloc_ctl_domain_table()
[all …]
Dfair.c1349 struct sched_domain *sd; in task_numa_migrate() local
1363 sd = rcu_dereference(per_cpu(sd_numa, env.src_cpu)); in task_numa_migrate()
1364 if (sd) in task_numa_migrate()
1365 env.imbalance_pct = 100 + (sd->imbalance_pct - 100) / 2; in task_numa_migrate()
1374 if (unlikely(!sd)) { in task_numa_migrate()
4757 struct sched_domain *sd; in sched_group_energy() local
4775 sd = rcu_dereference(per_cpu(sd_scs, cpu)); in sched_group_energy()
4777 if (!sd) in sched_group_energy()
4785 if (sd->parent) in sched_group_energy()
4786 sg_shared_cap = sd->parent->groups; in sched_group_energy()
[all …]
Dsched.h620 struct sched_domain *sd; member
775 for (__sd = rcu_dereference_check_sched_domain(cpu_rq(cpu)->sd); \
778 #define for_each_lower_domain(sd) for (; sd; sd = sd->child) argument
791 struct sched_domain *sd, *hsd = NULL; in highest_flag_domain() local
793 for_each_domain(cpu, sd) { in highest_flag_domain()
794 if (!(sd->flags & flag)) in highest_flag_domain()
796 hsd = sd; in highest_flag_domain()
804 struct sched_domain *sd; in lowest_flag_domain() local
806 for_each_domain(cpu, sd) { in lowest_flag_domain()
807 if (sd->flags & flag) in lowest_flag_domain()
[all …]
Dtune.c828 struct sched_domain *sd, in schedtune_add_cluster_nrg() argument
900 struct sched_domain *sd; in schedtune_init() local
913 sd = rcu_dereference(per_cpu(sd_ea, cpumask_first(cpu_online_mask))); in schedtune_init()
914 if (!sd) { in schedtune_init()
919 sg = sd->groups; in schedtune_init()
921 schedtune_add_cluster_nrg(sd, sg, ste); in schedtune_init()
922 } while (sg = sg->next, sg != sd->groups); in schedtune_init()
Ddeadline.c1286 struct sched_domain *sd; in find_later_rq() local
1333 for_each_domain(cpu, sd) { in find_later_rq()
1334 if (sd->flags & SD_WAKE_AFFINE) { in find_later_rq()
1341 cpumask_test_cpu(this_cpu, sched_domain_span(sd))) { in find_later_rq()
1351 cpumask_test_cpu(best_cpu, sched_domain_span(sd))) { in find_later_rq()
Drt.c1631 struct sched_domain *sd; in find_lowest_rq() local
1665 for_each_domain(cpu, sd) { in find_lowest_rq()
1666 if (sd->flags & SD_WAKE_AFFINE) { in find_lowest_rq()
1674 cpumask_test_cpu(this_cpu, sched_domain_span(sd))) { in find_lowest_rq()
1680 sched_domain_span(sd)); in find_lowest_rq()
/kernel/
Dseccomp.c70 static void populate_seccomp_data(struct seccomp_data *sd) in populate_seccomp_data() argument
76 sd->nr = syscall_get_nr(task, regs); in populate_seccomp_data()
77 sd->arch = syscall_get_arch(); in populate_seccomp_data()
79 sd->args[0] = args[0]; in populate_seccomp_data()
80 sd->args[1] = args[1]; in populate_seccomp_data()
81 sd->args[2] = args[2]; in populate_seccomp_data()
82 sd->args[3] = args[3]; in populate_seccomp_data()
83 sd->args[4] = args[4]; in populate_seccomp_data()
84 sd->args[5] = args[5]; in populate_seccomp_data()
85 sd->instruction_pointer = KSTK_EIP(task); in populate_seccomp_data()
[all …]