Searched defs:pool (Results 1 - 8 of 8) sorted by relevance

/hardware/intel/common/libwsbm/src/
H A Dwsbm_mallocpool.c56 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 Dwsbm_pool.h45 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 Dwsbm_ttmpool.c58 * 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 Dwsbm_userpool.c63 /* 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 Dwsbm_manager.c79 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 Dwsbm_slabpool.c171 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...]
/hardware/intel/img/psb_video/src/
H A Dpsb_drv_video.c2940 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;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/
H A Dnestegg.c475 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);

Completed in 112 milliseconds