Home
last modified time | relevance | path

Searched refs:kick_fd (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c754 int sock = vq->kick_fd; in vu_kick_cb()
1282 if (dev->vq[index].kick_fd != -1) { in vu_get_vring_base_exec()
1284 close(dev->vq[index].kick_fd); in vu_get_vring_base_exec()
1285 dev->vq[index].kick_fd = -1; in vu_get_vring_base_exec()
1413 if (dev->vq[index].kick_fd != -1) { in vu_set_vring_kick_exec()
1415 close(dev->vq[index].kick_fd); in vu_set_vring_kick_exec()
1416 dev->vq[index].kick_fd = -1; in vu_set_vring_kick_exec()
1448 if (vq->kick_fd >= 0) { in vu_set_queue_handler()
2206 if (vq->kick_fd != -1) { in vu_deinit()
2208 close(vq->kick_fd); in vu_deinit()
[all …]
H A Dlibvhost-user.h371 int kick_fd; member
/openbmc/linux/arch/um/drivers/
H A Dvirtio_uml.c70 int kick_fd, call_fd; member
788 if (info->kick_fd < 0) { in vu_notify()
798 rc = os_write_file(info->kick_fd, &n, sizeof(n)); in vu_notify()
871 if (info->kick_fd >= 0) in vu_del_vq()
872 os_close_file(info->kick_fd); in vu_del_vq()
970 info->kick_fd = -1; in vu_setup_vq()
975 info->kick_fd = rc; in vu_setup_vq()
1006 if (info->kick_fd >= 0) in vu_setup_vq()
1007 os_close_file(info->kick_fd); in vu_setup_vq()
1050 if (info->kick_fd >= 0) { in vu_find_vqs()
[all …]