Lines Matching refs:res

529 pool_resource_info(const pool_conf_t *conf, const pool_resource_t *res,
534 pe = TO_ELEM(res);
757 int res;
760 res = smf_enable_instance(SMF_SVC_INSTANCE, 0);
762 res = smf_disable_instance(SMF_SVC_INSTANCE, 0);
764 if (res != 0) {
983 int res;
1007 res = pe->pe_put_prop(pe, name, val);
1011 return (res);
1222 * Create an element to represent a res.
1341 pool_component_create(pool_conf_t *conf, const pool_resource_t *res,
1360 if (pool_set_container(TO_ELEM(res), pe) == PO_FAIL) {
1897 * Return an res, searching the supplied configuration for an res with the
1960 * Return a result set of res (actually as pool_elem_ts), searching the
1961 * supplied configuration for res which match the supplied property
1963 * to match qualifying res.
2051 * Destroy an res. If the res cannot be found or removed an error is
2053 * some type safety for the res subtype.
2147 * are pools, res & comp and the wrapper functions above provide type-safe
2515 * subtypes of system, pool, res and comp.
2599 * Walk all the comp of the res calling the user supplied function
2629 * Return an array of all matching res for the supplied pool.
2647 rs = pool_exec_query(conf, pe, "res", PEC_QRY_RES, props);
2677 * Walk all the res of the pool calling the user supplied function
2705 * Return a result set of all comp for the supplied res.
2777 pool_associate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
2782 return (pool->pp_associate(pool, res));
2791 pool_dissociate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
2796 if (elem_is_default(TO_ELEM(res)))
2798 return (pool->pp_dissociate(pool, res));