Lines Matching refs:dattr
696 update_domain_attr(struct sched_domain_attr *dattr, struct cpuset *c) in update_domain_attr() argument
698 if (dattr->relax_domain_level < c->relax_domain_level) in update_domain_attr()
699 dattr->relax_domain_level = c->relax_domain_level; in update_domain_attr()
703 static void update_domain_attr_tree(struct sched_domain_attr *dattr, in update_domain_attr_tree() argument
718 update_domain_attr(dattr, cp); in update_domain_attr_tree()
791 struct sched_domain_attr *dattr; /* attributes for custom domains */ in generate_sched_domains() local
798 dattr = NULL; in generate_sched_domains()
808 dattr = kmalloc(sizeof(struct sched_domain_attr), GFP_KERNEL); in generate_sched_domains()
809 if (dattr) { in generate_sched_domains()
810 *dattr = SD_ATTR_INIT; in generate_sched_domains()
811 update_domain_attr_tree(dattr, &top_cpuset); in generate_sched_domains()
900 dattr = kmalloc_array(ndoms, sizeof(struct sched_domain_attr), in generate_sched_domains()
926 if (dattr) in generate_sched_domains()
927 *(dattr + nslot) = SD_ATTR_INIT; in generate_sched_domains()
934 if (dattr) in generate_sched_domains()
935 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains()
956 *attributes = dattr; in generate_sched_domains()