Lines Matching defs:pool
56 #include <pool.h>
78 " associate pool name [resource-list]\n" \
79 " connect one or more resources to a pool, or replace one or more\n" \
88 " create a system entity, with one pool entity and resources to\n" \
108 " system | pool | pset | cpu\n" \
814 pool_t *pool;
817 if ((pool = pool_get_pool(conf, cmd->cmd_tgt1)) == NULL)
821 if ((info_buf = pool_info(conf, pool, PO_TRUE)) == NULL)
898 pool_t *pool;
900 if ((pool = pool_create(conf, cmd->cmd_tgt1)) == NULL)
903 prop_list_walk(cmd, pool_to_elem(conf, pool));
964 pool_t *pool;
966 if ((pool = pool_get_pool(conf, cmd->cmd_tgt1)) == NULL)
970 parser_rename(cmd, pool_to_elem(conf, pool), POOL_NAME);
1004 pool_t *pool;
1006 if ((pool = pool_get_pool(conf, cmd->cmd_tgt1)) == NULL)
1010 if (pool_destroy(conf, pool) != 0)
1057 pool_t *pool;
1059 if ((pool = pool_get_pool(conf, cmd->cmd_tgt1)) == NULL)
1062 prop_list_walk(cmd, pool_to_elem(conf, pool));
1134 * Walk the list of specified associations so that the target pool will be
1141 pool_t *pool;
1143 if ((pool = pool_get_pool(conf, cmd->cmd_tgt1)) == NULL)
1146 assoc_list_walk(cmd, pool);
1394 * to associate the pool with the specified resource.
1397 assoc_list_walk(cmd_t *cmd, pool_t *pool)
1417 if (pool_associate(conf, pool, resource) != 0)