Lines Matching refs:evfd
3164 int evfd[EPOLL60_EVENTS_NR]; member
3232 pthread_t waiters[ARRAY_SIZE(ctx.evfd)]; in TEST()
3242 for (i = 0; i < ARRAY_SIZE(ctx.evfd); i++) { in TEST()
3243 ctx.evfd[i] = eventfd(0, EFD_NONBLOCK); in TEST()
3244 ASSERT_GE(ctx.evfd[i], 0); in TEST()
3247 e.data.fd = ctx.evfd[i]; in TEST()
3248 ASSERT_EQ(epoll_ctl(ctx.epfd, EPOLL_CTL_ADD, ctx.evfd[i], &e), 0); in TEST()
3261 ARRAY_SIZE(ctx.evfd)) in TEST()
3265 __atomic_fetch_sub(&ctx.ready, ARRAY_SIZE(ctx.evfd), in TEST()
3269 while (count_waiters(&ctx) != ARRAY_SIZE(ctx.evfd)) in TEST()
3276 for (n = 0; n < ARRAY_SIZE(ctx.evfd); n++) { in TEST()
3277 ret = write(ctx.evfd[n], &v, sizeof(v)); 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()
3356 r = epoll_ctl(ctx.epfd, EPOLL_CTL_ADD, ctx.evfd, &ev); in TEST()
3392 close(ctx.evfd); in TEST()