/hardware/intel/common/libwsbm/src/ |
D | wsbm_mallocpool.c | 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() [all …]
|
D | wsbm_ttmpool.c | 92 struct _WsbmBufferPool pool; member 100 return containerOf(dBuf->buf.pool, struct _TTMPool, pool); in ttmGetPool() 110 pool_create(struct _WsbmBufferPool *pool, in pool_create() argument 115 struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool); in pool_create() 126 ret = wsbmBufStorageInit(&dBuf->buf, pool); in pool_create() 138 DRMRESTARTCOMMANDWRITEREAD(pool->fd, ttmPool->devOffset + TTM_PL_CREATE, in pool_create() 163 pool_reference(struct _WsbmBufferPool *pool, unsigned handle) in pool_reference() argument 166 struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool); in pool_reference() 173 ret = wsbmBufStorageInit(&dBuf->buf, pool); in pool_reference() 182 ret = drmCommandWriteRead(pool->fd, ttmPool->devOffset + TTM_PL_REFERENCE, in pool_reference() [all …]
|
D | wsbm_manager.c | 79 struct _WsbmBufferPool *pool; member 366 (void)storage->pool->waitIdle(storage, lazy); in wsbmBOWaitIdle() 376 retval = storage->pool->map(storage, mode, &virtual); in wsbmBOMap() 389 storage->pool->unmap(storage); in wsbmBOUnmap() 397 return storage->pool->syncforcpu(storage, mode); in wsbmBOSyncForCpu() 405 storage->pool->releasefromcpu(storage, mode); in wsbmBOReleaseFromCpu() 413 return storage->pool->offset(storage); in wsbmBOOffsetHint() 421 return storage->pool->poolOffset(storage); in wsbmBOPoolOffset() 431 return storage->pool->placement(storage); in wsbmBOPlacementHint() 454 if (storage->pool->setStatus == NULL) in wsbmBOSetStatus() [all …]
|
D | wsbm_userpool.c | 92 struct _WsbmBufferPool pool; member 111 return containerOf(buf->buf.pool, struct _WsbmUserPool, pool); in userPool() 204 pool_create(struct _WsbmBufferPool *pool, in pool_create() argument 207 struct _WsbmUserPool *p = containerOf(pool, struct _WsbmUserPool, pool); in pool_create() 213 wsbmBufStorageInit(&vBuf->buf, pool); in pool_create() 583 pool_takedown(struct _WsbmBufferPool *pool) in pool_takedown() argument 585 struct _WsbmUserPool *p = containerOf(pool, struct _WsbmUserPool, pool); in pool_takedown() 612 wsbmUserPoolClean(struct _WsbmBufferPool *pool, int cleanVram, int cleanAgp) in wsbmUserPoolClean() argument 614 struct _WsbmUserPool *p = containerOf(pool, struct _WsbmUserPool, pool); in wsbmUserPoolClean() 631 struct _WsbmBufferPool *pool; in wsbmUserPoolInit() local [all …]
|
D | wsbm_pool.h | 45 struct _WsbmBufferPool *pool; member 68 struct _WsbmBufStorage *(*create) (struct _WsbmBufferPool * pool, 73 pool, uint32_t handle); 82 void (*takeDown) (struct _WsbmBufferPool * pool); 87 struct _WsbmBufferPool *pool) in wsbmBufStorageInit() argument 93 storage->pool = pool; in wsbmBufStorageInit() 118 storage->pool->destroy(&storage); in wsbmBufStorageUnref() 158 extern void wsbmUserPoolClean(struct _WsbmBufferPool *pool,
|
D | wsbm_slabpool.c | 171 struct _WsbmBufferPool pool; member 192 slabPoolFromPool(struct _WsbmBufferPool *pool) in slabPoolFromPool() argument 194 return containerOf(pool, struct _WsbmSlabPool, pool); in slabPoolFromPool() 200 return slabPoolFromPool(sBuf->storage.pool); in slabPoolFromBuf() 246 (void)drmCommandWrite(slabPool->pool.fd, in wsbmFreeKernelBO() 374 DRMRESTARTCOMMANDWRITEREAD(slabPool->pool.fd, in wsbmAllocKernelBO() 407 DRMRESTARTCOMMANDWRITEREAD(slabPool->pool.fd, in wsbmAllocKernelBO() 424 slabPool->pool.fd, kbo->mapHandle); in wsbmAllocKernelBO() 437 (void)drmCommandWrite(slabPool->pool.fd, in wsbmAllocKernelBO() 485 ret = wsbmBufStorageInit(&sBuf->storage, &header->slabPool->pool); in wsbmAllocSlab() [all …]
|
D | wsbm_manager.h | 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/ |
D | bcm_mpool_pub.h | 309 void* bcm_mp_alloc(bcm_mp_pool_h pool); 323 int bcm_mp_free(bcm_mp_pool_h pool, void *objp); 337 int bcm_mp_stats(bcm_mp_pool_h pool, bcm_mp_stats_t *stats); 352 int bcm_mp_dump(bcm_mp_pool_h pool, struct bcmstrbuf *b);
|
D | bcmutils.h | 174 #define POOL_ENAB(pool) ((pool) && (pool)->inited) argument 187 typedef void (*pktpool_cb_t)(struct pktpool *pool, void *arg);
|
/hardware/intel/common/libmix/mix_video/src/ |
D | mixvideoframe.c | 53 priv -> pool = NULL; in mix_videoframe_init() 133 MixSurfacePool *pool = NULL; in mix_videoframe_unref() local 134 pool = priv -> pool; in mix_videoframe_unref() 135 if(pool == NULL) { in mix_videoframe_unref() 140 mix_surfacepool_put(pool, obj); in mix_videoframe_unref() 329 MIX_RESULT mix_videoframe_set_pool(MixVideoFrame * obj, MixSurfacePool * pool) { in mix_videoframe_set_pool() argument 332 VIDEOFRAME_PRIVATE(obj) -> pool = pool; in mix_videoframe_set_pool()
|
D | mixbuffer.c | 41 priv->pool = NULL; in mix_buffer_init() 192 MIX_RESULT mix_buffer_set_pool(MixBuffer *obj, MixBufferPool *pool) { in mix_buffer_set_pool() argument 196 priv->pool = pool; in mix_buffer_set_pool() 212 g_return_if_fail(priv->pool != NULL); in mix_buffer_unref() 217 mix_bufferpool_put(priv->pool, obj); in mix_buffer_unref()
|
D | mixbuffer_private.h | 20 MixBufferPool *pool; member 36 mix_buffer_set_pool (MixBuffer *obj, MixBufferPool *pool);
|
D | mixvideoframe_private.h | 28 MixSurfacePool *pool; member 47 mix_videoframe_set_pool (MixVideoFrame *obj, MixSurfacePool *pool);
|
/hardware/interfaces/automotive/vehicle/2.1/default/impl/vhal_v2_1/ |
D | EmulatedVehicleHal.cpp | 226 auto& pool = *getValuePool(); in get() local 230 v = pool.obtainComplex(); in get() 234 v = pool.obtainComplex(); in get()
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | EmulatedVehicleHal.cpp | 131 auto& pool = *getValuePool(); in onContinuousPropertyTimer() local 137 v = pool.obtain(*internalPropValue); in onContinuousPropertyTimer()
|
/hardware/interfaces/memtrack/1.0/ |
D | types.hal | 37 * Flags to differentiate memory taken from the kernel's allocation pool vs.
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_video.c | 3075 struct _WsbmBufferPool *pool; local 3106 pool = wsbmTTMPoolInit(driver_data->drm_fd, 3108 if (pool == NULL) { 3112 driver_data->main_pool = pool;
|
/hardware/interfaces/camera/provider/2.4/vts/functional/ |
D | VtsHalCameraProviderV2_4TargetTest.cpp | 615 sp<::android::MemoryHeapBase> pool = new ::android::MemoryHeapBase( in registerMemory() local 617 mParent->mMemoryPool.emplace(pool->getHeapID(), pool); in registerMemory() 619 return pool->getHeapID(); in registerMemory()
|