Lines Matching refs:pset_tab
5031 struct zone_psettab *pset_tab)
5048 if (pset_tab->zone_importance[0] != '\0') {
5063 (int64_t)atoi(pset_tab->zone_importance));
5076 atoi(pset_tab->zone_ncpu_min),
5077 atoi(pset_tab->zone_ncpu_max))) != Z_OK)
5109 struct zone_psettab *pset_tab)
5123 (void) snprintf(pset_tab->zone_importance,
5124 sizeof (pset_tab->zone_importance), "%d", val_int);
5133 (void) snprintf(pset_tab->zone_ncpu_min,
5134 sizeof (pset_tab->zone_ncpu_min), "%u", val_uint);
5140 (void) snprintf(pset_tab->zone_ncpu_max,
5141 sizeof (pset_tab->zone_ncpu_max), "%u", val_uint);
5163 int err_size, struct zone_psettab *pset_tab, boolean_t *exists)
5192 strcmp(pset_tab->zone_ncpu_min,
5194 strcmp(pset_tab->zone_ncpu_max,
5196 strcmp(pset_tab->zone_importance,
5306 struct zone_psettab pset_tab;
5316 err = zonecfg_lookup_pset(handle, &pset_tab);
5326 if (pset_tab.zone_importance[0] == '\0')
5327 (void) strlcpy(pset_tab.zone_importance, "1",
5328 sizeof (pset_tab.zone_importance));
5346 &pset_tab, &exists)) != Z_OK) {
5353 &pset_tab);
5440 struct zone_psettab pset_tab;
5442 err = zonecfg_lookup_pset(handle, &pset_tab);
5495 struct zone_psettab pset_tab;
5499 err = zonecfg_lookup_pset(handle, &pset_tab);
5505 min = atoi(pset_tab.zone_ncpu_min);
5506 max = atoi(pset_tab.zone_ncpu_max);