Home
last modified time | relevance | path

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

/qemu/backends/
H A Drng-random.c40 while (!QSIMPLEQ_EMPTY(&s->parent.requests)) { in entropy_available()
63 if (QSIMPLEQ_EMPTY(&s->parent.requests)) { in rng_random_request_entropy()
H A Drng-builtin.c26 while (!QSIMPLEQ_EMPTY(&s->parent.requests)) { in rng_builtin_receive_entropy_bh()
H A Drng-egd.c70 while (size > 0 && !QSIMPLEQ_EMPTY(&s->parent.requests)) { in rng_egd_chr_read()
H A Dcryptodev-lkcf.c432 if (QSIMPLEQ_EMPTY(&task->lkcf->responses)) { in cryptodev_lkcf_execute_task()
451 while (backend->running && QSIMPLEQ_EMPTY(&backend->requests)) { in cryptodev_lkcf_worker()
/qemu/block/
H A Dlinux-aio.c244 if (!QSIMPLEQ_EMPTY(&s->io_q.pending)) { in qemu_laio_process_completions_and_submit()
327 } while (ret == len && !QSIMPLEQ_EMPTY(&s->io_q.pending)); in ioq_submit()
365 if (!s->io_q.blocked && !QSIMPLEQ_EMPTY(&s->io_q.pending)) { in laio_deferred_fn()
H A Dqcow2-bitmap.c844 bm_list == NULL || QSIMPLEQ_EMPTY(bm_list) || in update_ext_header_and_dir_in_place()
898 if (bm_list != NULL && !QSIMPLEQ_EMPTY(bm_list)) { in update_ext_header_and_dir()
/qemu/include/qemu/
H A Dqueue.h355 if (!QSIMPLEQ_EMPTY((head2))) { \
363 if (!QSIMPLEQ_EMPTY((head2))) { \
371 (QSIMPLEQ_EMPTY((head)) ? \
381 #define QSIMPLEQ_EMPTY(head) ((head)->sqh_first == NULL) macro
/qemu/
H A Dcpu-common.c339 if (QSIMPLEQ_EMPTY(&cpu->work_list)) { in process_queued_cpu_work()
343 while (!QSIMPLEQ_EMPTY(&cpu->work_list)) { in process_queued_cpu_work()
H A Dqemu-img.c4881 if (QSIMPLEQ_EMPTY(&actions)) { in img_bitmap()
/qemu/hw/audio/
H A Dvirtio-snd.c839 g_assert(!QSIMPLEQ_EMPTY(&vsnd->invalid)); in empty_invalid_queue()
841 while (!QSIMPLEQ_EMPTY(&vsnd->invalid)) { in empty_invalid_queue()
1173 while (!QSIMPLEQ_EMPTY(&stream->queue)) { in virtio_snd_pcm_out_cb()
1267 while (!QSIMPLEQ_EMPTY(&stream->queue)) { in virtio_snd_pcm_in_cb()
1318 while (!QSIMPLEQ_EMPTY(&stream->queue)) { in virtio_snd_pcm_flush()
1371 g_assert(QSIMPLEQ_EMPTY(&vsnd->invalid)); in virtio_snd_reset()
/qemu/util/
H A Dqemu-coroutine-lock.c385 if (lock->owners == 0 || (lock->owners > 0 && QSIMPLEQ_EMPTY(&lock->tickets))) { in qemu_co_rwlock_rdlock()
457 if (lock->owners == 1 && QSIMPLEQ_EMPTY(&lock->tickets)) { in qemu_co_rwlock_upgrade()
H A Dqemu-coroutine.c254 while (!QSIMPLEQ_EMPTY(&pending)) { in qemu_aio_coroutine_enter()
H A Dasync.c393 assert(QSIMPLEQ_EMPTY(&ctx->bh_slice_list)); in aio_ctx_finalize()
/qemu/hw/cxl/
H A Dcxl-events.c76 return QSIMPLEQ_EMPTY(&log->events); in cxl_event_empty()
/qemu/hw/usb/
H A Dxen-usb.c628 if (!QSIMPLEQ_EMPTY(&usbif->hotplug_q)) { in usbback_hotplug_notify()
646 if (!QSIMPLEQ_EMPTY(&usbif->hotplug_q)) { in usbback_bh()
1059 while (!QSIMPLEQ_EMPTY(&usbif->hotplug_q)) { in usbback_free()
H A Dccid-card-emulated.c249 while (!QSIMPLEQ_EMPTY(&card->guest_apdu_list)) { in handle_apdu_thread()
/qemu/hw/i2c/
H A Dcore.c203 if (QSIMPLEQ_EMPTY(&bus->pending_masters)) { in i2c_schedule_pending_master()
/qemu/hw/vfio/
H A Dplatform.c311 if (!QSIMPLEQ_EMPTY(&vdev->pending_intp_queue)) { in vfio_platform_eoi()
/qemu/accel/kvm/
H A Dkvm-all.c1594 if (QSIMPLEQ_EMPTY(&kml->transaction_add) && in kvm_region_commit()
1595 QSIMPLEQ_EMPTY(&kml->transaction_del)) { in kvm_region_commit()
1633 while (!QSIMPLEQ_EMPTY(&kml->transaction_del)) { in kvm_region_commit()
1642 while (!QSIMPLEQ_EMPTY(&kml->transaction_add)) { in kvm_region_commit()
/qemu/migration/
H A Dblock-dirty-bitmap.c669 if (QSIMPLEQ_EMPTY(&s->dbms_list)) { in init_dirty_bitmap_migration()
/qemu/tcg/
H A Doptimize.c270 if (!QSIMPLEQ_EMPTY(&ti->mem_copy)) { in reset_ts()
424 if (!QSIMPLEQ_EMPTY(&si->mem_copy) in tcg_opt_gen_mov()
H A Dtcg.c3336 if (QSIMPLEQ_EMPTY(&label->branches)) { in reachable_code_pass()
6114 if (unlikely(!l->present) && !QSIMPLEQ_EMPTY(&l->branches)) { in tcg_gen_code()
/qemu/net/
H A Dnet.c1825 while (!QSIMPLEQ_EMPTY(&nd_queue)) { in netdev_init_modern()
/qemu/audio/
H A Daudio.c1800 if (!QSIMPLEQ_EMPTY(&audiodevs)) { in audio_get_default_audio_state()
/qemu/system/
H A Dvl.c693 while (!QSIMPLEQ_EMPTY(bdo_queue)) { in configure_blockdev()