/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_mallocpool.c | 56 pool_create(struct _WsbmBufferPool *pool, argument 64 wsbmBufStorageInit(&mBuf->buf, pool); 156 pool_takedown(struct _WsbmBufferPool *pool) argument 158 free(pool); 164 struct _WsbmBufferPool *pool; local 166 pool = (struct _WsbmBufferPool *)calloc(1, sizeof(*pool)); 167 if (!pool) 170 pool->fd = -1; 171 pool [all...] |
H A D | wsbm_manager.c | 79 struct _WsbmBufferPool *pool; member in struct:_WsbmBufferObject 366 (void)storage->pool->waitIdle(storage, lazy); 376 retval = storage->pool->map(storage, mode, &virtual); 389 storage->pool->unmap(storage); 397 return storage->pool->syncforcpu(storage, mode); 405 storage->pool->releasefromcpu(storage, mode); 413 return storage->pool->offset(storage); 421 return storage->pool->poolOffset(storage); 431 return storage->pool->placement(storage); 454 if (storage->pool 747 struct _WsbmBufferPool *pool = storage->pool; local 773 struct _WsbmBufferPool *pool = buf->storage->pool; local 821 struct _WsbmBufferPool *pool = storage->pool; local 884 struct _WsbmBufferPool *pool = storage->pool; local 929 wsbmBOCreateSimple(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, size_t extra_size, size_t * offset) argument 968 wsbmGenBuffers(struct _WsbmBufferPool *pool, unsigned n, struct _WsbmBufferObject *buffers[], unsigned alignment, uint32_t placement) argument 1273 wsbmPoolTakeDown(struct _WsbmBufferPool *pool) argument [all...] |
H A D | wsbm_ttmpool.c | 58 * Buffer pool implementation using DRM buffer objects as wsbm buffer objects. 92 struct _WsbmBufferPool pool; member in struct:_TTMPool 100 return containerOf(dBuf->buf.pool, struct _TTMPool, pool); 110 pool_create(struct _WsbmBufferPool *pool, argument 115 struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool); 126 ret = wsbmBufStorageInit(&dBuf->buf, pool); 138 DRMRESTARTCOMMANDWRITEREAD(pool->fd, ttmPool->devOffset + TTM_PL_CREATE, 163 pool_reference(struct _WsbmBufferPool *pool, unsigne argument 440 struct _WsbmBufferPool *pool = buf->pool; local 453 pool_takedown(struct _WsbmBufferPool *pool) argument 469 struct _WsbmBufferPool *pool = buf->pool; local 498 struct _WsbmBufferPool *pool; local 532 ttm_pool_ub_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, const unsigned long *user_ptr) argument [all...] |
H A D | wsbm_pool.h | 45 struct _WsbmBufferPool *pool; member in struct:_WsbmBufStorage 68 struct _WsbmBufStorage *(*create) (struct _WsbmBufferPool * pool, 73 pool, uint32_t handle); 82 void (*takeDown) (struct _WsbmBufferPool * pool); 87 struct _WsbmBufferPool *pool) 93 storage->pool = pool; 118 storage->pool->destroy(&storage); 158 extern void wsbmUserPoolClean(struct _WsbmBufferPool *pool, 86 wsbmBufStorageInit(struct _WsbmBufStorage *storage, struct _WsbmBufferPool *pool) argument
|
H A D | wsbm_userpool.c | 63 /* Protected by the pool mutex */ 92 struct _WsbmBufferPool pool; member in struct:_WsbmUserPool 111 return containerOf(buf->buf.pool, struct _WsbmUserPool, pool); 204 pool_create(struct _WsbmBufferPool *pool, argument 207 struct _WsbmUserPool *p = containerOf(pool, struct _WsbmUserPool, pool); 213 wsbmBufStorageInit(&vBuf->buf, pool); 389 * pool mutex held when accessing the buffer fence member. 583 pool_takedown(struct _WsbmBufferPool *pool) argument 612 wsbmUserPoolClean(struct _WsbmBufferPool *pool, int cleanVram, int cleanAgp) argument 631 struct _WsbmBufferPool *pool; local [all...] |
H A D | wsbm_slabpool.c | 171 struct _WsbmBufferPool pool; member in struct:_WsbmSlabPool 192 slabPoolFromPool(struct _WsbmBufferPool *pool) argument 194 return containerOf(pool, struct _WsbmSlabPool, pool); 200 return slabPoolFromPool(sBuf->storage.pool); 246 (void)drmCommandWrite(slabPool->pool.fd, 374 DRMRESTARTCOMMANDWRITEREAD(slabPool->pool.fd, 407 DRMRESTARTCOMMANDWRITEREAD(slabPool->pool.fd, 424 slabPool->pool.fd, kbo->mapHandle); 437 (void)drmCommandWrite(slabPool->pool 693 pool_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment) argument 1119 pool_takedown(struct _WsbmBufferPool *pool) argument 1144 struct _WsbmBufferPool *pool; local [all...] |
H A D | wsbm_manager.h | 53 * that needs to be resolved in the buffer pool using 94 struct _WsbmBufferPool *pool, uint32_t placement); 118 extern int wsbmGenBuffers(struct _WsbmBufferPool *pool, 123 struct _WsbmBufferObject *wsbmBOCreateSimple(struct _WsbmBufferPool *pool, 151 extern void wsbmPoolTakeDown(struct _WsbmBufferPool *pool); 158 extern void wsbmPoolTakeDown(struct _WsbmBufferPool *pool);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcm_mpool_pub.h | 14 * pool manager: A singleton object that acts as a factory for 15 * pool allocators. It also is used for global 17 * in use across all data structures. The pool manager 21 * memory pool: An object for allocating homogenous memory blocks. 24 * bcm_mpm_* Memory pool manager 25 * bcm_mp_* Memory pool 33 * heap: The memory pool allocator uses the heap (malloc/free) for memory. 34 * In this case, the pool allocator is just providing statistics 76 * Opaque type definition for the pool manager handle. This object is used for global 77 * memory pool operation [all...] |
H A D | bcmutils.h | 174 #define POOL_ENAB(pool) ((pool) && (pool)->inited) 187 typedef void (*pktpool_cb_t)(struct pktpool *pool, void *arg); 194 /* pkt pool debug states */ 217 uint8 idle; /* avail in pool */
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/ |
H A D | nestegg.c | 475 struct pool_ctx * pool; local 477 pool = h_malloc(sizeof(*pool)); 478 if (!pool) 480 return pool; 484 ne_pool_destroy(struct pool_ctx * pool) argument 486 h_free(pool); 490 ne_pool_alloc(size_t size, struct pool_ctx * pool) argument 497 hattach(p, pool);
|
/hardware/intel/img/psb_video/src/ |
H A D | psb_drv_video.c | 2940 struct _WsbmBufferPool *pool; local 2971 pool = wsbmTTMPoolInit(driver_data->drm_fd, 2973 if (pool == NULL) { 2974 drv_debug_msg(VIDEO_DEBUG_ERROR, "failed to get ttm pool\n"); 2977 driver_data->main_pool = pool;
|