Lines Matching refs:pset_tab
4227 struct zone_psettab *pset_tab)
4244 if (pset_tab->zone_importance[0] != '\0') {
4259 (int64_t)atoi(pset_tab->zone_importance));
4272 atoi(pset_tab->zone_ncpu_min),
4273 atoi(pset_tab->zone_ncpu_max))) != Z_OK)
4305 struct zone_psettab *pset_tab)
4319 (void) snprintf(pset_tab->zone_importance,
4320 sizeof (pset_tab->zone_importance), "%d", val_int);
4329 (void) snprintf(pset_tab->zone_ncpu_min,
4330 sizeof (pset_tab->zone_ncpu_min), "%u", val_uint);
4336 (void) snprintf(pset_tab->zone_ncpu_max,
4337 sizeof (pset_tab->zone_ncpu_max), "%u", val_uint);
4359 int err_size, struct zone_psettab *pset_tab, boolean_t *exists)
4388 strcmp(pset_tab->zone_ncpu_min,
4390 strcmp(pset_tab->zone_ncpu_max,
4392 strcmp(pset_tab->zone_importance,
4502 struct zone_psettab pset_tab;
4512 err = zonecfg_lookup_pset(handle, &pset_tab);
4522 if (pset_tab.zone_importance[0] == '\0')
4523 (void) strlcpy(pset_tab.zone_importance, "1",
4524 sizeof (pset_tab.zone_importance));
4542 &pset_tab, &exists)) != Z_OK) {
4549 &pset_tab);
4636 struct zone_psettab pset_tab;
4638 err = zonecfg_lookup_pset(handle, &pset_tab);
4691 struct zone_psettab pset_tab;
4695 err = zonecfg_lookup_pset(handle, &pset_tab);
4701 min = atoi(pset_tab.zone_ncpu_min);
4702 max = atoi(pset_tab.zone_ncpu_max);