Searched refs:pvals (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/lib/libproject/common/ |
H A D | setproject.c | 467 pool_value_t *pvals[] = { NULL, NULL }; in bind_to_pool() local 503 if ((pvals[0] = pool_value_alloc()) == NULL) { in bind_to_pool() 509 "system.bind-default", pvals[0]) != POC_BOOL || in bind_to_pool() 510 pool_value_get_bool(pvals[0], &bval) != PO_SUCCESS || in bind_to_pool() 512 pool_value_free(pvals[0]); in bind_to_pool() 518 (void) pool_value_set_name(pvals[0], "pool.default"); in bind_to_pool() 519 pool_value_set_bool(pvals[0], PO_TRUE); in bind_to_pool() 520 if ((pools = pool_query_pools(conf, &nelem, pvals)) == NULL) { in bind_to_pool() 524 pool_value_free(pvals[0]); in bind_to_pool() 532 pvals[0]) != POC_STRING) { in bind_to_pool() [all …]
|
/titanic_44/usr/src/cmd/rcm_daemon/common/ |
H A D | pool_rcm.c | 210 pool_value_t *pvals[] = { NULL, NULL }; in pset_validate_remove() local 308 if ((pvals[0] = pool_value_alloc()) == NULL) { in pset_validate_remove() 317 (void) pool_value_set_name(pvals[0], "type"); in pset_validate_remove() 318 (void) pool_value_set_string(pvals[0], "pset"); in pset_validate_remove() 319 if ((res = pool_query_resources(conf, &nelem, pvals)) == NULL) { in pset_validate_remove() 322 pool_value_free(pvals[0]); in pset_validate_remove() 326 pool_value_free(pvals[0]); in pset_validate_remove()
|
/titanic_44/usr/src/lib/libpool/common/ |
H A D | pool.c | 1682 free_value_list(int npvals, pool_value_t **pvals) in free_value_list() argument 1687 if (pvals[j]) in free_value_list() 1688 pool_value_free(pvals[j]); in free_value_list() 1690 free(pvals); in free_value_list() 1704 pool_value_t **pvals; in pool_walk_any_properties() local 1719 if ((pvals = elem->pe_get_props(elem, &npvals)) == NULL) in pool_walk_any_properties() 1738 free_value_list(npvals, pvals); in pool_walk_any_properties() 1743 free_value_list(npvals, pvals); in pool_walk_any_properties() 1749 free_value_list(npvals, pvals); in pool_walk_any_properties() 1758 if (pvals[j] && strcmp(pool_value_get_name(pvals[j]), in pool_walk_any_properties() [all …]
|
H A D | pool_commit.c | 381 pool_value_t *pvals[] = { NULL, NULL }; in commit_update() local 383 pvals[0] = &val; in commit_update() 388 pool_elem_pool(e1), &nelem, pvals)) != NULL) { in commit_update()
|
H A D | pool_internal.c | 1671 pool_value_t *pvals[] = { NULL, NULL }; in pool_validate_resource() local 1678 pvals[0] = &val; in pool_validate_resource() 1693 if ((rl = (pool_query_resources(conf, &nelem, pvals))) == NULL) in pool_validate_resource() 1724 if ((rl = (pool_query_resources(dyn, &nelem, pvals))) == in pool_validate_resource()
|
/titanic_44/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 762 pool_value_t *pvals[] = { NULL, NULL, NULL}; in get_resources() local 775 if ((pvals[0] = create_pool_value("type")) == NULL) in get_resources() 777 if ((pool_value_set_string(pvals[0], rtype)) == -1) in get_resources() 789 conf, pool, nelem, pvals)) == NULL) in get_resources() 794 pool_query_resources(conf, nelem, pvals)) == NULL) in get_resources() 802 if (pvals[0] != NULL) in get_resources() 803 pool_value_free(pvals[0]); in get_resources() 907 pool_value_t *pvals[] = { NULL, NULL }; in prt_pool_stats() local 939 pvals[0] = pv_sys_id; in prt_pool_stats() 940 pool = pool_query_pools(conf, &nelem, pvals); in prt_pool_stats() [all …]
|