Lines Matching refs:sds
668 struct sched_domain_shared *sds = NULL; in update_top_cache_domain() local
677 sds = sd->shared; in update_top_cache_domain()
683 rcu_assign_pointer(per_cpu(sd_llc_shared, cpu), sds); in update_top_cache_domain()
1489 if (atomic_read(&(*per_cpu_ptr(sdd->sds, cpu))->ref)) in claim_allocations()
1490 *per_cpu_ptr(sdd->sds, cpu) = NULL; in claim_allocations()
1634 sd->shared = *per_cpu_ptr(sdd->sds, sd_id); in sd_init()
2077 sdd->sds = alloc_percpu(struct sched_domain_shared *); in __sdt_alloc()
2078 if (!sdd->sds) in __sdt_alloc()
2091 struct sched_domain_shared *sds; in __sdt_alloc() local
2102 sds = kzalloc_node(sizeof(struct sched_domain_shared), in __sdt_alloc()
2104 if (!sds) in __sdt_alloc()
2107 *per_cpu_ptr(sdd->sds, j) = sds; in __sdt_alloc()
2152 if (sdd->sds) in __sdt_free()
2153 kfree(*per_cpu_ptr(sdd->sds, j)); in __sdt_free()
2161 free_percpu(sdd->sds); in __sdt_free()
2162 sdd->sds = NULL; in __sdt_free()