Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c502 static int trigger_eventfd_overflow(int evfd, int *fd, io_context_t * ctx) in trigger_eventfd_overflow() argument
524 ret = set_counter(evfd, UINT64_MAX - 1); in trigger_eventfd_overflow()
531 io_set_eventfd(&iocb, evfd); in trigger_eventfd_overflow()
565 static void overflow_select_test(int evfd) in overflow_select_test() argument
573 ret = trigger_eventfd_overflow(evfd, &fd, &ctx); in overflow_select_test()
580 FD_SET(evfd, &readfds); in overflow_select_test()
581 ret = select(evfd + 1, &readfds, NULL, NULL, &timeout); in overflow_select_test()
586 if (FD_ISSET(evfd, &readfds)) in overflow_select_test()
594 static void overflow_poll_test(int evfd) in overflow_poll_test() argument
601 ret = trigger_eventfd_overflow(evfd, &fd, &ctx); in overflow_poll_test()
[all …]