Home
last modified time | relevance | path

Searched refs:rctltab (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/zonecfg/
H A Dzonecfg.c1797 struct zone_rctltab rctltab; in export_func() local
2003 while (zonecfg_getrctlent(handle, &rctltab) == Z_OK) { in export_func()
2005 export_prop(of, PT_NAME, rctltab.zone_rctl_name); in export_func()
2006 for (valptr = rctltab.zone_rctl_valptr; valptr != NULL; in export_func()
2015 zonecfg_free_rctl_value_list(rctltab.zone_rctl_valptr); in export_func()
2784 fill_in_rctltab(cmd_t *cmd, struct zone_rctltab *rctltab, in fill_in_rctltab() argument
2793 bzero(rctltab, sizeof (*rctltab)); in fill_in_rctltab()
2803 (void) strlcpy(rctltab->zone_rctl_name, pp->pv_simple, in fill_in_rctltab()
2804 sizeof (rctltab->zone_rctl_name)); in fill_in_rctltab()
2814 err = zonecfg_lookup_rctl(handle, rctltab); in fill_in_rctltab()
[all …]
/titanic_41/usr/src/cmd/zoneadmd/
H A Dvplat.c3329 struct zone_rctltab rctltab; in get_rctls() local
3347 rctltab.zone_rctl_valptr = NULL; in get_rctls()
3379 while (zonecfg_getrctlent(handle, &rctltab) == Z_OK) { in get_rctls()
3382 const char *name = rctltab.zone_rctl_name; in get_rctls()
3386 zonecfg_free_rctl_value_list(rctltab.zone_rctl_valptr); in get_rctls()
3387 rctltab.zone_rctl_valptr = NULL; in get_rctls()
3391 for (rctlval = rctltab.zone_rctl_valptr; rctlval != NULL; in get_rctls()
3401 for (rctlval = rctltab.zone_rctl_valptr; rctlval != NULL; in get_rctls()
3447 zonecfg_free_rctl_value_list(rctltab.zone_rctl_valptr); in get_rctls()
3448 rctltab.zone_rctl_valptr = NULL; in get_rctls()
[all …]
/titanic_41/usr/src/cmd/zoneadm/
H A Dzoneadm.c2069 struct zone_rctltab rctltab; in verify_rctls() local
2086 rctltab.zone_rctl_valptr = NULL; in verify_rctls()
2087 while (zonecfg_getrctlent(handle, &rctltab) == Z_OK) { in verify_rctls()
2089 const char *name = rctltab.zone_rctl_name; in verify_rctls()
2094 zonecfg_free_rctl_value_list(rctltab.zone_rctl_valptr); in verify_rctls()
2095 rctltab.zone_rctl_valptr = NULL; in verify_rctls()
2099 for (rctlval = rctltab.zone_rctl_valptr; rctlval != NULL; in verify_rctls()
2120 zonecfg_free_rctl_value_list(rctltab.zone_rctl_valptr); in verify_rctls()
2122 rctltab.zone_rctl_valptr = NULL; in verify_rctls()
2125 zonecfg_free_rctl_value_list(rctltab.zone_rctl_valptr); in verify_rctls()
/titanic_41/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c6565 struct zone_rctltab rctltab; in zonecfg_rm_aliased_rctl() local
6583 (void) strlcpy(rctltab.zone_rctl_name, aliases[i].realname, in zonecfg_rm_aliased_rctl()
6584 sizeof (rctltab.zone_rctl_name)); in zonecfg_rm_aliased_rctl()
6586 return (zonecfg_delete_rctl(handle, &rctltab)); in zonecfg_rm_aliased_rctl()
6609 struct zone_rctltab rctltab; in zonecfg_set_aliased_rctl() local
6626 (void) strlcpy(rctltab.zone_rctl_name, aliases[i].realname, in zonecfg_set_aliased_rctl()
6627 sizeof (rctltab.zone_rctl_name)); in zonecfg_set_aliased_rctl()
6629 rctltab.zone_rctl_valptr = NULL; in zonecfg_set_aliased_rctl()
6645 if ((err = zonecfg_add_rctl_value(&rctltab, rctlvaltab)) != Z_OK) in zonecfg_set_aliased_rctl()
6648 return (zonecfg_add_rctl(handle, &rctltab)); in zonecfg_set_aliased_rctl()