Lines Matching refs:props
1235 pool_value_t *props[] = { NULL, NULL }; in pool_resource_create() local
1260 props[0] = &val; in pool_resource_create()
1262 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS || in pool_resource_create()
1263 pool_value_set_name(props[0], c_type) != PO_SUCCESS) { in pool_resource_create()
1267 if ((resources = pool_query_resources(conf, &nelem, props)) == NULL) { in pool_resource_create()
1706 const pool_prop_t *props = provider_get_props(elem); in pool_walk_any_properties() local
1714 if (props == NULL) { in pool_walk_any_properties()
1727 for (i = 0; props[i].pp_pname != NULL; i++) { in pool_walk_any_properties()
1733 if (strcmp(props[i].pp_pname, c_type) == 0) { in pool_walk_any_properties()
1736 if (pool_value_set_name(&val, props[i].pp_pname) == in pool_walk_any_properties()
1741 if (props[i].pp_op.ppo_get_value(elem, &val) == in pool_walk_any_properties()
1746 if (any == 1 || prop_is_hidden(&props[i]) == PO_FALSE) { in pool_walk_any_properties()
1747 if (prop_callback(conf, elem, props[i].pp_pname, in pool_walk_any_properties()
1759 props[i].pp_pname) == 0) in pool_walk_any_properties()
1768 if (any == 1 || prop_is_hidden(&props[i]) == PO_FALSE) { in pool_walk_any_properties()
1769 if (props[i].pp_op.ppo_get_value) { in pool_walk_any_properties()
1771 props[i].pp_pname) == PO_FAIL) { in pool_walk_any_properties()
1775 if (props[i].pp_op.ppo_get_value(elem, in pool_walk_any_properties()
1781 if (prop_callback(conf, elem, props[i].pp_pname, in pool_walk_any_properties()
1820 pool_value_t *props[] = { NULL, NULL }; in pool_get_pool() local
1826 props[0] = &val; in pool_get_pool()
1833 if (pool_value_set_name(props[0], "pool.name") != PO_SUCCESS || in pool_get_pool()
1834 pool_value_set_string(props[0], name) != PO_SUCCESS) { in pool_get_pool()
1837 rs = pool_query_pools(conf, &size, props); in pool_get_pool()
1858 pool_query_pools(const pool_conf_t *conf, uint_t *size, pool_value_t **props) in pool_query_pools() argument
1869 rs = pool_exec_query(conf, NULL, NULL, PEC_QRY_POOL, props); in pool_query_pools()
1904 pool_value_t *props[] = { NULL, NULL, NULL }; in pool_get_resource() local
1922 props[0] = &val0; in pool_get_resource()
1923 props[1] = &val1; in pool_get_resource()
1925 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS || in pool_get_resource()
1926 pool_value_set_name(props[0], c_type) != PO_SUCCESS) in pool_get_resource()
1936 if (pool_value_set_name(props[1], cb->cb_buf) != PO_SUCCESS) { in pool_get_resource()
1940 if (pool_value_set_string(props[1], name) != PO_SUCCESS) { in pool_get_resource()
1945 rs = pool_query_resources(conf, &size, props); in pool_get_resource()
1967 pool_value_t **props) in pool_query_resources() argument
1981 rs = pool_exec_query(conf, NULL, NULL, PEC_QRY_RES, props); in pool_query_resources()
2018 pool_value_t **props) in pool_query_components() argument
2020 return (pool_query_resource_components(conf, NULL, size, props)); in pool_query_components()
2163 const char *src_attr, pool_elem_class_t classes, pool_value_t **props) in pool_exec_query() argument
2166 props)); in pool_exec_query()
2633 uint_t *size, pool_value_t **props) in pool_query_pool_resources() argument
2647 rs = pool_exec_query(conf, pe, "res", PEC_QRY_RES, props); in pool_query_pool_resources()
2709 const pool_resource_t *prs, uint_t *size, pool_value_t **props) in pool_query_resource_components() argument
2722 rs = pool_exec_query(conf, pe, NULL, PEC_QRY_COMP, props); in pool_query_resource_components()