Home
last modified time | relevance | path

Searched refs:sched_domain (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/block/
Dkyber-iosched.c211 unsigned int sched_domain, unsigned int type) in flush_latency_buckets() argument
213 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in flush_latency_buckets()
214 atomic_t *cpu_buckets = cpu_latency->buckets[sched_domain][type]; in flush_latency_buckets()
226 unsigned int sched_domain, unsigned int type, in calculate_percentile() argument
229 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in calculate_percentile()
242 if (!kqd->latency_timeout[sched_domain]) in calculate_percentile()
243 kqd->latency_timeout[sched_domain] = max(jiffies + HZ, 1UL); in calculate_percentile()
245 time_is_after_jiffies(kqd->latency_timeout[sched_domain])) { in calculate_percentile()
248 kqd->latency_timeout[sched_domain] = 0; in calculate_percentile()
256 memset(buckets, 0, sizeof(kqd->latency_buckets[sched_domain][type])); in calculate_percentile()
[all …]
/Linux-v5.4/kernel/sched/
Dtopology.c28 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one()
115 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug()
148 static int sd_degenerate(struct sched_domain *sd) in sd_degenerate()
174 sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) in sd_parent_degenerate()
578 static void destroy_sched_domain(struct sched_domain *sd) in destroy_sched_domain()
594 struct sched_domain *sd = container_of(rcu, struct sched_domain, rcu); in destroy_sched_domains_rcu()
597 struct sched_domain *parent = sd->parent; in destroy_sched_domains_rcu()
603 static void destroy_sched_domains(struct sched_domain *sd) in destroy_sched_domains()
618 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_llc);
622 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_numa);
[all …]
Dsched.h920 struct sched_domain __rcu *sd;
1351 static inline struct sched_domain *highest_flag_domain(int cpu, int flag) in highest_flag_domain()
1353 struct sched_domain *sd, *hsd = NULL; in highest_flag_domain()
1364 static inline struct sched_domain *lowest_flag_domain(int cpu, int flag) in lowest_flag_domain()
1366 struct sched_domain *sd; in lowest_flag_domain()
1376 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_llc);
1380 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_numa);
1381 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_packing);
1382 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_cpucapacity);
1826 extern void update_group_capacity(struct sched_domain *sd, int cpu);
Dfair.c1752 struct sched_domain *sd; in task_numa_migrate()
5479 wake_affine_weight(struct sched_domain *sd, struct task_struct *p, in wake_affine_weight()
5521 static int wake_affine(struct sched_domain *sd, struct task_struct *p, in wake_affine()
5555 find_idlest_group(struct sched_domain *sd, struct task_struct *p, in find_idlest_group()
5747 static inline int find_idlest_cpu(struct sched_domain *sd, struct task_struct *p, in find_idlest_cpu()
5764 struct sched_domain *tmp; in find_idlest_cpu()
5858 static int select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_core()
5916 static inline int select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_core()
5933 static int select_idle_cpu(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_cpu()
5935 struct sched_domain *this_sd; in select_idle_cpu()
[all …]
Dstats.c25 struct sched_domain *sd; in show_schedstat()
Ddebug.c249 sd_alloc_ctl_domain_table(struct sched_domain *sd) in sd_alloc_ctl_domain_table()
272 struct sched_domain *sd; in sd_alloc_ctl_cpu_table()
Ddeadline.c1875 struct sched_domain *sd; in find_later_rq()
Drt.c1634 struct sched_domain *sd; in find_lowest_rq()
Dcore.c555 struct sched_domain *sd; in get_nohz_timer_target()
2189 struct sched_domain *sd; in ttwu_stat()
/Linux-v5.4/include/linux/sched/
Dtopology.h71 struct sched_domain { struct
73 struct sched_domain __rcu *parent; /* top domain must be null terminated */ argument
74 struct sched_domain __rcu *child; /* bottom domain must be null terminated */ argument
148 static inline struct cpumask *sched_domain_span(struct sched_domain *sd) in sched_domain_span() argument
172 struct sched_domain *__percpu *sd;
/Linux-v5.4/include/linux/
Darch_topology.h19 struct sched_domain;
/Linux-v5.4/Documentation/scheduler/
Dsched-domains.rst5 Each CPU has a "base" scheduling domain (struct sched_domain). The domain
43 the parent sched_domain (if it exists), and the parent of the parent and so
67 struct sched_domain fields, SD_FLAG_*, SD_*_INIT to get an idea of