Lines Matching defs:pool
29 * These functions implement the process of commitment for a pool
45 * system || pool ||
76 #include <pool.h>
149 pool_t *pool;
161 if ((pool = pool_create(conf, name)) == NULL) {
167 * Now copy the properties from the original pool to the
170 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(pool),
178 pool_set_pair(TO_ELEM(pool), src);
179 *e1 = TO_ELEM(pool);
245 pool_t *pool;
255 pool = pool_elem_pool(pe);
256 ret = pool_destroy(TO_CONF(pe), pool);
279 * updated. In pass 1, ie. pass != 0, any pool components have their
654 * that pools is interested in: i.e. system, pool, resources and
713 * each pool, then each resource provider is invoked in turn with a
714 * list of it's own resources. Finally, the pool importance details
746 * 'pool.importance' defines the importance of a pool;
747 * resources inherit the importance of the pool that
748 * is associated with them. If more than one pool is
1147 * resource associated with a pool.
1153 set_importance_cb(pool_conf_t *conf, pool_t *pool, void *unused)
1160 if (pool_get_property(conf, TO_ELEM(pool), "pool.importance", &val) !=
1166 if ((res = pool_query_pool_resources(conf, pool, &nelem, NULL)) ==
1189 * each resource associated with a pool.
1195 unset_importance_cb(pool_conf_t *conf, pool_t *pool, void *unused)
1200 if ((res = pool_query_pool_resources(conf, pool, &nelem, NULL)) ==
1217 * each resource associated with a pool.
1229 * each resource associated with a pool.