Home
last modified time | relevance | path

Searched refs:EPOLL_CTL_ADD (Results 1 – 25 of 53) 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()
Depoll_ctl03.c57 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &events)) in setup()
/third_party/grpc/src/core/lib/iomgr/
Dis_epollexclusive_available.cc70 if (epoll_ctl(fd, EPOLL_CTL_ADD, evfd, &ev) != 0) { in grpc_is_epollexclusive_available()
98 if (epoll_ctl(fd, EPOLL_CTL_ADD, evfd, &ev) != 0) { in grpc_is_epollexclusive_available()
/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/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/eudev/src/udev/
Dudevadm-monitor.c202 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_udev, &ep_udev) < 0) { in adm_monitor()
236 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_kernel, &ep_kernel) < 0) { in adm_monitor()
/third_party/musl/porting/liteos_m/kernel/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/liteos_m_iccarm/kernel/include/sys/
Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/ndk_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/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait02.c44 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup()
Depoll_pwait04.c40 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/boost/boost/asio/detail/impl/
Depoll_reactor.ipp53 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, interrupter_.read_descriptor(), &ev);
61 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, timer_fd_, &ev);
115 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, interrupter_.read_descriptor(), &ev);
123 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, timer_fd_, &ev);
135 int result = epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, state->descriptor_, &ev);
174 int result = epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, descriptor, &ev);
217 int result = epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, descriptor, &ev);
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Depoll_reactor.ipp53 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, interrupter_.read_descriptor(), &ev);
61 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, timer_fd_, &ev);
115 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, interrupter_.read_descriptor(), &ev);
123 epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, timer_fd_, &ev);
135 int result = epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, state->descriptor_, &ev);
174 int result = epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, descriptor, &ev);
217 int result = epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, descriptor, &ev);
/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()

123