Lines Matching refs:evfd
3149 int evfd[EPOLL60_EVENTS_NR]; member
3217 pthread_t waiters[ARRAY_SIZE(ctx.evfd)]; in TEST()
3227 for (i = 0; i < ARRAY_SIZE(ctx.evfd); i++) { in TEST()
3228 ctx.evfd[i] = eventfd(0, EFD_NONBLOCK); in TEST()
3229 ASSERT_GE(ctx.evfd[i], 0); in TEST()
3232 e.data.fd = ctx.evfd[i]; in TEST()
3233 ASSERT_EQ(epoll_ctl(ctx.epfd, EPOLL_CTL_ADD, ctx.evfd[i], &e), 0); in TEST()
3246 ARRAY_SIZE(ctx.evfd)) in TEST()
3250 __atomic_fetch_sub(&ctx.ready, ARRAY_SIZE(ctx.evfd), in TEST()
3254 while (count_waiters(&ctx) != ARRAY_SIZE(ctx.evfd)) in TEST()
3261 for (n = 0; n < ARRAY_SIZE(ctx.evfd); n++) { in TEST()
3262 ret = write(ctx.evfd[n], &v, sizeof(v)); in TEST()
3281 close(ctx.evfd[i]); in TEST()
3287 int evfd; member
3296 write(ctx->evfd, &l, sizeof(l)); in epoll61_write_eventfd()
3314 write(ctx->evfd, &l, sizeof(l)); in epoll61_epoll_with_timeout()
3336 ctx.evfd = eventfd(0, EFD_NONBLOCK); in TEST()
3337 ASSERT_GE(ctx.evfd, 0); in TEST()
3341 r = epoll_ctl(ctx.epfd, EPOLL_CTL_ADD, ctx.evfd, &ev); in TEST()
3377 close(ctx.evfd); in TEST()