Home
last modified time | relevance | path

Searched refs:rctlvaltab (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/zonecfg/
H A Dzonecfg.c2277 struct zone_rctlvaltab *rctlvaltab; in do_complex_rctl_val() local
2284 if ((rctlvaltab = alloc_rctlvaltab()) == NULL) { in do_complex_rctl_val()
2296 (void) strlcpy(rctlvaltab->zone_rctlval_priv, in do_complex_rctl_val()
2298 sizeof (rctlvaltab->zone_rctlval_priv)); in do_complex_rctl_val()
2307 (void) strlcpy(rctlvaltab->zone_rctlval_limit, in do_complex_rctl_val()
2309 sizeof (rctlvaltab->zone_rctlval_limit)); in do_complex_rctl_val()
2318 (void) strlcpy(rctlvaltab->zone_rctlval_action, in do_complex_rctl_val()
2320 sizeof (rctlvaltab->zone_rctlval_action)); in do_complex_rctl_val()
2328 zonecfg_free_rctl_value_list(rctlvaltab); in do_complex_rctl_val()
2340 rctlvaltab->zone_rctlval_next = NULL; in do_complex_rctl_val()
[all …]
/titanic_44/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c6610 struct zone_rctlvaltab *rctlvaltab; in zonecfg_set_aliased_rctl() local
6631 if ((rctlvaltab = calloc(1, sizeof (struct zone_rctlvaltab))) == NULL) in zonecfg_set_aliased_rctl()
6636 (void) strlcpy(rctlvaltab->zone_rctlval_priv, aliases[i].priv, in zonecfg_set_aliased_rctl()
6637 sizeof (rctlvaltab->zone_rctlval_priv)); in zonecfg_set_aliased_rctl()
6638 (void) strlcpy(rctlvaltab->zone_rctlval_limit, buf, in zonecfg_set_aliased_rctl()
6639 sizeof (rctlvaltab->zone_rctlval_limit)); in zonecfg_set_aliased_rctl()
6640 (void) strlcpy(rctlvaltab->zone_rctlval_action, aliases[i].action, in zonecfg_set_aliased_rctl()
6641 sizeof (rctlvaltab->zone_rctlval_action)); in zonecfg_set_aliased_rctl()
6643 rctlvaltab->zone_rctlval_next = NULL; in zonecfg_set_aliased_rctl()
6645 if ((err = zonecfg_add_rctl_value(&rctltab, rctlvaltab)) != Z_OK) in zonecfg_set_aliased_rctl()