Lines Matching refs:pool
56 pool_create(struct _WsbmBufferPool *pool, in pool_create() argument
64 wsbmBufStorageInit(&mBuf->buf, pool); in pool_create()
156 pool_takedown(struct _WsbmBufferPool *pool) in pool_takedown() argument
158 free(pool); in pool_takedown()
164 struct _WsbmBufferPool *pool; in wsbmMallocPoolInit() local
166 pool = (struct _WsbmBufferPool *)calloc(1, sizeof(*pool)); in wsbmMallocPoolInit()
167 if (!pool) in wsbmMallocPoolInit()
170 pool->fd = -1; in wsbmMallocPoolInit()
171 pool->map = &pool_map; in wsbmMallocPoolInit()
172 pool->unmap = &pool_unmap; in wsbmMallocPoolInit()
173 pool->syncforcpu = &pool_syncforcpu; in wsbmMallocPoolInit()
174 pool->releasefromcpu = &pool_releasefromcpu; in wsbmMallocPoolInit()
175 pool->destroy = &pool_destroy; in wsbmMallocPoolInit()
176 pool->offset = &pool_offset; in wsbmMallocPoolInit()
177 pool->poolOffset = &pool_poolOffset; in wsbmMallocPoolInit()
178 pool->placement = &pool_placement; in wsbmMallocPoolInit()
179 pool->size = &pool_size; in wsbmMallocPoolInit()
180 pool->create = &pool_create; in wsbmMallocPoolInit()
181 pool->fence = &pool_fence; in wsbmMallocPoolInit()
182 pool->kernel = &pool_kernel; in wsbmMallocPoolInit()
183 pool->validate = NULL; in wsbmMallocPoolInit()
184 pool->waitIdle = &pool_waitIdle; in wsbmMallocPoolInit()
185 pool->takeDown = &pool_takedown; in wsbmMallocPoolInit()
186 return pool; in wsbmMallocPoolInit()