Lines Matching refs:d
6465 static void __free_domain_allocs(struct s_data *d, enum s_alloc what, in __free_domain_allocs() argument
6470 if (!atomic_read(&d->rd->refcount)) in __free_domain_allocs()
6471 free_rootdomain(&d->rd->rcu); /* fall through */ in __free_domain_allocs()
6473 free_percpu(d->sd); /* fall through */ in __free_domain_allocs()
6481 static enum s_alloc __visit_domain_allocation_hell(struct s_data *d, in __visit_domain_allocation_hell() argument
6484 memset(d, 0, sizeof(*d)); in __visit_domain_allocation_hell()
6488 d->sd = alloc_percpu(struct sched_domain *); in __visit_domain_allocation_hell()
6489 if (!d->sd) in __visit_domain_allocation_hell()
6491 d->rd = alloc_rootdomain(); in __visit_domain_allocation_hell()
6492 if (!d->rd) in __visit_domain_allocation_hell()
7034 struct s_data d; in build_sched_domains() local
7038 alloc_state = __visit_domain_allocation_hell(&d, cpu_map); in build_sched_domains()
7050 *per_cpu_ptr(d.sd, i) = sd; in build_sched_domains()
7060 for (sd = *per_cpu_ptr(d.sd, i); sd; sd = sd->parent) { in build_sched_domains()
7079 for (sd = *per_cpu_ptr(d.sd, i); sd; sd = sd->parent, tl++) { in build_sched_domains()
7090 sd = *per_cpu_ptr(d.sd, i); in build_sched_domains()
7091 cpu_attach_domain(sd, d.rd, i); in build_sched_domains()
7097 __free_domain_allocs(&d, alloc_state, cpu_map); in build_sched_domains()
7925 struct rt_schedulable_data *d = data; in tg_rt_schedulable() local
7933 if (tg == d->tg) { in tg_rt_schedulable()
7934 period = d->rt_period; in tg_rt_schedulable()
7935 runtime = d->rt_runtime; in tg_rt_schedulable()
7965 if (child == d->tg) { in tg_rt_schedulable()
7966 period = d->rt_period; in tg_rt_schedulable()
7967 runtime = d->rt_runtime; in tg_rt_schedulable()
8523 struct cfs_schedulable_data *d) in normalize_cfs_quota() argument
8527 if (tg == d->tg) { in normalize_cfs_quota()
8528 period = d->period; in normalize_cfs_quota()
8529 quota = d->quota; in normalize_cfs_quota()
8544 struct cfs_schedulable_data *d = data; in tg_cfs_schedulable_down() local
8553 quota = normalize_cfs_quota(tg, d); in tg_cfs_schedulable_down()