Lines Matching refs:pool
65 message = "FBPR pool exhaused. Consider increasing "
126 /* Warn if there is less than 5% free FPBR's in pool */
205 t_Handle pool, portal;
210 pool = NULL;
231 pool = BM_POOL_Config(&bpp);
232 if (pool == NULL)
239 BM_POOL_ConfigBuffContextMode(pool, 0);
242 error = BM_POOL_ConfigStockpile(pool, maxBuffers, minBuffers);
252 error = BM_POOL_ConfigDepletion(pool, f_Depletion, thresholds);
257 error = BM_POOL_Init(pool);
261 *bpid = BM_POOL_GetId(pool);
266 return (pool);
269 if (pool != NULL)
270 BM_POOL_Free(pool);
278 bman_pool_destroy(t_Handle pool)
284 sched_bind(curthread, sc->sc_bpool_cpu[BM_POOL_GetId(pool)]);
287 BM_POOL_Free(pool);
297 bman_pool_fill(t_Handle pool, uint16_t nbufs)
312 error = BM_POOL_FillBufs(pool, portal, nbufs);
320 bman_get_buffer(t_Handle pool)
335 buffer = BM_POOL_GetBuf(pool, portal);
343 bman_put_buffer(t_Handle pool, void *buffer)
358 error = BM_POOL_PutBuf(pool, portal, buffer);
366 bman_count(t_Handle pool)
369 return (BM_POOL_GetCounter(pool, e_BM_POOL_COUNTERS_CONTENT));