Lines Matching refs:props
1233 pool_value_t *props[] = { NULL, NULL }; in pool_resource_create() local
1258 props[0] = &val; in pool_resource_create()
1260 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS || in pool_resource_create()
1261 pool_value_set_name(props[0], c_type) != PO_SUCCESS) { in pool_resource_create()
1265 if ((resources = pool_query_resources(conf, &nelem, props)) == NULL) { in pool_resource_create()
1704 const pool_prop_t *props = provider_get_props(elem); in pool_walk_any_properties() local
1712 if (props == NULL) { in pool_walk_any_properties()
1725 for (i = 0; props[i].pp_pname != NULL; i++) { in pool_walk_any_properties()
1731 if (strcmp(props[i].pp_pname, c_type) == 0) { in pool_walk_any_properties()
1734 if (pool_value_set_name(&val, props[i].pp_pname) == in pool_walk_any_properties()
1739 if (props[i].pp_op.ppo_get_value(elem, &val) == in pool_walk_any_properties()
1744 if (any == 1 || prop_is_hidden(&props[i]) == PO_FALSE) { in pool_walk_any_properties()
1745 if (prop_callback(conf, elem, props[i].pp_pname, in pool_walk_any_properties()
1757 props[i].pp_pname) == 0) in pool_walk_any_properties()
1766 if (any == 1 || prop_is_hidden(&props[i]) == PO_FALSE) { in pool_walk_any_properties()
1767 if (props[i].pp_op.ppo_get_value) { in pool_walk_any_properties()
1769 props[i].pp_pname) == PO_FAIL) { in pool_walk_any_properties()
1773 if (props[i].pp_op.ppo_get_value(elem, in pool_walk_any_properties()
1779 if (prop_callback(conf, elem, props[i].pp_pname, in pool_walk_any_properties()
1818 pool_value_t *props[] = { NULL, NULL }; in pool_get_pool() local
1824 props[0] = &val; in pool_get_pool()
1831 if (pool_value_set_name(props[0], "pool.name") != PO_SUCCESS || in pool_get_pool()
1832 pool_value_set_string(props[0], name) != PO_SUCCESS) { in pool_get_pool()
1835 rs = pool_query_pools(conf, &size, props); in pool_get_pool()
1856 pool_query_pools(const pool_conf_t *conf, uint_t *size, pool_value_t **props) in pool_query_pools() argument
1867 rs = pool_exec_query(conf, NULL, NULL, PEC_QRY_POOL, props); in pool_query_pools()
1902 pool_value_t *props[] = { NULL, NULL, NULL }; in pool_get_resource() local
1920 props[0] = &val0; in pool_get_resource()
1921 props[1] = &val1; in pool_get_resource()
1923 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS || in pool_get_resource()
1924 pool_value_set_name(props[0], c_type) != PO_SUCCESS) in pool_get_resource()
1934 if (pool_value_set_name(props[1], cb->cb_buf) != PO_SUCCESS) { in pool_get_resource()
1938 if (pool_value_set_string(props[1], name) != PO_SUCCESS) { in pool_get_resource()
1943 rs = pool_query_resources(conf, &size, props); in pool_get_resource()
1965 pool_value_t **props) in pool_query_resources() argument
1979 rs = pool_exec_query(conf, NULL, NULL, PEC_QRY_RES, props); in pool_query_resources()
2016 pool_value_t **props) in pool_query_components() argument
2018 return (pool_query_resource_components(conf, NULL, size, props)); in pool_query_components()
2161 const char *src_attr, pool_elem_class_t classes, pool_value_t **props) in pool_exec_query() argument
2164 props)); in pool_exec_query()
2631 uint_t *size, pool_value_t **props) in pool_query_pool_resources() argument
2645 rs = pool_exec_query(conf, pe, "res", PEC_QRY_RES, props); in pool_query_pool_resources()
2707 const pool_resource_t *prs, uint_t *size, pool_value_t **props) in pool_query_resource_components() argument
2720 rs = pool_exec_query(conf, pe, NULL, PEC_QRY_COMP, props); in pool_query_resource_components()