Home
last modified time | relevance | path

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

/openbmc/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c232 int evfd; in main() local
285 evfd = eventfd(0, 0); in main()
286 if (evfd < 0) { in main()
300 FD_SET(evfd, &rfds); in main()
302 ret = select(((ep0 > evfd) ? ep0 : evfd)+1, in main()
319 if (FD_ISSET(evfd, &rfds)) { in main()
321 ret = read(evfd, &ev_cnt, sizeof(ev_cnt)); in main()
347 iocb_in->u.c.resfd = evfd; in main()
361 iocb_out->u.c.resfd = evfd; in main()
/openbmc/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c244 int evfd; in main() local
293 evfd = eventfd(0, 0); in main()
294 if (evfd < 0) { in main()
305 FD_SET(evfd, &rfds); in main()
307 ret = select(((ep0 > evfd) ? ep0 : evfd)+1, in main()
337 iobuf[i].iocb[j]->u.c.resfd = evfd; in main()
349 if (!FD_ISSET(evfd, &rfds)) in main()
353 ret = read(evfd, &ev_cnt, sizeof(ev_cnt)); in main()
/openbmc/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c3164 int evfd[EPOLL60_EVENTS_NR]; member
3244 ASSERT_GE(ctx.evfd[i], 0); in TEST()
3247 e.data.fd = ctx.evfd[i]; in TEST()
3261 ARRAY_SIZE(ctx.evfd)) in TEST()
3296 close(ctx.evfd[i]); in TEST()
3302 int evfd; member
3311 write(ctx->evfd, &l, sizeof(l)); in epoll61_write_eventfd()
3329 write(ctx->evfd, &l, sizeof(l)); in epoll61_epoll_with_timeout()
3351 ctx.evfd = eventfd(0, EFD_NONBLOCK); in TEST()
3352 ASSERT_GE(ctx.evfd, 0); in TEST()
[all …]