Home
last modified time | relevance | path

Searched refs:sds (Results 1 – 2 of 2) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dtopology.c680 struct sched_domain_shared *sds = NULL; in update_top_cache_domain() local
689 sds = sd->shared; in update_top_cache_domain()
695 rcu_assign_pointer(per_cpu(sd_llc_shared, cpu), sds); in update_top_cache_domain()
1404 if (atomic_read(&(*per_cpu_ptr(sdd->sds, cpu))->ref)) { in claim_allocations()
1405 *per_cpu_ptr(sdd->sds, cpu) = NULL; in claim_allocations()
1533 sd->shared = *per_cpu_ptr(sdd->sds, sd_id); in sd_init()
1883 sdd->sds = alloc_percpu(struct sched_domain_shared *); in __sdt_alloc()
1884 if (!sdd->sds) { in __sdt_alloc()
1901 struct sched_domain_shared *sds; in __sdt_alloc() local
1912 sds = kzalloc_node(sizeof(struct sched_domain_shared), GFP_KERNEL, cpu_to_node(j)); in __sdt_alloc()
[all …]
Dfair.c6339 struct sched_domain_shared *sds; in set_idle_cores() local
6341 sds = rcu_dereference(per_cpu(sd_llc_shared, cpu)); in set_idle_cores()
6342 if (sds) { in set_idle_cores()
6343 WRITE_ONCE(sds->has_idle_cores, val); in set_idle_cores()
6349 struct sched_domain_shared *sds; in test_idle_cores() local
6351 sds = rcu_dereference(per_cpu(sd_llc_shared, cpu)); in test_idle_cores()
6352 if (sds) { in test_idle_cores()
6353 return READ_ONCE(sds->has_idle_cores); in test_idle_cores()
8619 static inline void init_sd_lb_stats(struct sd_lb_stats *sds) in init_sd_lb_stats() argument
8628 *sds = (struct sd_lb_stats) { in init_sd_lb_stats()
[all …]