Lines Matching refs:sd_share
10578 struct sched_domain_shared *sd_share; in get_llc_stats() local
10580 sd_share = rcu_dereference_all(per_cpu(sd_llc_shared, cpu)); in get_llc_stats()
10581 if (!sd_share) in get_llc_stats()
10584 *util = READ_ONCE(sd_share->util_avg); in get_llc_stats()
10585 *cap = READ_ONCE(sd_share->capacity); in get_llc_stats()
11828 struct sched_domain_shared *sd_share; in record_sg_llc_stats() local
11848 sd_share = rcu_dereference_all(per_cpu(sd_llc_shared, cpu)); in record_sg_llc_stats()
11849 if (!sd_share) in record_sg_llc_stats()
11852 if (READ_ONCE(sd_share->util_avg) != sgs->group_util) in record_sg_llc_stats()
11853 WRITE_ONCE(sd_share->util_avg, sgs->group_util); in record_sg_llc_stats()
11855 if (unlikely(READ_ONCE(sd_share->capacity) != sgs->group_capacity)) in record_sg_llc_stats()
11856 WRITE_ONCE(sd_share->capacity, sgs->group_capacity); in record_sg_llc_stats()
12574 struct sched_domain_shared *sd_share; in update_idle_cpu_scan() local
12589 sd_share = sd->shared; in update_idle_cpu_scan()
12590 if (!sd_share) in update_idle_cpu_scan()
12636 if ((int)y != sd_share->nr_idle_scan) in update_idle_cpu_scan()
12637 WRITE_ONCE(sd_share->nr_idle_scan, (int)y); in update_idle_cpu_scan()