Searched refs:viothrd (Results 1 – 3 of 3) sorted by relevance
67 int idx = viothrd->idx; in iothread_handler()77 if (viothrd->iothread_run) { in iothread_handler()109 vq->viothrd.base = base; in virtio_set_iothread()110 vq->viothrd.idx = idx; in virtio_set_iothread()111 vq->viothrd.iomvt.arg = &vq->viothrd; in virtio_set_iothread()113 vq->viothrd.iomvt.fd = vq->viothrd.kick_fd; in virtio_set_iothread()115 if (!iothread_add(vq->viothrd.ioctx, vq->viothrd.kick_fd, &vq->viothrd.iomvt)) in virtio_set_iothread()122 if (!iothread_del(vq->viothrd.ioctx, vq->viothrd.kick_fd)) { in virtio_set_iothread()124 if (vq->viothrd.kick_fd) { in virtio_set_iothread()125 close(vq->viothrd.kick_fd); in virtio_set_iothread()[all …]
667 blk->vqs[j].viothrd.ioctx = ioctx_base + j % (iot_opt.num); in virtio_blk_init()
451 struct virtio_iothread viothrd; member
Completed in 14 milliseconds