/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.h | 237 typedef struct VuDev VuDev; typedef 400 struct VuDev { struct 478 bool vu_init(VuDev *dev, 494 void vu_deinit(VuDev *dev); 513 bool vu_dispatch(VuDev *dev); 532 VuVirtq *vu_get_queue(VuDev *dev, int qidx); 635 bool vu_queue_empty(VuDev *dev, VuVirtq *vq); 644 void vu_queue_notify(VuDev *dev, VuVirtq *vq); 646 void vu_config_change_msg(VuDev *dev); 707 void vu_queue_fill(VuDev *dev, VuVirtq *vq, [all …]
|
H A D | libvhost-user.c | 114 bool vu_has_feature(VuDev *dev, in vu_has_feature() 274 vu_remove_all_mem_regs(VuDev *dev) in vu_remove_all_mem_regs() 287 map_ring(VuDev *dev, VuVirtq *vq) in map_ring() 705 vu_log_kick(VuDev *dev) in vu_log_kick() 837 vu_close_log(VuDev *dev) in vu_close_log() 861 generate_faults(VuDev *dev) { in generate_faults() 2140 vu_dispatch(VuDev *dev) in vu_dispatch() 2175 vu_deinit(VuDev *dev) in vu_deinit() 2236 vu_init(VuDev *dev, in vu_init() 2292 vu_get_queue(VuDev *dev, int qidx) in vu_get_queue() [all …]
|
H A D | link-test.c | 10 panic(VuDev *dev, const char *err) in panic() 16 set_watch(VuDev *dev, int fd, int condition, in set_watch() 23 remove_watch(VuDev *dev, int fd) in remove_watch() 38 VuDev dev = { 0, }; in main()
|
H A D | libvhost-user-glib.c | 35 VuDev *dev; 81 VuDev *dev = &gdev->parent; in vug_source_new() 105 set_watch(VuDev *vu_dev, int fd, int vu_evt, vu_watch_cb cb, void *pvt) in set_watch() 120 remove_watch(VuDev *vu_dev, int fd) in remove_watch() 132 static void vug_watch(VuDev *dev, int condition, void *data) in vug_watch()
|
H A D | libvhost-user-glib.h | 22 VuDev parent;
|
/qemu/tests/ |
H A D | vhost-user-bridge.c | 66 VuDev vudev; 173 vubr_handle_tx(VuDev *dev, int qidx) in vubr_handle_tx() 274 VuDev *dev = &vubr->vudev; in vubr_backend_recv_cb() 383 VuDev *dev; 397 vubr_set_watch(VuDev *dev, int fd, int condition, in vubr_set_watch() 411 vubr_remove_watch(VuDev *dev, int fd) in vubr_remove_watch() 419 vubr_send_rarp_exec(VuDev *dev, VhostUserMsg *vmsg) in vubr_send_rarp_exec() 441 vubr_set_features(VuDev *dev, uint64_t features) in vubr_set_features() 454 vubr_get_features(VuDev *dev) in vubr_get_features() 479 vubr_panic(VuDev *dev, const char *msg) in vubr_panic() [all …]
|
/qemu/block/export/ |
H A D | vhost-user-blk-server.c | 45 VuDev *vu_dev = &req->server->vu_dev; in vu_blk_req_complete() 82 static void vu_blk_process_vq(VuDev *vu_dev, int idx) in vu_blk_process_vq() 106 static void vu_blk_queue_set_started(VuDev *vu_dev, int idx, bool started) in vu_blk_queue_set_started() 116 static uint64_t vu_blk_get_features(VuDev *dev) in vu_blk_get_features() 142 static uint64_t vu_blk_get_protocol_features(VuDev *dev) in vu_blk_get_protocol_features() 148 vu_blk_get_config(VuDev *vu_dev, uint8_t *config, uint32_t len) in vu_blk_get_config() 162 vu_blk_set_config(VuDev *vu_dev, const uint8_t *data, in vu_blk_set_config() 193 static int vu_blk_process_msg(VuDev *dev, VhostUserMsg *vmsg, int *do_reply) in vu_blk_process_msg()
|
/qemu/contrib/vhost-user-blk/ |
H A D | vhost-user-blk.c | 83 static void vub_panic_cb(VuDev *vu_dev, const char *buf) in vub_panic_cb() 102 VuDev *vu_dev = &gdev->parent; in vub_req_complete() 228 VuDev *vu_dev = &gdev->parent; in vub_virtio_process_req() 330 static void vub_process_vq(VuDev *vu_dev, int idx) in vub_process_vq() 352 static void vub_queue_set_started(VuDev *vu_dev, int idx, bool started) in vub_queue_set_started() 363 vub_get_features(VuDev *dev) in vub_get_features() 391 vub_get_protocol_features(VuDev *dev) in vub_get_protocol_features() 398 vub_get_config(VuDev *vu_dev, uint8_t *config, uint32_t len) in vub_get_config() 415 vub_set_config(VuDev *vu_dev, const uint8_t *data, in vub_set_config()
|
/qemu/contrib/vhost-user-input/ |
H A D | main.c | 41 VuDev *dev = &vi->dev.parent; in vi_input_send() 87 vi_evdev_watch(VuDev *dev, int condition, void *data) in vi_evdev_watch() 137 static void vi_handle_sts(VuDev *dev, int qidx) in vi_handle_sts() 165 vi_panic(VuDev *dev, const char *msg) in vi_panic() 172 vi_queue_set_started(VuDev *dev, int qidx, bool started) in vi_queue_set_started() 213 static int vi_get_config(VuDev *dev, uint8_t *config, uint32_t len) in vi_get_config() 230 static int vi_set_config(VuDev *dev, const uint8_t *data, in vi_set_config()
|
/qemu/util/ |
H A D | vhost-user-server.c | 73 static void panic_cb(VuDev *vu_dev, const char *buf) in panic_cb() 99 vu_message_read(VuDev *vu_dev, int conn_fd, VhostUserMsg *vmsg) in vu_message_read() 201 VuDev *vu_dev = &server->vu_dev; in vu_client_trip() 251 VuDev *vu_dev = vu_fd_watch->vu_dev; in kick_handler() 276 set_watch(VuDev *vu_dev, int fd, int vu_evt, in set_watch() 303 static void remove_watch(VuDev *vu_dev, int fd) in remove_watch()
|
/qemu/include/qemu/ |
H A D | vhost-user-server.h | 23 VuDev *vu_dev; 49 VuDev vu_dev;
|
/qemu/contrib/vhost-user-gpu/ |
H A D | vhost-user-gpu.c | 51 static void vg_handle_ctrl(VuDev *dev, int qidx); 902 vg_handle_ctrl(VuDev *dev, int qidx) in vg_handle_ctrl() 1014 vg_handle_cursor(VuDev *dev, int qidx) in vg_handle_cursor() 1045 vg_panic(VuDev *dev, const char *msg) in vg_panic() 1052 vg_queue_set_started(VuDev *dev, int qidx, bool started) in vg_queue_set_started() 1123 vg_process_msg(VuDev *dev, VhostUserMsg *msg, int *do_reply) in vg_process_msg() 1143 vg_get_features(VuDev *dev) in vg_get_features() 1156 vg_set_features(VuDev *dev, uint64_t features) in vg_set_features() 1174 vg_get_config(VuDev *dev, uint8_t *config, uint32_t len) in vg_get_config() 1192 vg_set_config(VuDev *dev, const uint8_t *data, in vg_set_config()
|
H A D | virgl.c | 618 vg_virgl_poll(VuDev *dev, int condition, void *data) in vg_virgl_poll()
|
/qemu/contrib/vhost-user-scsi/ |
H A D | vhost-user-scsi.c | 214 static void vus_panic_cb(VuDev *vu_dev, const char *buf) in vus_panic_cb() 230 static void vus_proc_req(VuDev *vu_dev, int idx) in vus_proc_req() 294 static void vus_queue_set_started(VuDev *vu_dev, int idx, bool started) in vus_queue_set_started()
|