Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 47) sorted by relevance

12

/qemu/util/
A Dthread-pool.c38 ThreadPool *pool; member
85 while (pool->cur_threads <= pool->max_threads) { in worker_thread()
95 pool->cur_threads > pool->min_threads) { in worker_thread()
221 ThreadPool *pool = elem->pool; in thread_pool_cancel() local
255 req->pool = pool; in thread_pool_submit_aio()
262 if (pool->idle_threads == 0 && pool->cur_threads < pool->max_threads) { in thread_pool_submit_aio()
331 memset(pool, 0, sizeof(*pool)); in thread_pool_init_one()
349 return pool; in thread_pool_new()
354 if (!pool) { in thread_pool_free()
364 pool->cur_threads -= pool->new_threads; in thread_pool_free()
[all …]
A Dtrace-events16 # thread-pool.c
17 thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
18 thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
A Dmeson.build86 util_ss.add(files('thread-pool.c', 'qemu-timer.c'))
/qemu/block/
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()
106 return pool; in aio_task_pool_new()
111 g_free(pool); in aio_task_pool_free()
[all …]
A Dblock-copy.c465 static coroutine_fn int block_copy_task_run(AioTaskPool *pool, in block_copy_task_run() argument
468 if (!pool) { in block_copy_task_run()
475 aio_task_pool_wait_slot(pool); in block_copy_task_run()
476 if (aio_task_pool_status(pool) < 0) { in block_copy_task_run()
483 aio_task_pool_start_task(pool, &task->task); in block_copy_task_run()
/qemu/hw/net/
A Dspapr_llan.c141 int pool; in spapr_vlan_get_rx_bd_from_pool() local
143 for (pool = 0; pool < RX_MAX_POOLS; pool++) { in spapr_vlan_get_rx_bd_from_pool()
161 bd = dev->rx_pool[pool]->bds[dev->rx_pool[pool]->count]; in spapr_vlan_get_rx_bd_from_pool()
162 dev->rx_pool[pool]->bds[dev->rx_pool[pool]->count] = 0; in spapr_vlan_get_rx_bd_from_pool()
544 int pool; in spapr_vlan_get_rx_pool_id() local
546 for (pool = 0; pool < RX_MAX_POOLS; pool++) { in spapr_vlan_get_rx_pool_id()
562 int pool; in spapr_vlan_add_rxbuf_to_pool() local
565 if (pool < 0) { in spapr_vlan_add_rxbuf_to_pool()
572 for (pool = RX_MAX_POOLS - 1; pool >= 0 ; pool--) { in spapr_vlan_add_rxbuf_to_pool()
589 if (pool < 0 || dev->rx_pool[pool]->count >= RX_POOL_MAX_BDS) { in spapr_vlan_add_rxbuf_to_pool()
[all …]
A Digb_core.c442 uint16_t pool = qn % IGB_NUM_VM_POOLS; in igb_tx_insert_vlan() local
447 vlan = core->mac[VMVIR0 + pool] & 0xffff; in igb_tx_insert_vlan()
595 uint16_t pool = qn % IGB_NUM_VM_POOLS; in igb_on_tx_done_update_stats() local
597 core->mac[PVFGOTC0 + (pool * 64)] += tot_len; in igb_on_tx_done_update_stats()
598 core->mac[PVFGPTC0 + (pool * 64)]++; in igb_on_tx_done_update_stats()
867 uint16_t pool = qn % IGB_NUM_VM_POOLS; in igb_tx_enabled() local
870 (!vmdq || core->mac[VFTE] & BIT(pool)) && in igb_tx_enabled()
1631 uint16_t pool = rxi->idx % IGB_NUM_VM_POOLS; in igb_update_rx_stats() local
1634 core->mac[PVFGPRC0 + (pool * 64)]++; in igb_update_rx_stats()
1636 core->mac[PVFMPRC0 + (pool * 64)]++; in igb_update_rx_stats()
[all …]
A Dtrace-events300 spapr_vlan_get_rx_bd_from_pool_found(int pool, int32_t count, uint32_t rx_bufs) "pool=%d count=%"PR…
306 spapr_vlan_add_rxbuf_to_pool_create(int pool, uint64_t len) "created RX pool %d for size %"PRIu64
307 spapr_vlan_add_rxbuf_to_pool(int pool, uint64_t len, int32_t count) "add buf using pool %d (size %"…
/qemu/include/block/
A Daio_task.h32 AioTaskPool *pool; member
41 int aio_task_pool_status(AioTaskPool *pool);
44 void coroutine_fn aio_task_pool_start_task(AioTaskPool *pool, AioTask *task);
46 void coroutine_fn aio_task_pool_wait_slot(AioTaskPool *pool);
47 void coroutine_fn aio_task_pool_wait_one(AioTaskPool *pool);
48 void coroutine_fn aio_task_pool_wait_all(AioTaskPool *pool);
A Dthread-pool.h30 void thread_pool_free(ThreadPool *pool);
41 void thread_pool_update_params(ThreadPool *pool, struct AioContext *ctx);
/qemu/net/
A Daf-xdp.c47 uint64_t *pool; member
110 s->pool[s->n_pool++] = *addr; in af_xdp_complete_tx()
168 desc->addr = s->pool[--s->n_pool]; in af_xdp_receive()
209 *xsk_ring_prod__fill_addr(&s->fq, idx++) = s->pool[--s->n_pool]; in af_xdp_fq_refill()
238 s->pool[s->n_pool++] = desc->addr; in af_xdp_send()
271 g_free(s->pool); in af_xdp_cleanup()
272 s->pool = NULL; in af_xdp_cleanup()
324 s->pool = g_new(uint64_t, n_descs); in af_xdp_umem_create()
327 s->pool[i] = i * XSK_UMEM__DEFAULT_FRAME_SIZE; in af_xdp_umem_create()
/qemu/disas/
A Dnanomips.c16125 pool, enumerator
16178 { pool , P_SYSCALL , 2 , 32,
16191 { pool , P_RI , 4 , 32,
16241 { pool , P_D_MT_VPE , 2 , 32,
16244 { pool , P_E_MT_VPE , 2 , 32,
16254 { pool , _P_MT_VPE , 2 , 32,
16289 { pool , P_DVP , 2 , 32,
16299 { pool , P_TRAP , 2 , 32,
16497 { pool , P_CMOVE , 2 , 32,
16557 { pool , P_MT_VPE , 8 , 32,
[all …]
/qemu/target/mips/tcg/
A Dnanomips_translate.c.inc70 /* POOL32A instruction pool */
80 /* P.GP.W instruction pool */
87 /* P48I instruction pool */
97 /* P.U12 instruction pool */
126 /* P.LUI instruction pool */
170 /* P.BAL instruction pool */
176 /* P.J instruction pool */
183 /* P.BR1 instruction pool */
191 /* P.BR2 instruction pool */
198 /* P.BRI instruction pool */
[all …]
/qemu/ui/
A Dvnc-palette.h44 VncPaletteEntry pool[VNC_PALETTE_MAX_SIZE]; member
A Dvnc-palette.c89 entry = &palette->pool[palette->size]; in palette_put()
A Dcocoa.m1643 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
1665 [pool release];
1965 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
1969 [pool release];
1992 NSAutoreleasePool *pool;
1997 pool = [[NSAutoreleasePool alloc] init];
2003 [pool release];
2088 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
2104 [pool release];
2124 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
[all …]
/qemu/tests/qemu-iotests/
A D231.out6 qemu-img: Could not open 'json:{'file.driver':'rbd','file.pool':'rbd','file.image':'bogus','file.co…
/qemu/tcg/
A Dtcg-pool.c.inc2 * TCG Backend Data: constant pool.
51 /* Insertion sort on the pool. */
/qemu/docs/
A Dimage-fuzzer.txt192 11. Action vector should be randomly generated from the pool of available
221 allows the fuzzer to generate the pool of all available areas can be fuzzed
233 elements of the action pool. Example: header, refcount table, etc.
234 Action pool is all available elements of an image structure that generated
/qemu/scripts/coverity-scan/
A DCOMPONENTS.md70 …age-daemon)/.*|(/include)?/hw/(block|ide|nvme)/.*|/qemu-(img|io).*|/util/(aio|async|thread-pool).*)
/qemu/docs/system/s390x/
A Dvfio-ap.rst247 1, 2, 3, 4, 5, and 7-255 belong to the default drivers' pool, and 0 and 6
248 belong to the vfio_ap device driver's pool.
314 default drivers pool: adapter 0-15, domain 1
315 alternate drivers pool: adapter 16-255, domains 0, 2-255
722 the corresponding APQNs must be removed from the default queue drivers pool
897 the pool of adapters and queues reserved for use by the default drivers.
903 to the default drivers pool of a queue that is still assigned to a mediated
/qemu/qapi/
A Dqom.json531 # @thread-pool-min: minimum number of threads reserved in the thread
532 # pool (default:0)
534 # @thread-pool-max: maximum number of threads the thread pool can
541 '*thread-pool-min': 'int',
542 '*thread-pool-max': 'int' } }
/qemu/hw/i2c/
A Daspeed_i2c.c1024 ret |= (uint64_t) s->pool[offset + i] << (8 * i); in aspeed_i2c_bus_pool_read()
1037 s->pool[offset + i] = (value >> (8 * i)) & 0xFF; in aspeed_i2c_bus_pool_write()
1057 VMSTATE_UINT8_ARRAY(pool, AspeedI2CBus, ASPEED_I2C_BUS_POOL_SIZE),
1519 return bus->pool; in aspeed_2500_i2c_bus_pool_base()
/qemu/include/hw/i2c/
A Daspeed_i2c.h260 uint8_t pool[ASPEED_I2C_BUS_POOL_SIZE]; member
/qemu/tests/unit/
A Dmeson.build69 'test-thread-pool': [testblock],

Completed in 106 milliseconds

12