Lines Matching defs:pset_tab
4097 struct zone_psettab *pset_tab)
4114 if (pset_tab->zone_importance[0] != '\0') {
4129 (int64_t)atoi(pset_tab->zone_importance));
4142 atoi(pset_tab->zone_ncpu_min),
4143 atoi(pset_tab->zone_ncpu_max))) != Z_OK)
4175 struct zone_psettab *pset_tab)
4189 (void) snprintf(pset_tab->zone_importance,
4190 sizeof (pset_tab->zone_importance), "%d", val_int);
4199 (void) snprintf(pset_tab->zone_ncpu_min,
4200 sizeof (pset_tab->zone_ncpu_min), "%u", val_uint);
4206 (void) snprintf(pset_tab->zone_ncpu_max,
4207 sizeof (pset_tab->zone_ncpu_max), "%u", val_uint);
4229 int err_size, struct zone_psettab *pset_tab, boolean_t *exists)
4258 strcmp(pset_tab->zone_ncpu_min,
4260 strcmp(pset_tab->zone_ncpu_max,
4262 strcmp(pset_tab->zone_importance,
4372 struct zone_psettab pset_tab;
4382 err = zonecfg_lookup_pset(handle, &pset_tab);
4392 if (pset_tab.zone_importance[0] == '\0')
4393 (void) strlcpy(pset_tab.zone_importance, "1",
4394 sizeof (pset_tab.zone_importance));
4412 &pset_tab, &exists)) != Z_OK) {
4419 &pset_tab);
4506 struct zone_psettab pset_tab;
4508 err = zonecfg_lookup_pset(handle, &pset_tab);
4561 struct zone_psettab pset_tab;
4565 err = zonecfg_lookup_pset(handle, &pset_tab);
4571 min = atoi(pset_tab.zone_ncpu_min);
4572 max = atoi(pset_tab.zone_ncpu_max);