/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_commit.c | 169 clone_element) != PO_SUCCESS) in commit_create() 195 if (resource_get_min(pool_elem_res(src), &smin) != PO_SUCCESS || in commit_create() 196 resource_get_max(pool_elem_res(src), &smax) != PO_SUCCESS || in commit_create() 197 resource_get_max(res, &dmax) != PO_SUCCESS) in commit_create() 202 &val) != PO_SUCCESS) in commit_create() 207 &val) != PO_SUCCESS) in commit_create() 215 clone_element) != PO_SUCCESS) in commit_create() 230 return (PO_SUCCESS); in commit_create() 247 return (PO_SUCCESS); in commit_delete() 314 clean_element) != PO_SUCCESS) { in commit_update() [all …]
|
H A D | pool_internal.c | 318 props[i].pp_pname) != PO_SUCCESS) { in element_props_init() 322 props[i].pp_init(&props[i]) != PO_SUCCESS) { in element_props_init() 326 return (PO_SUCCESS); in element_props_init() 430 if (pool_value_get_string(pval, &nm) != PO_SUCCESS) { in elem_set_name() 459 return (PO_SUCCESS); in elem_set_name() 470 return (PO_SUCCESS); in elem_set_string() 485 return (PO_SUCCESS); in elem_set_bool() 500 return (PO_SUCCESS); in elem_set_uint() 513 if (pool_value_get_string(pval, &sval) != PO_SUCCESS) { in system_set_allocate() 522 return (PO_SUCCESS); in system_set_allocate() [all …]
|
H A D | pool.c | 97 #define XFER_SUCCESS PO_SUCCESS 224 != PO_SUCCESS) { in pool_get_resource_binding() 249 != PO_SUCCESS) { in pool_get_binding() 279 return (PO_SUCCESS); in prop_buf_build_cb() 319 return (PO_SUCCESS); in prop_buf_build_cb() 696 return (PO_SUCCESS); in pool_get_status() 704 if (pool_get_status(&old_state) != PO_SUCCESS) { in pool_set_status() 740 return (PO_SUCCESS); in pool_set_status() 779 return (PO_SUCCESS); in pool_set_status() 863 if (pool_value_set_name(val, name) != PO_SUCCESS) { in pool_get_property() [all …]
|
H A D | pool_value.c | 72 return (PO_SUCCESS); in pool_value_get_uint64() 87 return (PO_SUCCESS); in pool_value_get_int64() 103 return (PO_SUCCESS); in pool_value_get_double() 118 return (PO_SUCCESS); in pool_value_get_bool() 133 return (PO_SUCCESS); in pool_value_get_string() 216 return (PO_SUCCESS); in pool_value_set_string() 277 return (PO_SUCCESS); in pool_value_set_name() 297 if (pool_value_set_name(pv, nvpair_name(pn)) != PO_SUCCESS) in pool_value_from_nvpair() 334 if (pool_value_set_string(pv, sval) != PO_SUCCESS) in pool_value_from_nvpair() 341 return (PO_SUCCESS); in pool_value_from_nvpair()
|
H A D | pool_kernel.c | 310 int ret = PO_SUCCESS; in load_group() 421 (pool_knl_pool_t *)elem) != PO_SUCCESS) { in load_group() 429 eo->eo_item.ei_uint32) != PO_SUCCESS) { in load_group() 462 eo->eo_item.ei_uint32) != PO_SUCCESS) { in load_group() 500 (pool_elem_t *)elem) != PO_SUCCESS) { in load_group() 510 (pool_elem_t *)elem) != PO_SUCCESS) { in load_group() 520 (pool_elem_t *)elem) != PO_SUCCESS) { in load_group() 558 return (PO_SUCCESS); in pool_knl_snap_load_push() 576 return (PO_SUCCESS); in pool_knl_snap_load_update() 611 return (PO_SUCCESS); in pool_knl_snap_load_remove() [all …]
|
H A D | pool_xml.c | 328 if (get_unique_id(node, id) != PO_SUCCESS) { in node_create_with_id() 391 return (PO_SUCCESS); in pool_xml_free_doc() 423 return (PO_SUCCESS); in pool_xml_elem_remove() 440 if (pool_value_set_string(&val, name) != PO_SUCCESS) { in property_create() 445 if (pool_value_set_string(&val, data_type_tags[type]) != PO_SUCCESS) { in property_create() 519 return (PO_SUCCESS); in pool_xml_put_property() 554 ret = PO_SUCCESS; in pool_xml_rm_property() 622 (const char *)data : "") != PO_SUCCESS) { in pool_xml_get_attr() 705 return (PO_SUCCESS); in pool_xml_set_attr() 786 (const char *)node_data) != PO_SUCCESS) { in pool_xml_get_prop() [all …]
|
H A D | pool.h | 70 #ifndef PO_SUCCESS 71 #define PO_SUCCESS 0 macro
|
/illumos-gate/usr/src/cmd/pools/pooladm/ |
H A D | pooladm.c | 77 != PO_SUCCESS) in config_print() 83 pool_value_get_string(pv, &tgt) != PO_SUCCESS) in config_print() 100 != PO_SUCCESS) in config_destroy() 102 if (pool_conf_remove(conf) != PO_SUCCESS) in config_destroy() 110 PO_RDONLY : PO_RDWR) != PO_SUCCESS) in config_commit() 113 if (pool_conf_validate(conf, POV_RUNTIME) != PO_SUCCESS) in config_commit() 116 if (pool_conf_commit(conf, PO_TRUE) != PO_SUCCESS) in config_commit() 123 if (pool_conf_commit(conf, PO_FALSE) != PO_SUCCESS) in config_commit() 202 if (pool_set_status(POOL_DISABLED) != PO_SUCCESS) in main() 205 if (pool_set_status(POOL_ENABLED) != PO_SUCCESS) { in main() [all …]
|
/illumos-gate/usr/src/cmd/pools/poolbind/ |
H A D | poolbind.c | 102 return (PO_SUCCESS); in print_resource_binding() 173 if (pool_get_status(&status) != PO_SUCCESS) in main() 190 if (pool_set_binding(pool_name, P_PID, getpid()) != PO_SUCCESS) { in exec_cmd() 259 PO_SUCCESS) { in process_ids()
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
H A D | Configuration.java | 128 perms) != PoolInternal.PO_SUCCESS) { in open() 179 PoolInternal.PO_SUCCESS) in remove() 193 PoolInternal.PO_SUCCESS) in rollback() 207 PoolInternal.PO_SUCCESS) in commit() 222 != PoolInternal.PO_SUCCESS) in export() 236 != PoolInternal.PO_SUCCESS) in validate()
|
H A D | Pool.java | 85 res.getResource()) != PoolInternal.PO_SUCCESS) in associate() 99 res.getResource()) != PoolInternal.PO_SUCCESS) in dissociate()
|
H A D | Resource.java | 95 PoolInternal.PO_SUCCESS) in transfer() 113 PoolInternal.PO_SUCCESS) in transfer()
|
H A D | Element.java | 151 name, value.getValue()) != PoolInternal.PO_SUCCESS) in putProperty() 164 name) != PoolInternal.PO_SUCCESS) in rmProperty()
|
H A D | Value.java | 227 PoolInternal.PO_SUCCESS) in setValue()
|
H A D | PoolInternal.java | 168 public final static int PO_SUCCESS = 0; field in PoolInternal
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | sa_libpool.c | 69 != PO_SUCCESS) in sa_libpool_init() 83 if (pool_conf_update(conf, &changed) != PO_SUCCESS) in sa_libpool_update()
|
H A D | poolstat.c | 296 != PO_SUCCESS) in main() 748 if (pool_value_set_name(pval, name) != PO_SUCCESS) { in create_pool_value()
|
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | setproject.c | 491 if (pool_set_binding(pool_name, P_PID, pid) != PO_SUCCESS) { in bind_to_pool() 510 pool_value_get_bool(pvals[0], &bval) != PO_SUCCESS || in bind_to_pool() 546 if (pool_set_binding(nm, P_PID, pid) != PO_SUCCESS) { in bind_to_pool()
|
/illumos-gate/usr/src/cmd/pools/poold/libjpool/ |
H A D | jpool.c | 582 if (result != PO_SUCCESS) { in Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1update() 1734 if (pool_value_set_name(pv_new, name) != PO_SUCCESS || in pool_property_walker() 1763 if (result != PO_SUCCESS) { /* it could be a uint64 */ in Java_com_sun_solaris_service_pools_Value_getLongValue() 1767 if (result != PO_SUCCESS) { in Java_com_sun_solaris_service_pools_Value_getLongValue() 1789 if (result != PO_SUCCESS) in Java_com_sun_solaris_service_pools_Value_getStringValue() 1804 if (result != PO_SUCCESS) { in Java_com_sun_solaris_service_pools_Value_getBoolValue() 1824 if (result != PO_SUCCESS) { in Java_com_sun_solaris_service_pools_Value_getDoubleValue() 1841 if (result != PO_SUCCESS) { in Java_com_sun_solaris_service_pools_Value_getUnsignedInt64Value()
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 794 pool_value_get_string(pv, &tgt) != PO_SUCCESS) in parser_conf_info() 1181 if (pool_resource_transfer(conf, src, tgt, cmd->cmd_qty) != PO_SUCCESS) in parser_resource_transfer() 1444 PO_SUCCESS) in transfer_list_walk() 1488 if (pool_value_set_string(vals[0], "cpu") != PO_SUCCESS || in get_cpu() 1489 pool_value_set_name(vals[0], "type") != PO_SUCCESS) { in get_cpu() 1511 if (pool_value_set_name(vals[1], CPU_SYSID) != PO_SUCCESS) { in get_cpu()
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 1744 != PO_SUCCESS) in zsd_get_pool_pset() 1747 if (pool_value_set_name(vals[0], "type") != PO_SUCCESS) in zsd_get_pool_pset() 1749 if (pool_value_set_string(vals[0], "pset") != PO_SUCCESS) in zsd_get_pool_pset() 1760 pool_value_get_string(vals[0], &string) != PO_SUCCESS) in zsd_get_pool_pset() 1774 pool_value_get_uint64(vals[0], &uint64) == PO_SUCCESS) in zsd_get_pool_pset() 1782 pool_value_get_uint64(vals[0], &uint64) == PO_SUCCESS) in zsd_get_pool_pset() 1791 pool_value_get_uint64(vals[0], &uint64) == PO_SUCCESS) in zsd_get_pool_pset() 1801 pool_value_get_int64(vals[0], &int64) == PO_SUCCESS) in zsd_get_pool_pset() 1836 pool_value_get_string(vals[0], &string) != PO_SUCCESS) in zsd_get_pool_pset() 1845 pool_value_get_int64(vals[0], &int64) != PO_SUCCESS) in zsd_get_pool_pset() [all …]
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 4197 if (pool_associate(pconf, pool, res) != PO_SUCCESS) in create_tmp_pset() 4209 if (pool_put_property(pconf, elem, "pset.max", val) != PO_SUCCESS) { in create_tmp_pset() 4217 if (pool_put_property(pconf, elem, "pset.min", val) != PO_SUCCESS) { in create_tmp_pset() 4235 if (pool_conf_open(pconf, NULL, PO_TEMP) != PO_SUCCESS) { in create_tmp_pool() 4264 != PO_SUCCESS) { in create_tmp_pool() 4288 if (pool_conf_validate(pconf, POV_RUNTIME) != PO_SUCCESS) { in create_tmp_pool() 4297 if (pool_conf_commit(pconf, 1) != PO_SUCCESS) in create_tmp_pool() 4347 return (PO_SUCCESS); in get_running_tmp_pset() 4371 != PO_SUCCESS) { in verify_del_tmp_pool() 4389 == PO_SUCCESS && in verify_del_tmp_pool() [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/ |
H A D | poold.c | 324 val) != PO_SUCCESS) { in handle_sig() 332 if (pool_conf_commit(conf, 0) != PO_SUCCESS) { in handle_sig()
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 2168 if (pool_get_status(&status) != PO_SUCCESS || status != POOL_ENABLED) { in verify_pool() 2185 PO_SUCCESS) { in verify_pool()
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 3707 mypid) != PO_SUCCESS) { in restarter_set_method_context()
|