Lines Matching refs:pool
16 Basically, a background thread manages a memory pool where blocks
17 are allocated from. If the pool is empty, allocation is delayed until
18 either a blocks is freed or the pool is enlarged by the background
22 added to memory pool (and cleaned-up when removed from pool). The
28 DMA access, a minimum pool size (in blocks), a maximum pool size
30 pool is allocated.
46 void *(*alloc)(locked_pool_cookie pool);
48 void (*free)(locked_pool_cookie pool, void *block);
50 // create new pool
57 // name - name of pool
59 // alloc_hook - hook to be called when new block is added to pool (can be NULL )
60 // free_hook - hook to be called when block is removed from pool (can be NULL )
66 void (*destroy)(locked_pool_cookie pool);