Lines Matching defs:resources
134 * type of resources to be shown, currently we only have one type 'pset'
755 * Find all resources of type 'rtype'.
756 * If 'pool_name' is defined find all resources bound to this pool.
761 pool_resource_t **resources = NULL;
784 /* collect resources associated to 'pool_name' */
788 if ((resources = pool_query_pool_resources(
792 /* collect all resources */
793 if ((resources =
805 return (resources);
812 * Print statistics for all resources of type 'rtype' passed in 'resources'.
815 prt_resource_stats_by_type(pool_resource_t **resources, const char *rtype)
836 /* collect and print statistics for the given resources */
837 for (i = 0; resources[i] != NULL; i++) {
838 if ((elem = pool_resource_to_elem(conf, resources[i])) == NULL)
857 * Update statistics for all resources of type 'rtype' pased in 'resources'.
895 * For each pool in the configuration print statistics of associated resources.
896 * If the pool name list 'pn' is defined, only print resources of pools
912 pool_resource_t **resources;
960 /* print statistics for the resources bound to the pools */
976 resources = get_resources(
978 update_resource_stats(*resources,
980 FREE(resources);
1002 resources = get_resources(
1004 if (resources == NULL)
1007 *resources, rtype->ple_obj);
1008 prt_resource_stats_by_type(resources,
1010 FREE(resources);