Lines Matching defs:res

526 pool_resource_info(const pool_conf_t *conf, const pool_resource_t *res,
531 pe = TO_ELEM(res);
754 int res;
757 res = smf_enable_instance(SMF_SVC_INSTANCE, 0);
759 res = smf_disable_instance(SMF_SVC_INSTANCE, 0);
761 if (res != 0) {
980 int res;
1004 res = pe->pe_put_prop(pe, name, val);
1008 return (res);
1219 * Create an element to represent a res.
1338 pool_component_create(pool_conf_t *conf, const pool_resource_t *res,
1357 if (pool_set_container(TO_ELEM(res), pe) == PO_FAIL) {
1894 * Return an res, searching the supplied configuration for an res with the
1957 * Return a result set of res (actually as pool_elem_ts), searching the
1958 * supplied configuration for res which match the supplied property
1960 * to match qualifying res.
2048 * Destroy an res. If the res cannot be found or removed an error is
2050 * some type safety for the res subtype.
2144 * are pools, res & comp and the wrapper functions above provide type-safe
2512 * subtypes of system, pool, res and comp.
2596 * Walk all the comp of the res calling the user supplied function
2626 * Return an array of all matching res for the supplied pool.
2644 rs = pool_exec_query(conf, pe, "res", PEC_QRY_RES, props);
2674 * Walk all the res of the pool calling the user supplied function
2702 * Return a result set of all comp for the supplied res.
2774 pool_associate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
2779 return (pool->pp_associate(pool, res));
2788 pool_dissociate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
2793 if (elem_is_default(TO_ELEM(res)))
2795 return (pool->pp_dissociate(pool, res));