Lines Matching refs:eventfd
21 #include <sys/eventfd.h>
162 int eventfd;
680 /* Nothing new? Wait for eventfd to tell us they refilled. */
681 if (read(vq->eventfd, &event, sizeof(event)) != sizeof(event))
1025 /* Create a zero-initialized eventfd. */
1026 vq->eventfd = eventfd(0, 0);
1027 if (vq->eventfd < 0)
1028 err(1, "Creating eventfd");
1029 args[2] = vq->eventfd;
1032 * Attach an eventfd to this virtqueue: it will go off when the Guest
1036 err(1, "Attaching eventfd");
1047 close(vq->eventfd);