Lines Matching defs:pool
65 message = "FBPR pool exhaused. Consider increasing "
125 /* Warn if there is less than 5% free FPBR's in pool */
204 t_Handle pool, portal;
209 pool = NULL;
230 pool = BM_POOL_Config(&bpp);
231 if (pool == NULL)
238 BM_POOL_ConfigBuffContextMode(pool, 0);
241 error = BM_POOL_ConfigStockpile(pool, maxBuffers, minBuffers);
251 error = BM_POOL_ConfigDepletion(pool, f_Depletion, thresholds);
256 error = BM_POOL_Init(pool);
260 *bpid = BM_POOL_GetId(pool);
265 return (pool);
268 if (pool != NULL)
269 BM_POOL_Free(pool);
277 bman_pool_destroy(t_Handle pool)
283 sched_bind(curthread, sc->sc_bpool_cpu[BM_POOL_GetId(pool)]);
286 BM_POOL_Free(pool);
296 bman_pool_fill(t_Handle pool, uint16_t nbufs)
311 error = BM_POOL_FillBufs(pool, portal, nbufs);
319 bman_get_buffer(t_Handle pool)
334 buffer = BM_POOL_GetBuf(pool, portal);
342 bman_put_buffer(t_Handle pool, void *buffer)
357 error = BM_POOL_PutBuf(pool, portal, buffer);
365 bman_count(t_Handle pool)
368 return (BM_POOL_GetCounter(pool, e_BM_POOL_COUNTERS_CONTENT));