Home
last modified time | relevance | path

Searched refs:EPOLL_CTL_ADD (Results 1 – 25 of 74) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl02.c45 {&inv, EPOLL_CTL_ADD, &fd[1], &events[1], EBADF, "epfd is an invalid fd"},
46 {&epfd, EPOLL_CTL_ADD, &unsupported_fd, &events[1], EPERM, "fd does not support epoll"},
47 {&epfd, EPOLL_CTL_ADD, &inv, &events[1], EBADF, "fd is an invalid fd"},
49 {&epfd, EPOLL_CTL_ADD, &epfd, &events[1], EINVAL, "fd is the same as epfd"},
50 {&epfd, EPOLL_CTL_ADD, &fd[1], NULL, EFAULT, "events is NULL"},
53 {&epfd, EPOLL_CTL_ADD, &fd[0], &events[0], EEXIST, "fd is already registered with EPOLL_CTL_ADD"}
69 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0])) in setup()
Depoll_ctl01.c132 opera_epoll_ctl(EPOLL_CTL_ADD, fd[0], &events[0]); in verify_epoll_ctl()
133 opera_epoll_ctl(EPOLL_CTL_ADD, fd[1], &events[2]); in verify_epoll_ctl()
134 check_epoll_ctl(EPOLL_CTL_ADD, 1); in verify_epoll_ctl()
Depoll_ctl04.c38 if (epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events)) in setup()
61 TST_EXP_FAIL(epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events), EINVAL, in verify_epoll_ctl()
Depoll_ctl05.c42 if (epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events)) in setup()
63 TST_EXP_FAIL(epoll_ctl(origin_epfd, EPOLL_CTL_ADD, epfd, &events), in verify_epoll_ctl()
/third_party/libuv/src/unix/
Depoll.c91 if (epoll_ctl(loop->backend_fd, EPOLL_CTL_ADD, fd, &e)) in uv__io_check_fd()
157 op = EPOLL_CTL_ADD; in uv__io_poll()
168 assert(op == EPOLL_CTL_ADD); in uv__io_poll()
Dos390-syscalls.h33 #define EPOLL_CTL_ADD 1 macro
/third_party/node/deps/uv/src/unix/
Depoll.c91 if (epoll_ctl(loop->backend_fd, EPOLL_CTL_ADD, fd, &e)) in uv__io_check_fd()
157 op = EPOLL_CTL_ADD; in uv__io_poll()
168 assert(op == EPOLL_CTL_ADD); in uv__io_poll()
Dos390-syscalls.h33 #define EPOLL_CTL_ADD 1 macro
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait01.c70 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) || in setup()
71 epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[1])) { in setup()
Depoll_wait02.c52 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) in setup()
Depoll_wait04.c51 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) in setup()
/third_party/alsa-utils/alsactl/
Dmonitor.c282 if (epoll_ctl(epfd, EPOLL_CTL_ADD, sigfd, &ev) < 0) in prepare_dispatcher()
287 if (epoll_ctl(epfd, EPOLL_CTL_ADD, infd, &ev) < 0) in prepare_dispatcher()
293 err = operate_dispatcher(epfd, EPOLL_CTL_ADD, &ev, entry); in prepare_dispatcher()
/third_party/musl/ndk_musl_include/sys/
Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/include/sys/
Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait04.c40 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
Depoll_pwait02.c44 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
Depoll_pwait03.c52 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
Depoll_pwait05.c48 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
Dlinux_epoll_wait_test.cpp32 ASSERT_EQ(epoll_ctl(epollFd, EPOLL_CTL_ADD, fds[0], &ev), 0);
Dlinux_epoll_ctl_test.cpp24 EXPECT_TRUE(epoll_ctl(epollFd, EPOLL_CTL_ADD, fds[0], &ev) != -1);
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Depoll_ctl.c57 int result = epoll_ctl(fd, EPOLL_CTL_ADD, fds[0], &ev); in epoll_ctl_0100()
/third_party/curl/docs/examples/
Dephiperfifo.c287 if(epoll_ctl(g->epfd, EPOLL_CTL_ADD, s, &ev)) in setsock()
444 epoll_ctl(g->epfd, EPOLL_CTL_ADD, sockfd, &epev); in init_fifo()
497 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()

123