Lines Matching defs:pool
41 #include <pool.h>
44 #include <sys/pool.h>
56 * pool.c implements (most of) the external interface to libpool
59 * pool.c are:
72 * defined in pool.h. Most functions in this file act as interceptors,
86 * pool_t - A pool inside a configuration
106 const char pool_info_location[] = "/dev/pool";
178 * Bind idtype id to the pool name.
235 * pool_get_binding() returns the binding for a pid to a pool. If a
380 * A shallow display of a pool only lists the resources by name
490 * Returns The information on the specified pool or NULL.
498 pool_info(const pool_conf_t *conf, const pool_t *pool, int deep)
502 pe = TO_ELEM(pool);
882 * e.g. If this function is used to get the property "name" on a pool, it will
883 * attempt to retrieve "pool.name".
1013 * e.g. If this function is used to update the property "name" on a pool, it
1014 * will attempt to update "pool.name".
1062 * e.g. If this function is used to update the property "name" on a pool, it
1063 * will attempt to update "pool.name".
1157 * Create an element to represent a pool and add it to the supplied
1172 * A pool with the same name exists. Reject.
1199 if (pool_put_property(conf, pe, "pool.name", &val) == PO_FAIL) {
1206 * If we are creating a temporary pool configuration, flag the pool.
1322 * If we are creating a temporary pool configuration, flag the resource.
1487 * Since you can't do anything to a pool configuration without opening
1811 * Return a pool, searching the supplied configuration for a pool with the
1830 if (pool_value_set_name(props[0], "pool.name") != PO_SUCCESS ||
1835 if (rs == NULL) { /* Can't find a pool to match the name */
1852 * pools. size is updated with the size of the pool
2021 * Destroy a pool. If the pool cannot be found or removed an error is
2023 * some type safety for the pool subtype.
2036 * Cannot destroy the default pool.
2512 * subtypes of system, pool, res and comp.
2572 int (*callback)(pool_conf_t *conf, pool_t *pool, void *arg))
2626 * Return an array of all matching res for the supplied pool.
2674 * Walk all the res of the pool calling the user supplied function
2769 * pool_associate() associates the supplied resource to the supplied pool.
2774 pool_associate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
2779 return (pool->pp_associate(pool, res));
2783 * pool_dissociate() dissociates the supplied resource from the supplied pool.
2788 pool_dissociate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
2795 return (pool->pp_dissociate(pool, res));