Home
last modified time | relevance | path

Searched refs:TO_CONF (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libpool/common/
H A Dpool_commit.c170 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(pool), in commit_create()
216 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(res), in commit_create()
256 ret = pool_destroy(TO_CONF(pe), pool); in commit_delete()
261 ret = pool_resource_destroy(TO_CONF(pe), res); in commit_delete()
289 res1 = pool_get_owning_resource(TO_CONF(e1), in commit_update()
291 res2 = pool_get_owning_resource(TO_CONF(e2), in commit_update()
301 newres = pool_get_resource(TO_CONF(e2), in commit_update()
311 (void) pool_resource_xtransfer(TO_CONF(e2), in commit_update()
315 if (pool_walk_properties(TO_CONF(e2), e2, NULL, in commit_update()
367 if (pool_walk_properties(TO_CONF(e1), e1, e2, clone_element) != in commit_update()
[all …]
H A Dpool_internal.c443 pool = pool_get_pool(TO_CONF(elem), nm); in elem_set_name()
451 res = pool_get_resource(TO_CONF(elem), in elem_set_name()
598 if (conf_is_dynamic(TO_CONF(elem)) == PO_TRUE) { in res_set_max()
614 return (pool_validate_resource(TO_CONF(elem), in res_set_max()
666 if (conf_is_dynamic(TO_CONF(elem)) == PO_TRUE) { in res_set_min()
682 return (pool_validate_resource(TO_CONF(elem), in res_set_min()
931 if (pool_get_property(TO_CONF(TO_ELEM(component)), TO_ELEM(component), in cpu_is_requested()
997 if ((cs = pool_query_resource_components(TO_CONF(TO_ELEM(res)), res, in resource_get_pinned()
1042 return (resource_by_sysid(TO_CONF(TO_ELEM(res)), PS_NONE, in get_default_resource()
1195 if ((rs = pool_exec_query(TO_CONF(pe), NULL, NULL, in get_default_elem()
H A Dpool.c339 pool_conf_t *conf = TO_CONF(pe); in pool_base_info()
507 if (TO_CONF(pe) != conf) { in pool_info()
536 if (TO_CONF(pe) != conf) { in pool_resource_info()
565 if (TO_CONF(pe) != conf) { in pool_component_info()
904 ret = pool_get_property(TO_CONF(pe), pe, cb->cb_buf, val); in pool_get_ns_property()
924 if (TO_CONF(pe) != conf) { in pool_put_property()
990 if (TO_CONF(pe) != conf) { in pool_set_temporary()
1036 ret = pool_put_property(TO_CONF(pe), pe, cb->cb_buf, val); in pool_put_ns_property()
1104 if (TO_CONF(pe) != conf) { in pool_rm_property()
2253 pool_conf_t *conf = TO_CONF(TO_ELEM(src)); in choose_components()
H A Dpool_kernel.c670 pool_conf_t *conf = TO_CONF(TO_ELEM(pke)); in remove_dead_elems()
692 pool_conf_t *conf = TO_CONF(TO_ELEM(pke)); in find_dead_elems()
1285 if (pool_get_property(TO_CONF(TO_ELEM(pke)), in build_result_set()
1796 prov = (pool_knl_connection_t *)(TO_CONF(pe))->pc_prov; in pool_knl_elem_remove()
1868 (pool_knl_connection_t *)TO_CONF(src_e)->pc_prov; in pool_knl_res_xtransfer()
2002 prov = (pool_knl_connection_t *)(TO_CONF(TO_ELEM(pool)))->pc_prov; in pool_knl_pool_associate()
2050 prov = (pool_knl_connection_t *)(TO_CONF(TO_ELEM(pool)))->pc_prov; in pool_knl_pool_dissociate()
2233 pool_conf_t *conf = TO_CONF(TO_ELEM(pke)); in pool_knl_elem_free()
2356 prov = (pool_knl_connection_t *)(TO_CONF(pe))->pc_prov; in pool_knl_get_dynamic_property()
2396 (pool_knl_connection_t *)(TO_CONF(pe))->pc_prov; in pool_knl_put_property()
[all …]
H A Dpool_internal.h67 #define TO_CONF(s) (s->pe_conf) macro
H A Dpool_xml.c937 pool_conf_t *conf = TO_CONF(pe); in pool_xml_get_properties()