Home
last modified time | relevance | path

Searched refs:pool (Results 476 – 500 of 63789) sorted by relevance

1...<<11121314151617181920>>...2552

/dports/graphics/cairo/cairo-1.17.4/src/
H A Dcairo-mempool.c61 BITCLEAR (pool, i); in clear_bits()
72 BITCLEAR (pool, i); in clear_bits()
88 pool->free_bytes += 1 << (bits + pool->min_bits); in free_bits()
247 if (bits > pool->max_free_bits && bits > merge_bits (pool, bits)) in buddy_malloc()
264 while (cairo_list_is_empty (&pool->free[pool->max_free_bits])) { in buddy_malloc()
276 pool->free_bytes -= 1 << (b + pool->min_bits); in buddy_malloc()
279 return pool->base + ((block - pool->blocks) << pool->min_bits); in buddy_malloc()
321 free (pool->blocks); in _cairo_mempool_init()
355 block_offset = ((char *)storage - pool->base) >> pool->min_bits; in _cairo_mempool_free()
359 pool->free_bytes += 1 << (block->bits + pool->min_bits); in _cairo_mempool_free()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/cairo/cairo/src/
H A Dcairo-mempool.c61 BITCLEAR (pool, i); in clear_bits()
72 BITCLEAR (pool, i); in clear_bits()
88 pool->free_bytes += 1 << (bits + pool->min_bits); in free_bits()
247 if (bits > pool->max_free_bits && bits > merge_bits (pool, bits)) in buddy_malloc()
264 while (cairo_list_is_empty (&pool->free[pool->max_free_bits])) { in buddy_malloc()
276 pool->free_bytes -= 1 << (b + pool->min_bits); in buddy_malloc()
279 return pool->base + ((block - pool->blocks) << pool->min_bits); in buddy_malloc()
321 free (pool->blocks); in _cairo_mempool_init()
355 block_offset = ((char *)storage - pool->base) >> pool->min_bits; in _cairo_mempool_free()
359 pool->free_bytes += 1 << (block->bits + pool->min_bits); in _cairo_mempool_free()
[all …]
/dports/www/firefox/firefox-99.0/gfx/cairo/cairo/src/
H A Dcairo-mempool.c61 BITCLEAR (pool, i); in clear_bits()
72 BITCLEAR (pool, i); in clear_bits()
88 pool->free_bytes += 1 << (bits + pool->min_bits); in free_bits()
247 if (bits > pool->max_free_bits && bits > merge_bits (pool, bits)) in buddy_malloc()
264 while (cairo_list_is_empty (&pool->free[pool->max_free_bits])) { in buddy_malloc()
276 pool->free_bytes -= 1 << (b + pool->min_bits); in buddy_malloc()
279 return pool->base + ((block - pool->blocks) << pool->min_bits); in buddy_malloc()
321 free (pool->blocks); in _cairo_mempool_init()
355 block_offset = ((char *)storage - pool->base) >> pool->min_bits; in _cairo_mempool_free()
359 pool->free_bytes += 1 << (block->bits + pool->min_bits); in _cairo_mempool_free()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/cairo/cairo/src/
H A Dcairo-mempool.c61 BITCLEAR (pool, i); in clear_bits()
72 BITCLEAR (pool, i); in clear_bits()
88 pool->free_bytes += 1 << (bits + pool->min_bits); in free_bits()
247 if (bits > pool->max_free_bits && bits > merge_bits (pool, bits)) in buddy_malloc()
264 while (cairo_list_is_empty (&pool->free[pool->max_free_bits])) { in buddy_malloc()
276 pool->free_bytes -= 1 << (b + pool->min_bits); in buddy_malloc()
279 return pool->base + ((block - pool->blocks) << pool->min_bits); in buddy_malloc()
321 free (pool->blocks); in _cairo_mempool_init()
355 block_offset = ((char *)storage - pool->base) >> pool->min_bits; in _cairo_mempool_free()
359 pool->free_bytes += 1 << (block->bits + pool->min_bits); in _cairo_mempool_free()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/block/
H A Daio_task.c40 AioTaskPool *pool = task->pool; in aio_task_co() local
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
55 if (pool->waiting) { in aio_task_co()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
93 task->pool = pool; in aio_task_pool_start_task()
104 return pool; in aio_task_pool_new()
109 g_free(pool); in aio_task_pool_free()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Daio_task.c40 AioTaskPool *pool = task->pool; in aio_task_co() local
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
55 if (pool->waiting) { in aio_task_co()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
93 task->pool = pool; in aio_task_pool_start_task()
104 return pool; in aio_task_pool_new()
109 g_free(pool); in aio_task_pool_free()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/block/
H A Daio_task.c40 AioTaskPool *pool = task->pool; in aio_task_co() local
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
55 if (pool->waiting) { in aio_task_co()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
93 task->pool = pool; in aio_task_pool_start_task()
104 return pool; in aio_task_pool_new()
109 g_free(pool); in aio_task_pool_free()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/block/
H A Daio_task.c40 AioTaskPool *pool = task->pool; in aio_task_co() local
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
55 if (pool->waiting) { in aio_task_co()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
93 task->pool = pool; in aio_task_pool_start_task()
104 return pool; in aio_task_pool_new()
109 g_free(pool); in aio_task_pool_free()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/
H A Daio_task.c40 AioTaskPool *pool = task->pool; in aio_task_co() local
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
55 if (pool->waiting) { in aio_task_co()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
93 task->pool = pool; in aio_task_pool_start_task()
104 return pool; in aio_task_pool_new()
109 g_free(pool); in aio_task_pool_free()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/
H A Daio_task.c40 AioTaskPool *pool = task->pool; in aio_task_co() local
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
55 if (pool->waiting) { in aio_task_co()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
93 task->pool = pool; in aio_task_pool_start_task()
104 return pool; in aio_task_pool_new()
109 g_free(pool); in aio_task_pool_free()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/
H A Daio_task.c40 AioTaskPool *pool = task->pool; in aio_task_co() local
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
55 if (pool->waiting) { in aio_task_co()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
93 task->pool = pool; in aio_task_pool_start_task()
104 return pool; in aio_task_pool_new()
109 g_free(pool); in aio_task_pool_free()
[all …]
/dports/java/java-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dspillbuf-test.c89 test_spillbuf_basic(apr_pool_t *pool) in test_spillbuf_basic() argument
152 pool); in test_spillbuf_callback()
239 pool); in test_spillbuf_file()
396 CHECK_READ(buf, 14, "ef", pool); in test_spillbuf__rwfile()
415 CHECK_READ(buf, 2, "wx", pool); in test_spillbuf__rwfile()
450 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
452 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
462 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
464 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
473 CHECK_READ(buf, 10, "ef", pool); in test_spillbuf__eof()
[all …]
/dports/devel/py-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dspillbuf-test.c89 test_spillbuf_basic(apr_pool_t *pool) in test_spillbuf_basic() argument
152 pool); in test_spillbuf_callback()
239 pool); in test_spillbuf_file()
396 CHECK_READ(buf, 14, "ef", pool); in test_spillbuf__rwfile()
415 CHECK_READ(buf, 2, "wx", pool); in test_spillbuf__rwfile()
450 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
452 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
462 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
464 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
473 CHECK_READ(buf, 10, "ef", pool); in test_spillbuf__eof()
[all …]
/dports/security/subversion-gnome-keyring/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dspillbuf-test.c89 test_spillbuf_basic(apr_pool_t *pool) in test_spillbuf_basic() argument
152 pool); in test_spillbuf_callback()
239 pool); in test_spillbuf_file()
396 CHECK_READ(buf, 14, "ef", pool); in test_spillbuf__rwfile()
415 CHECK_READ(buf, 2, "wx", pool); in test_spillbuf__rwfile()
450 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
452 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
462 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
464 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
473 CHECK_READ(buf, 10, "ef", pool); in test_spillbuf__eof()
[all …]
/dports/devel/p5-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dspillbuf-test.c89 test_spillbuf_basic(apr_pool_t *pool) in test_spillbuf_basic() argument
152 pool); in test_spillbuf_callback()
239 pool); in test_spillbuf_file()
396 CHECK_READ(buf, 14, "ef", pool); in test_spillbuf__rwfile()
415 CHECK_READ(buf, 2, "wx", pool); in test_spillbuf__rwfile()
450 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
452 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
462 CHECK_READ(buf, 8, "ef", pool); in test_spillbuf__eof()
464 CHECK_READ(buf, 2, "kl", pool); in test_spillbuf__eof()
473 CHECK_READ(buf, 10, "ef", pool); in test_spillbuf__eof()
[all …]
/dports/devel/pecl-swoole/swoole-4.8.5/core-tests/src/os/
H A Dprocess_pool.cpp21 pool.onTask = [](ProcessPool *pool, EventData *task) -> int { in test_func() argument
26 pool.main_loop(&pool, pool.get_worker(0)); in test_func()
27 pool.destroy(); in test_func()
35 test_func(pool); in TEST()
43 test_func(pool); in TEST()
66 pool.main_loop(&pool, pool.get_worker(0)); in TEST()
67 pool.destroy(); in TEST()
74 test_func(pool); in TEST()
88 pool.onWorkerStart = [](ProcessPool *pool, int worker_id) { in TEST() argument
94 pool.onTask = [](ProcessPool *pool, EventData *task) -> int { in TEST() argument
[all …]
/dports/net/ntp/ntp-4.2.8p15/lib/isc/
H A Dtaskpool.c52 pool = isc_mem_get(mctx, sizeof(*pool)); in alloc_pool()
53 if (pool == NULL) in alloc_pool()
61 isc_mem_put(mctx, pool, sizeof(*pool)); in alloc_pool()
67 *poolp = pool; in alloc_pool()
97 *poolp = pool; in isc_taskpool_create()
105 isc_task_attach(pool->tasks[i % pool->ntasks], targetp); in isc_taskpool_gettask()
124 pool = *sourcep; in isc_taskpool_expand()
130 result = alloc_pool(pool->tmgr, pool->mctx, size, in isc_taskpool_expand()
143 result = isc_task_create(pool->tmgr, pool->quantum, in isc_taskpool_expand()
169 isc_mem_put(pool->mctx, pool->tasks, in isc_taskpool_destroy()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/include/net/
H A Dxdp_sock_drv.h33 return pool->chunk_size; in xsk_pool_get_chunk_size()
38 return xsk_pool_get_chunk_size(pool) - xsk_pool_get_headroom(pool); in xsk_pool_get_rx_frame_size()
44 xp_set_rxq_info(pool, rxq); in xsk_pool_set_rxq_info()
50 xp_dma_unmap(pool, attrs); in xsk_pool_dma_unmap()
56 struct xdp_umem *umem = pool->umem; in xsk_pool_dma_map()
77 return xp_alloc(pool); in xsk_buff_alloc()
82 return xp_can_alloc(pool, count); in xsk_buff_can_alloc()
95 return xp_raw_get_dma(pool, addr); in xsk_buff_raw_get_dma()
100 return xp_raw_get_data(pool, addr); in xsk_buff_raw_get_data()
107 if (!pool->dma_need_sync) in xsk_buff_dma_sync_for_cpu()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/net/
H A Dxdp_sock_drv.h33 return pool->chunk_size; in xsk_pool_get_chunk_size()
38 return xsk_pool_get_chunk_size(pool) - xsk_pool_get_headroom(pool); in xsk_pool_get_rx_frame_size()
44 xp_set_rxq_info(pool, rxq); in xsk_pool_set_rxq_info()
50 xp_dma_unmap(pool, attrs); in xsk_pool_dma_unmap()
56 struct xdp_umem *umem = pool->umem; in xsk_pool_dma_map()
77 return xp_alloc(pool); in xsk_buff_alloc()
82 return xp_can_alloc(pool, count); in xsk_buff_can_alloc()
95 return xp_raw_get_dma(pool, addr); in xsk_buff_raw_get_dma()
100 return xp_raw_get_data(pool, addr); in xsk_buff_raw_get_data()
107 if (!pool->dma_need_sync) in xsk_buff_dma_sync_for_cpu()
[all …]
/dports/devel/kore/kore-4.1.0/src/
H A Dpool.c50 pool->lock = 0; in kore_pool_init()
51 pool->elms = 0; in kore_pool_init()
52 pool->inuse = 0; in kore_pool_init()
55 pool->slen = pool->elen + sizeof(struct kore_pool_entry); in kore_pool_init()
66 pool->lock = 0; in kore_pool_cleanup()
67 pool->elms = 0; in kore_pool_cleanup()
69 pool->elen = 0; in kore_pool_cleanup()
70 pool->slen = 0; in kore_pool_cleanup()
89 pool_region_create(pool, pool->growth); in kore_pool_get()
99 pool->inuse++; in kore_pool_get()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/net/
H A Dxdp_sock_drv.h33 return pool->chunk_size; in xsk_pool_get_chunk_size()
38 return xsk_pool_get_chunk_size(pool) - xsk_pool_get_headroom(pool); in xsk_pool_get_rx_frame_size()
44 xp_set_rxq_info(pool, rxq); in xsk_pool_set_rxq_info()
50 xp_dma_unmap(pool, attrs); in xsk_pool_dma_unmap()
56 struct xdp_umem *umem = pool->umem; in xsk_pool_dma_map()
77 return xp_alloc(pool); in xsk_buff_alloc()
82 return xp_can_alloc(pool, count); in xsk_buff_can_alloc()
95 return xp_raw_get_dma(pool, addr); in xsk_buff_raw_get_dma()
100 return xp_raw_get_data(pool, addr); in xsk_buff_raw_get_data()
107 if (!pool->dma_need_sync) in xsk_buff_dma_sync_for_cpu()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/frontends/nine/
H A Dthreadpool.c52 while (!pool->workqueue && !pool->shutdown) in threadpool_worker()
53 pthread_cond_wait(&pool->new_work, &pool->m); in threadpool_worker()
90 struct threadpool *pool = calloc(1, sizeof(*pool)); in _mesa_threadpool_create() local
92 if (!pool) in _mesa_threadpool_create()
103 pthread_create(&pool->pthread, NULL, threadpool_worker, pool); in _mesa_threadpool_create()
105 return pool; in _mesa_threadpool_create()
111 if (!pool) in _mesa_threadpool_destroy()
119 if (pool->wthread) { in _mesa_threadpool_destroy()
127 free(pool); in _mesa_threadpool_destroy()
147 if (!pool) { in _mesa_threadpool_queue_task()
[all …]
/dports/lang/clover/mesa-21.3.6/src/gallium/frontends/nine/
H A Dthreadpool.c52 while (!pool->workqueue && !pool->shutdown) in threadpool_worker()
53 pthread_cond_wait(&pool->new_work, &pool->m); in threadpool_worker()
90 struct threadpool *pool = calloc(1, sizeof(*pool)); in _mesa_threadpool_create() local
92 if (!pool) in _mesa_threadpool_create()
103 pthread_create(&pool->pthread, NULL, threadpool_worker, pool); in _mesa_threadpool_create()
105 return pool; in _mesa_threadpool_create()
111 if (!pool) in _mesa_threadpool_destroy()
119 if (pool->wthread) { in _mesa_threadpool_destroy()
127 free(pool); in _mesa_threadpool_destroy()
147 if (!pool) { in _mesa_threadpool_queue_task()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/frontends/nine/
H A Dthreadpool.c52 while (!pool->workqueue && !pool->shutdown) in threadpool_worker()
53 pthread_cond_wait(&pool->new_work, &pool->m); in threadpool_worker()
90 struct threadpool *pool = calloc(1, sizeof(*pool)); in _mesa_threadpool_create() local
92 if (!pool) in _mesa_threadpool_create()
103 pthread_create(&pool->pthread, NULL, threadpool_worker, pool); in _mesa_threadpool_create()
105 return pool; in _mesa_threadpool_create()
111 if (!pool) in _mesa_threadpool_destroy()
119 if (pool->wthread) { in _mesa_threadpool_destroy()
127 free(pool); in _mesa_threadpool_destroy()
147 if (!pool) { in _mesa_threadpool_queue_task()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/frontends/nine/
H A Dthreadpool.c52 while (!pool->workqueue && !pool->shutdown) in threadpool_worker()
53 pthread_cond_wait(&pool->new_work, &pool->m); in threadpool_worker()
90 struct threadpool *pool = calloc(1, sizeof(*pool)); in _mesa_threadpool_create() local
92 if (!pool) in _mesa_threadpool_create()
103 pthread_create(&pool->pthread, NULL, threadpool_worker, pool); in _mesa_threadpool_create()
105 return pool; in _mesa_threadpool_create()
111 if (!pool) in _mesa_threadpool_destroy()
119 if (pool->wthread) { in _mesa_threadpool_destroy()
127 free(pool); in _mesa_threadpool_destroy()
147 if (!pool) { in _mesa_threadpool_queue_task()
[all …]

1...<<11121314151617181920>>...2552