Lines Matching defs:dset
743 cpuset_testupdate_domain(struct cpuset *set, struct domainset *dset,
757 if (!domainset_restrict(domain, dset))
759 DOMAINSET_AND(&newset.ds_mask, &dset->ds_mask);
809 struct domainset *dset;
833 dset = root->cs_domain;
837 if (!domainset_valid(dset, domain)) {
866 dset = set->cs_domain;
867 cpuset_update_domain(set, domain, dset, &domains);
972 struct domainset *dset;
986 dset = parent->cs_domain;
987 if (domain != NULL && !domainset_valid(dset, domain))
1005 struct domainset *dset;
1014 dset = parent->cs_domain;
1018 d = domainset_shadow(dset, domain, domains);
1426 struct domainset *dset;
1431 dset = *(struct domainset **)arg1;
1434 if (dset != NULL) {
1436 (const struct bitset *)&dset->ds_mask, DOMAINSET_SETSIZE);
1437 sprintf(p, ":%d:%d", dset->ds_policy, dset->ds_prefer);
1458 dset = domainset_create(&key);
1459 if (dset == NULL)
1461 *(struct domainset **)arg1 = dset;
1534 struct domainset *dset;
1537 dset = &domainset_firsttouch;
1538 DOMAINSET_COPY(&all_domains, &dset->ds_mask);
1539 dset->ds_policy = DOMAINSET_POLICY_FIRSTTOUCH;
1540 dset->ds_prefer = -1;
1541 _domainset_create(dset, NULL);
1543 dset = &domainset_interleave;
1544 DOMAINSET_COPY(&all_domains, &dset->ds_mask);
1545 dset->ds_policy = DOMAINSET_POLICY_INTERLEAVE;
1546 dset->ds_prefer = -1;
1547 _domainset_create(dset, NULL);
1549 dset = &domainset_roundrobin;
1550 DOMAINSET_COPY(&all_domains, &dset->ds_mask);
1551 dset->ds_policy = DOMAINSET_POLICY_ROUNDROBIN;
1552 dset->ds_prefer = -1;
1553 _domainset_create(dset, NULL);
1556 dset = &domainset_fixed[i];
1557 DOMAINSET_ZERO(&dset->ds_mask);
1558 DOMAINSET_SET(i, &dset->ds_mask);
1559 dset->ds_policy = DOMAINSET_POLICY_ROUNDROBIN;
1560 _domainset_create(dset, NULL);
1562 dset = &domainset_prefer[i];
1563 DOMAINSET_COPY(&all_domains, &dset->ds_mask);
1564 dset->ds_policy = DOMAINSET_POLICY_PREFER;
1565 dset->ds_prefer = i;
1566 _domainset_create(dset, NULL);
1576 struct domainset *dset, *tmp;
1587 LIST_FOREACH_SAFE(dset, &cpuset_domains, ds_link, tmp)
1588 if (domainset_empty_vm(dset))
1589 LIST_REMOVE(dset, ds_link);
2135 struct domainset *dset;
2188 dset = ttd->td_cpuset->cs_domain;
2190 DOMAINSET_OR(&outset.ds_mask, &dset->ds_mask);
2192 outset.ds_policy = dset->ds_policy;
2193 outset.ds_prefer = dset->ds_prefer;