Lines Matching defs:props

1235 	pool_value_t *props[] = { NULL, NULL };
1260 props[0] = &val;
1262 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS ||
1263 pool_value_set_name(props[0], c_type) != PO_SUCCESS) {
1267 if ((resources = pool_query_resources(conf, &nelem, props)) == NULL) {
1706 const pool_prop_t *props = provider_get_props(elem);
1714 if (props == NULL) {
1727 for (i = 0; props[i].pp_pname != NULL; i++) {
1733 if (strcmp(props[i].pp_pname, c_type) == 0) {
1736 if (pool_value_set_name(&val, props[i].pp_pname) ==
1741 if (props[i].pp_op.ppo_get_value(elem, &val) ==
1746 if (any == 1 || prop_is_hidden(&props[i]) == PO_FALSE) {
1747 if (prop_callback(conf, elem, props[i].pp_pname,
1759 props[i].pp_pname) == 0)
1768 if (any == 1 || prop_is_hidden(&props[i]) == PO_FALSE) {
1769 if (props[i].pp_op.ppo_get_value) {
1771 props[i].pp_pname) == PO_FAIL) {
1775 if (props[i].pp_op.ppo_get_value(elem,
1781 if (prop_callback(conf, elem, props[i].pp_pname,
1820 pool_value_t *props[] = { NULL, NULL };
1826 props[0] = &val;
1833 if (pool_value_set_name(props[0], "pool.name") != PO_SUCCESS ||
1834 pool_value_set_string(props[0], name) != PO_SUCCESS) {
1837 rs = pool_query_pools(conf, &size, props);
1853 * for pools which match the supplied property criteria. props is a null
1858 pool_query_pools(const pool_conf_t *conf, uint_t *size, pool_value_t **props)
1869 rs = pool_exec_query(conf, NULL, NULL, PEC_QRY_POOL, props);
1904 pool_value_t *props[] = { NULL, NULL, NULL };
1922 props[0] = &val0;
1923 props[1] = &val1;
1925 if (pool_value_set_string(props[0], sz_type) != PO_SUCCESS ||
1926 pool_value_set_name(props[0], c_type) != PO_SUCCESS)
1936 if (pool_value_set_name(props[1], cb->cb_buf) != PO_SUCCESS) {
1940 if (pool_value_set_string(props[1], name) != PO_SUCCESS) {
1945 rs = pool_query_resources(conf, &size, props);
1962 * criteria. props is a null terminated list of properties which will be used
1967 pool_value_t **props)
1981 rs = pool_exec_query(conf, NULL, NULL, PEC_QRY_RES, props);
2013 * criteria. props is a null terminated list of properties which will be used
2018 pool_value_t **props)
2020 return (pool_query_resource_components(conf, NULL, size, props));
2163 const char *src_attr, pool_elem_class_t classes, pool_value_t **props)
2166 props));
2633 uint_t *size, pool_value_t **props)
2647 rs = pool_exec_query(conf, pe, "res", PEC_QRY_RES, props);
2709 const pool_resource_t *prs, uint_t *size, pool_value_t **props)
2722 rs = pool_exec_query(conf, pe, NULL, PEC_QRY_COMP, props);