Lines Matching refs:call_fd
1278 if (dev->vq[index].call_fd != -1) { in vu_get_vring_base_exec()
1279 close(dev->vq[index].call_fd); in vu_get_vring_base_exec()
1280 dev->vq[index].call_fd = -1; in vu_get_vring_base_exec()
1607 if (dev->vq[index].call_fd != -1) { in vu_set_vring_call_exec()
1608 close(dev->vq[index].call_fd); in vu_set_vring_call_exec()
1609 dev->vq[index].call_fd = -1; in vu_set_vring_call_exec()
1612 dev->vq[index].call_fd = nofd ? -1 : vmsg->fds[0]; in vu_set_vring_call_exec()
1615 if (dev->vq[index].call_fd != -1 && eventfd_write(vmsg->fds[0], 1)) { in vu_set_vring_call_exec()
1619 DPRINT("Got call_fd: %d for vq: %d\n", dev->vq[index].call_fd, index); in vu_set_vring_call_exec()
2201 if (vq->call_fd != -1) { in vu_deinit()
2202 close(vq->call_fd); in vu_deinit()
2203 vq->call_fd = -1; in vu_deinit()
2300 .call_fd = -1, .kick_fd = -1, .err_fd = -1, in vu_init()
2624 if (vq->call_fd < 0 && in _vu_queue_notify()
2651 if (eventfd_write(vq->call_fd, 1) < 0) { in _vu_queue_notify()