Lines Matching defs:rctl

89 #define	DTD_ELEM_RCTL		(const xmlChar *) "rctl"
90 #define DTD_ELEM_RCTLVALUE (const xmlChar *) "rctl-value"
158 * rctl alias definitions
160 * This holds the alias, the full rctl name, the default priv value, action
161 * and lower limit. The functions that handle rctl aliases step through
163 * the rctl entry as well the limit for validation.
3589 "An incompatible rctl already exists for this property"));
3768 * Apply the current rctl settings to the specified, running zone.
3777 struct zone_rctltab rctl;
3793 while (zonecfg_getrctlent(handle, &rctl) == Z_OK) {
3797 rname = rctl.zone_rctl_name;
3799 /* first delete all current privileged settings for this rctl */
3808 /* now set each new value for the rctl */
3809 for (valptr = rctl.zone_rctl_valptr; valptr != NULL;
3843 if (strcmp(nm, "rctl") == 0)
5831 * Generally uninteresting rctl convenience functions.
5890 * indeed an rctl name recognized by the system.
5945 return (B_TRUE); /* not an rctl on this system */
6469 * rctl. If there are multiple existing values for one of these rctls or if
6471 * it has a different action) then we cannot treat the rctl as having an alias
6472 * so we return Z_ALIAS_DISALLOW. That means that the rctl cannot be
6473 * managed in zonecfg via an alias and that the standard rctl syntax must be
6478 * Z_ALIAS_DISALLOW - pre-existing, incompatible rctl definition
6479 * Z_NO_ENTRY - no rctl is configured for this alias
6480 * Z_OK - we got a valid rctl for the specified alias
6489 struct zone_rctlvaltab rctl;
6530 rctl.zone_rctlval_priv,
6531 sizeof (rctl.zone_rctlval_priv)) != Z_OK))
6534 rctl.zone_rctlval_limit,
6535 sizeof (rctl.zone_rctlval_limit)) != Z_OK))
6538 rctl.zone_rctlval_action,
6539 sizeof (rctl.zone_rctlval_action)) != Z_OK))
6544 if (strcmp(rctl.zone_rctlval_priv,
6546 strcmp(rctl.zone_rctlval_action,
6553 *rval = strtoull(rctl.zone_rctlval_limit, NULL, 10);
6568 * First check that we have a valid aliased rctl to remove.
6569 * This will catch an rctl entry with non-standard values or
6570 * multiple rctl values for this name. We need to ignore those
6571 * rctl entries.
6623 /* remove any pre-existing definition for this rctl */