Lines Matching defs:cpu
43 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one()
139 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug()
331 static struct perf_domain *find_pd(struct perf_domain *pd, int cpu) in find_pd()
342 static struct perf_domain *pd_init(int cpu) in pd_init()
413 int cpu = cpumask_first(cpu_map); in build_perf_domains() local
671 static void update_top_cache_domain(int cpu) in update_top_cache_domain()
716 cpu_attach_domain(struct sched_domain *sd, struct root_domain *rd, int cpu) in cpu_attach_domain()
948 build_group_from_child_sched_domain(struct sched_domain *sd, int cpu) in build_group_from_child_sched_domain()
977 int cpu; in init_overlap_sched_group() local
1025 build_overlap_sched_groups(struct sched_domain *sd, int cpu) in build_overlap_sched_groups()
1190 static struct sched_group *get_group(int cpu, struct sd_data *sdd) in get_group()
1236 build_sched_groups(struct sched_domain *sd, int cpu) in build_sched_groups()
1281 static void init_sched_groups_capacity(int cpu, struct sched_domain *sd) in init_sched_groups_capacity()
1289 int cpu, cores = 0, max_cpu = -1; in init_sched_groups_capacity() local
1324 void sched_update_asym_prefer_cpu(int cpu, int old_prio, int new_prio) in sched_update_asym_prefer_cpu()
1429 static inline void asym_cpu_capacity_update_data(int cpu) in asym_cpu_capacity_update_data()
1468 int cpu; in asym_cpu_capacity_scan() local
1573 static void claim_allocations(int cpu, struct sched_domain *sd) in claim_allocations()
1634 struct sched_domain *child, int cpu) in sd_init()
1746 const struct cpumask *tl_smt_mask(struct sched_domain_topology_level *tl, int cpu) in tl_smt_mask()
1758 const struct cpumask *tl_cls_mask(struct sched_domain_topology_level *tl, int cpu) in tl_cls_mask()
1770 const struct cpumask *tl_mc_mask(struct sched_domain_topology_level *tl, int cpu) in tl_mc_mask()
1776 const struct cpumask *tl_pkg_mask(struct sched_domain_topology_level *tl, int cpu) in tl_pkg_mask()
1822 static const struct cpumask *sd_numa_mask(struct sched_domain_topology_level *tl, int cpu) in sd_numa_mask()
2174 void sched_update_numa(int cpu, bool online) in sched_update_numa()
2190 void sched_domains_numa_masks_set(unsigned int cpu) in sched_domains_numa_masks_set()
2208 void sched_domains_numa_masks_clear(unsigned int cpu) in sched_domains_numa_masks_clear()
2228 int sched_numa_find_closest(const struct cpumask *cpus, int cpu) in sched_numa_find_closest()
2256 int cpu; member
2291 int sched_numa_find_nth_cpu(const struct cpumask *cpus, int cpu, int node) in sched_numa_find_nth_cpu()
2463 struct sched_domain *child, int cpu) in build_sched_domain()
2497 int cpu; in topology_span_sane() local
2782 unsigned int cpu = cpumask_any(cpu_map); in detach_destroy_domains() local