Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_commit.c168 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(pool), in commit_create()
214 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(res), in commit_create()
254 ret = pool_destroy(TO_CONF(pe), pool); in commit_delete()
259 ret = pool_resource_destroy(TO_CONF(pe), res); in commit_delete()
287 res1 = pool_get_owning_resource(TO_CONF(e1), in commit_update()
289 res2 = pool_get_owning_resource(TO_CONF(e2), in commit_update()
299 newres = pool_get_resource(TO_CONF(e2), in commit_update()
309 (void) pool_resource_xtransfer(TO_CONF(e2), in commit_update()
313 if (pool_walk_properties(TO_CONF(e2), e2, NULL, in commit_update()
365 if (pool_walk_properties(TO_CONF(e1), e1, e2, clone_element) != in commit_update()
[all …]
H A Dpool_internal.c441 pool = pool_get_pool(TO_CONF(elem), nm); in elem_set_name()
449 res = pool_get_resource(TO_CONF(elem), in elem_set_name()
596 if (conf_is_dynamic(TO_CONF(elem)) == PO_TRUE) { in res_set_max()
612 return (pool_validate_resource(TO_CONF(elem), in res_set_max()
664 if (conf_is_dynamic(TO_CONF(elem)) == PO_TRUE) { in res_set_min()
680 return (pool_validate_resource(TO_CONF(elem), in res_set_min()
929 if (pool_get_property(TO_CONF(TO_ELEM(component)), TO_ELEM(component), in cpu_is_requested()
995 if ((cs = pool_query_resource_components(TO_CONF(TO_ELEM(res)), res, in resource_get_pinned()
1040 return (resource_by_sysid(TO_CONF(TO_ELEM(res)), PS_NONE, in get_default_resource()
1193 if ((rs = pool_exec_query(TO_CONF(pe), NULL, NULL, in get_default_elem()
H A Dpool.c337 pool_conf_t *conf = TO_CONF(pe); in pool_base_info()
505 if (TO_CONF(pe) != conf) { in pool_info()
534 if (TO_CONF(pe) != conf) { in pool_resource_info()
563 if (TO_CONF(pe) != conf) { in pool_component_info()
902 ret = pool_get_property(TO_CONF(pe), pe, cb->cb_buf, val); in pool_get_ns_property()
922 if (TO_CONF(pe) != conf) { in pool_put_property()
988 if (TO_CONF(pe) != conf) { in pool_set_temporary()
1034 ret = pool_put_property(TO_CONF(pe), pe, cb->cb_buf, val); in pool_put_ns_property()
1102 if (TO_CONF(pe) != conf) { in pool_rm_property()
2251 pool_conf_t *conf = TO_CONF(TO_ELEM(src)); in choose_components()
H A Dpool_kernel.c671 pool_conf_t *conf = TO_CONF(TO_ELEM(pke)); in remove_dead_elems()
693 pool_conf_t *conf = TO_CONF(TO_ELEM(pke)); in find_dead_elems()
1286 if (pool_get_property(TO_CONF(TO_ELEM(pke)), in build_result_set()
1797 prov = (pool_knl_connection_t *)(TO_CONF(pe))->pc_prov; in pool_knl_elem_remove()
1871 (pool_knl_connection_t *)TO_CONF(src_e)->pc_prov; in pool_knl_res_xtransfer()
2005 prov = (pool_knl_connection_t *)(TO_CONF(TO_ELEM(pool)))->pc_prov; in pool_knl_pool_associate()
2053 prov = (pool_knl_connection_t *)(TO_CONF(TO_ELEM(pool)))->pc_prov; in pool_knl_pool_dissociate()
2236 pool_conf_t *conf = TO_CONF(TO_ELEM(pke)); in pool_knl_elem_free()
2360 prov = (pool_knl_connection_t *)(TO_CONF(pe))->pc_prov; in pool_knl_get_dynamic_property()
2400 (pool_knl_connection_t *)(TO_CONF(pe))->pc_prov; in pool_knl_put_property()
[all …]
H A Dpool_internal.h65 #define TO_CONF(s) (s->pe_conf) macro
H A Dpool_xml.c929 pool_conf_t *conf = TO_CONF(pe); in pool_xml_get_properties()