Searched refs:rctlval (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 3492 struct zone_rctlvaltab *rctlval; in get_rctls() local 3503 for (rctlval = rctltab.zone_rctl_valptr; rctlval != NULL; in get_rctls() 3504 rctlval = rctlval->zone_rctlval_next) { in get_rctls() 3513 for (rctlval = rctltab.zone_rctl_valptr; rctlval != NULL; in get_rctls() 3514 rctlval = rctlval->zone_rctlval_next, i++) { in get_rctls() 3520 if (zonecfg_construct_rctlblk(rctlval, rctlblk) in get_rctls() 3524 rctlval->zone_rctlval_priv, in get_rctls() 3525 rctlval->zone_rctlval_limit, in get_rctls() 3526 rctlval->zone_rctlval_action); in get_rctls() 3533 rctlval->zone_rctlval_priv, in get_rctls() [all …]
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 2098 struct zone_rctlvaltab *rctlval; in verify_rctls() local 2109 for (rctlval = rctltab.zone_rctl_valptr; rctlval != NULL; in verify_rctls() 2110 rctlval = rctlval->zone_rctlval_next) { in verify_rctls() 2111 if (zonecfg_construct_rctlblk(rctlval, rctlblk) in verify_rctls() 2115 rctlval->zone_rctlval_priv, in verify_rctls() 2116 rctlval->zone_rctlval_limit, in verify_rctls() 2117 rctlval->zone_rctlval_action); in verify_rctls() 2123 rctlval->zone_rctlval_priv, in verify_rctls() 2124 rctlval->zone_rctlval_limit, in verify_rctls() 2125 rctlval->zone_rctlval_action, in verify_rctls()
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 5997 zonecfg_construct_rctlblk(const struct zone_rctlvaltab *rctlval, in zonecfg_construct_rctlblk() argument 6007 if (strcmp(rctlval->zone_rctlval_priv, "basic") == 0) { in zonecfg_construct_rctlblk() 6009 } else if (strcmp(rctlval->zone_rctlval_priv, "privileged") == 0) { in zonecfg_construct_rctlblk() 6017 if (rctlval->zone_rctlval_limit[0] == '-') in zonecfg_construct_rctlblk() 6021 ull = strtoull(rctlval->zone_rctlval_limit, &endp, 0); in zonecfg_construct_rctlblk() 6029 if (strcmp(rctlval->zone_rctlval_action, "none") == 0) { in zonecfg_construct_rctlblk() 6031 } else if (strcmp(rctlval->zone_rctlval_action, "signal") == 0) { in zonecfg_construct_rctlblk() 6033 } else if (strcmp(rctlval->zone_rctlval_action, "deny") == 0) { in zonecfg_construct_rctlblk()
|