Home
last modified time | relevance | path

Searched refs:bh (Results 1 – 25 of 61) sorted by relevance

123

/qemu/util/
A Dasync.c114 if (!bh) { in aio_bh_dequeue()
126 return bh; in aio_bh_dequeue()
132 QEMUBH *bh; in aio_bh_schedule_oneshot_full() local
146 QEMUBH *bh; in aio_bh_new_full() local
155 return bh; in aio_bh_new_full()
167 trace_reentrant_aio(bh->ctx, bh->name); in aio_bh_call()
172 bh->cb(bh->opaque); in aio_bh_call()
209 if (!bh) { in aio_bh_poll()
256 QEMUBH *bh; in aio_compute_bh_timeout() local
330 QEMUBH *bh; in aio_ctx_check() local
[all …]
A Dvhost-user-server.c481 QEMUBH *bh; in vhost_user_server_start() local
497 bh = qemu_bh_new(restart_listener_bh, server); in vhost_user_server_start()
502 .restart_listener_bh = bh, in vhost_user_server_start()
/qemu/tests/unit/
A Dtest-aio.c42 QEMUBH *bh; member
84 data->bh = NULL; in bh_delete_cb()
114 qemu_bh_schedule(data.bh); in test_bh_schedule()
122 qemu_bh_delete(data.bh); in test_bh_schedule()
130 qemu_bh_schedule(data.bh); in test_bh_schedule10()
146 qemu_bh_delete(data.bh); in test_bh_schedule10()
154 qemu_bh_schedule(data.bh); in test_bh_cancel()
157 qemu_bh_cancel(data.bh); in test_bh_cancel()
162 qemu_bh_delete(data.bh); in test_bh_cancel()
173 qemu_bh_delete(data.bh); in test_bh_delete()
[all …]
A Dptimer-test-stubs.c113 QEMUBH *bh = g_new(QEMUBH, 1); in qemu_bh_new_full() local
115 bh->cb = cb; in qemu_bh_new_full()
116 bh->opaque = opaque; in qemu_bh_new_full()
118 return bh; in qemu_bh_new_full()
121 void qemu_bh_delete(QEMUBH *bh) in qemu_bh_delete() argument
123 g_free(bh); in qemu_bh_delete()
/qemu/system/
A Ddma-helpers.c71 QEMUBH *bh; member
82 assert(!dbs->acb && dbs->bh); in reschedule_dma()
83 qemu_bh_delete(dbs->bh); in reschedule_dma()
84 dbs->bh = NULL; in reschedule_dma()
104 assert(!dbs->acb && !dbs->bh); in dma_complete()
171 dbs->bh = aio_bh_new(ctx, reschedule_dma, dbs); in dma_blk_cb()
192 assert(!(dbs->acb && dbs->bh)); in dma_aio_cancel()
199 if (dbs->bh) { in dma_aio_cancel()
201 qemu_bh_delete(dbs->bh); in dma_aio_cancel()
202 dbs->bh = NULL; in dma_aio_cancel()
[all …]
/qemu/hw/i2c/
A Dcore.c79 return !QLIST_EMPTY(&bus->current_devs) || bus->bh; in i2c_bus_busy()
186 void i2c_bus_master(I2CBus *bus, QEMUBH *bh) in i2c_bus_master() argument
189 node->bh = bh; in i2c_bus_master()
208 bus->bh = node->bh; in i2c_schedule_pending_master()
213 qemu_bh_schedule(bus->bh); in i2c_schedule_pending_master()
218 bus->bh = NULL; in i2c_bus_release()
332 if (!bus->bh) { in i2c_ack()
338 qemu_bh_schedule(bus->bh); in i2c_ack()
/qemu/backends/
A Drng-builtin.c19 QEMUBH *bh; member
41 replay_bh_schedule_event(s->bh); in rng_builtin_request_entropy()
48 s->bh = qemu_bh_new(rng_builtin_receive_entropy_bh, s); in rng_builtin_init()
55 qemu_bh_delete(s->bh); in rng_builtin_finalize()
/qemu/tests/tcg/ppc64/
A Dnon_signalling_xscv.c8 uint64_t th, tl, bh = B_HI, bl = B_LO; \
17 : "r" (bh), "r" (bl) \
20 "%016" PRIx64 "\n", bh, bl, th, tl); \
/qemu/replay/
A Dreplay-events.c124 void replay_bh_schedule_event(QEMUBH *bh) in replay_bh_schedule_event() argument
128 replay_add_event(REPLAY_ASYNC_EVENT_BH, bh, NULL, id); in replay_bh_schedule_event()
130 qemu_bh_schedule(bh); in replay_bh_schedule_event()
155 void replay_block_event(QEMUBH *bh, uint64_t id) in replay_block_event() argument
158 replay_add_event(REPLAY_ASYNC_EVENT_BLOCK, bh, NULL, id); in replay_block_event()
160 qemu_bh_schedule(bh); in replay_block_event()
/qemu/block/
A Dblkreplay.c21 QEMUBH *bh; member
58 qemu_bh_delete(req->bh); in blkreplay_bh_cb()
68 .bh = aio_bh_new(bdrv_get_aio_context(bs), blkreplay_bh_cb, req), in block_request_create()
70 replay_block_event(req->bh, reqid); in block_request_create()
/qemu/pc-bios/optionrom/
A Dkvmvapic.S200 cmp %bh, %bl
203 mov %bh, %bl
208 cmp %bh, %bl
294 cmp %bh, %bl
297 mov %bh, %bl
302 cmp %bh, %bl
/qemu/hw/misc/
A Di2c-echo.c32 QEMUBH *bh; member
93 i2c_bus_master(state->bus, state->bh); in i2c_echo_event()
137 state->bh = qemu_bh_new(i2c_echo_bh, state); in i2c_echo_realize()
/qemu/tests/tcg/hexagon/
A Dload_unpack.c63 BxW_LOAD_io(bh, RES, ADDR, OFF)
104 BxW_LOAD_ur(bh, RES, SHIFT, IDX)
143 BxW_LOAD_ap(bh, RES, PTR, ADDR)
190 BxW_LOAD_pr(bh, RES, PTR, INC)
238 BxW_LOAD_pbr(bh, RES, PTR)
278 BxW_LOAD_pi(bh, RES, PTR, INC)
327 BxW_LOAD_pci(bh, RES, PTR, START, LEN, INC)
377 BxW_LOAD_pcr(bh, RES, PTR, START, LEN, INC)
/qemu/include/hw/i2c/
A Di2c.h79 QEMUBH *bh; member
94 QEMUBH *bh; member
149 void i2c_bus_master(I2CBus *bus, QEMUBH *bh);
/qemu/stubs/
A Dreplay-tools.c28 void replay_bh_schedule_event(QEMUBH *bh) in replay_bh_schedule_event() argument
30 qemu_bh_schedule(bh); in replay_bh_schedule_event()
/qemu/include/block/
A Daio.h370 void aio_bh_call(QEMUBH *bh);
393 void qemu_bh_schedule(QEMUBH *bh);
406 void qemu_bh_cancel(QEMUBH *bh);
419 void qemu_bh_delete(QEMUBH *bh);
/qemu/hw/9pfs/
A Dxen-9p-backend.c47 QEMUBH *bh; member
250 qemu_bh_schedule(ring->bh); in xen_9pfs_push_and_notify()
334 qemu_bh_schedule(ring->bh); in xen_9pfs_evtchn_event()
365 if (xen_9pdev->rings[i].bh != NULL) { in xen_9pfs_disconnect()
366 qemu_bh_delete(xen_9pdev->rings[i].bh); in xen_9pfs_disconnect()
367 xen_9pdev->rings[i].bh = NULL; in xen_9pfs_disconnect()
454 xen_9pdev->rings[i].bh = qemu_bh_new_guarded(xen_9pfs_bh, in xen_9pfs_connect()
/qemu/include/sysemu/
A Dreplay.h127 void replay_bh_schedule_event(QEMUBH *bh);
136 void replay_block_event(QEMUBH *bh, uint64_t id);
/qemu/target/alpha/
A Dint_helper.c66 uint64_t al, ah, bl, bh, cl, ch; in helper_cmpbge() local
72 bh = (b >> 8) & mask; in helper_cmpbge()
77 ch = ((ah | test) - bh) & test; in helper_cmpbge()
/qemu/hw/block/dataplane/
A Dxen-block.c65 QEMUBH *bh; member
317 qemu_bh_schedule(dataplane->bh); in xen_block_complete_aio()
630 dataplane->bh = aio_bh_new_guarded(dataplane->ctx, xen_block_dataplane_bh, in xen_block_dataplane_create()
653 qemu_bh_delete(dataplane->bh); in xen_block_dataplane_destroy()
706 qemu_bh_cancel(dataplane->bh); in xen_block_dataplane_stop()
/qemu/hw/usb/
A Dxen-usb.c117 QEMUBH *bh; member
629 qemu_bh_schedule(usbif->bh); in usbback_hotplug_notify()
680 qemu_bh_schedule(usbif->bh); in usbback_bh()
705 qemu_bh_schedule(usbif->bh); in usbback_portid_drain()
1035 usbif->bh = qemu_bh_new_guarded(usbback_bh, usbif, in usbback_alloc()
1065 qemu_bh_delete(usbif->bh); in usbback_free()
1083 qemu_bh_schedule(usbif->bh); in usbback_event()
/qemu/hw/ufs/
A Dufs.h106 QEMUBH *bh; /* Bottom half to process requests in async */ member
117 QEMUBH *bh; member
/qemu/include/hw/ide/
A Dide-bus.h13 QEMUBH *bh; member
/qemu/ui/
A Dspice-display.c127 int bw, bh; in qemu_spice_create_one_update() local
141 bh = rect->bottom - rect->top; in qemu_spice_create_one_update()
142 update->bitmap = g_malloc(bw * bh * 4); in qemu_spice_create_one_update()
160 drawable->u.copy.src_area.bottom = bh; in qemu_spice_create_one_update()
167 image->descriptor.height = image->bitmap.y = bh; in qemu_spice_create_one_update()
172 dest = pixman_image_create_bits(PIXMAN_LE_x8r8g8b8, bw, bh, in qemu_spice_create_one_update()
176 rect->left, rect->top, bw, bh); in qemu_spice_create_one_update()
179 0, 0, bw, bh); in qemu_spice_create_one_update()
/qemu/target/s390x/tcg/
A Dtranslate_vx.c.inc263 TCGv_i64 bh = tcg_temp_new_i64();
268 read_vec_element_i64(bh, b, 0, ES_64);
270 fn(dl, dh, al, ah, bl, bh);
285 TCGv_i64 bh = tcg_temp_new_i64();
296 fn(dl, dh, al, ah, bl, bh, cl, ch);
305 TCGv_i64 bh = tcg_constant_i64(0);
307 tcg_gen_add2_i64(dl, dh, al, ah, bl, bh);
1467 TCGv_i64 bh = tcg_temp_new_i64();
1471 tcg_gen_extract_i64(bh, bl, 63, 1);
2356 tcg_gen_not_i64(th, bh);
[all …]

Completed in 32 milliseconds

123