Searched refs:rctlvaltab (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 2345 struct zone_rctlvaltab *rctlvaltab; in do_complex_rctl_val() local 2352 if ((rctlvaltab = alloc_rctlvaltab()) == NULL) { in do_complex_rctl_val() 2364 (void) strlcpy(rctlvaltab->zone_rctlval_priv, in do_complex_rctl_val() 2366 sizeof (rctlvaltab->zone_rctlval_priv)); in do_complex_rctl_val() 2375 (void) strlcpy(rctlvaltab->zone_rctlval_limit, in do_complex_rctl_val() 2377 sizeof (rctlvaltab->zone_rctlval_limit)); in do_complex_rctl_val() 2386 (void) strlcpy(rctlvaltab->zone_rctlval_action, in do_complex_rctl_val() 2388 sizeof (rctlvaltab->zone_rctlval_action)); in do_complex_rctl_val() 2396 zonecfg_free_rctl_value_list(rctlvaltab); in do_complex_rctl_val() 2408 rctlvaltab->zone_rctlval_next = NULL; in do_complex_rctl_val() [all …]
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 6772 struct zone_rctlvaltab *rctlvaltab; in zonecfg_set_aliased_rctl() local 6793 if ((rctlvaltab = calloc(1, sizeof (struct zone_rctlvaltab))) == NULL) in zonecfg_set_aliased_rctl() 6798 (void) strlcpy(rctlvaltab->zone_rctlval_priv, aliases[i].priv, in zonecfg_set_aliased_rctl() 6799 sizeof (rctlvaltab->zone_rctlval_priv)); in zonecfg_set_aliased_rctl() 6800 (void) strlcpy(rctlvaltab->zone_rctlval_limit, buf, in zonecfg_set_aliased_rctl() 6801 sizeof (rctlvaltab->zone_rctlval_limit)); in zonecfg_set_aliased_rctl() 6802 (void) strlcpy(rctlvaltab->zone_rctlval_action, aliases[i].action, in zonecfg_set_aliased_rctl() 6803 sizeof (rctlvaltab->zone_rctlval_action)); in zonecfg_set_aliased_rctl() 6805 rctlvaltab->zone_rctlval_next = NULL; in zonecfg_set_aliased_rctl() 6807 if ((err = zonecfg_add_rctl_value(&rctltab, rctlvaltab)) != Z_OK) in zonecfg_set_aliased_rctl()
|