Lines Matching defs:eventfd
36 * eventfd
44 * This implementation is API compatible with the Linux eventfd(2)
51 #include <sys/eventfd.h>
63 struct eventfd {
87 * Create an eventfd object.
89 static struct eventfd *
92 struct eventfd * const efd = kmem_zalloc(sizeof(*efd), KM_SLEEP);
111 * Destroy an eventfd object.
114 eventfd_destroy(struct eventfd * const efd)
133 * Block on an eventfd. Handles non-blocking, as well as
137 eventfd_wait(struct eventfd * const efd, int const fflag, bool const is_write)
181 * Wake LWPs block on an eventfd.
184 eventfd_wake(struct eventfd * const efd, bool const is_write)
204 * eventfd file operations
211 struct eventfd * const efd = fp->f_eventfd;
251 struct eventfd * const efd = fp->f_eventfd;
301 struct eventfd * const efd = fp->f_eventfd;
319 * FIONSPACE doesn't really work for eventfd, because the
334 struct eventfd * const efd = fp->f_eventfd;
338 * Note that Linux will return POLLERR if the eventfd count
343 * Also note that the Linux eventfd(2) man page does not
374 struct eventfd * const efd = fp->f_eventfd;
396 struct eventfd * const efd = fp->f_eventfd;
407 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
418 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
446 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
457 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
485 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
515 struct eventfd * const efd = fp->f_eventfd;
534 .fo_name = "eventfd",
547 * eventfd(2) system call