HomeSort by relevance Sort by last modified time
    Searched refs:epfd (Results 76 - 100 of 160) sorted by null

1 2 34 5 6 7

  /external/strace/tests-m32/
epoll_ctl.c 12 invoke_syscall(unsigned long epfd, unsigned long op, unsigned long fd, void *ev)
14 return syscall(__NR_epoll_ctl, epfd, F8ILL_KULONG_MASK | op,
  /external/strace/tests-mx32/
epoll_ctl.c 12 invoke_syscall(unsigned long epfd, unsigned long op, unsigned long fd, void *ev)
14 return syscall(__NR_epoll_ctl, epfd, F8ILL_KULONG_MASK | op,
  /libcore/ojluni/src/main/java/sun/nio/ch/
EPoll.java 110 static native int epollCtl(int epfd, int opcode, int fd, int events);
112 static native int epollWait(int epfd, long pollAddress, int numfds)
EPollPort.java 49 private final int epfd; field in class:EPollPort
89 this.epfd = epollCreate();
96 epollCtl(epfd, EPOLL_CTL_ADD, sv[0], Net.POLLIN);
98 close0(epfd);
129 close0(epfd);
174 int err = epollCtl(epfd, EPOLL_CTL_MOD, fd, (events | EPOLLONESHOT));
176 err = epollCtl(epfd, EPOLL_CTL_ADD, fd, (events | EPOLLONESHOT));
194 int n = epollWait(epfd, address, MAX_EPOLL_EVENTS);
  /external/linux-kselftest/tools/testing/selftests/net/
reuseport_bpf_cpu.c 150 void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto)
156 i = epoll_wait(epfd, &ev, 1, -1);
186 int epfd, cpu; local
191 epfd = epoll_create(1);
192 if (epfd < 0)
197 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev))
204 receive_on_cpu(rcv_fd, len, epfd, cpu, proto);
210 receive_on_cpu(rcv_fd, len, epfd, cpu, proto);
216 receive_on_cpu(rcv_fd, len, epfd, cpu, proto);
222 receive_on_cpu(rcv_fd, len, epfd, cpu, proto)
    [all...]
reuseport_bpf_numa.c 158 void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto)
164 i = epoll_wait(epfd, &ev, 1, -1);
194 int epfd, node; local
199 epfd = epoll_create(1);
200 if (epfd < 0)
205 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev))
212 receive_on_node(rcv_fd, len, epfd, node, proto);
218 receive_on_node(rcv_fd, len, epfd, node, proto);
221 close(epfd);
reuseport_dualstack.c 101 static int receive_once(int epfd, int proto)
107 i = epoll_wait(epfd, &ev, 1, -1);
130 int epfd, i, test_fd; local
134 epfd = epoll_create(1);
135 if (epfd < 0)
141 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev))
147 test_fd = receive_once(epfd, proto);
154 close(epfd);
reuseport_bpf.c 215 int epfd, conn, i, sport, expected; local
218 epfd = epoll_create(1);
219 if (epfd < 0)
224 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev))
238 i = epoll_wait(epfd, &ev, 1, -1);
  /external/ltp/testcases/kernel/syscalls/epoll_wait/
epoll_wait01.c 37 static int write_size, epfd, fds[2], fds2[2]; variable
84 epfd = epoll_create(3);
85 if (epfd == -1) {
94 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) ||
95 epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[1]) ||
96 epoll_ctl(epfd, EPOLL_CTL_ADD, fds2[0], &epevs[2])) {
131 TEST(epoll_wait(epfd, epevs, 3, -1));
168 TEST(epoll_wait(epfd, epevs, 3, -1));
206 TEST(epoll_wait(epfd, epevs, 3, -1));
264 if (epfd > 0 && close(epfd)
    [all...]
  /external/libevent/
epoll.c 59 int epfd; member in struct:epollop
110 int epfd; local
115 if ((epfd = epoll_create(32000)) == -1) {
121 evutil_make_socket_closeonexec(epfd);
124 close(epfd);
128 epollop->epfd = epfd;
134 close(epfd);
265 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == -1) {
271 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, ch->fd, &epev) == -1)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
selectmodule.c 707 SOCKET epfd; /* epoll control file descriptor */ member in struct:__anon5307
724 if (self->epfd >= 0) {
725 int epfd = self->epfd; local
726 self->epfd = -1;
728 if (close(epfd) < 0)
757 self->epfd = epoll_create(sizehint);
761 self->epfd = fd;
763 if (self->epfd < 0) {
813 if (self->epfd < 0)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
selectmodule.c 741 SOCKET epfd; /* epoll control file descriptor */ member in struct:__anon5608
758 if (self->epfd >= 0) {
759 int epfd = self->epfd; local
760 self->epfd = -1;
762 if (close(epfd) < 0)
791 self->epfd = epoll_create(sizehint);
795 self->epfd = fd;
797 if (self->epfd < 0) {
847 if (self->epfd < 0)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
selectmodule.c 707 SOCKET epfd; /* epoll control file descriptor */ member in struct:__anon5878
724 if (self->epfd >= 0) {
725 int epfd = self->epfd; local
726 self->epfd = -1;
728 if (close(epfd) < 0)
757 self->epfd = epoll_create(sizehint);
761 self->epfd = fd;
763 if (self->epfd < 0) {
813 if (self->epfd < 0)
    [all...]
  /external/python/cpython2/Modules/
selectmodule.c 730 SOCKET epfd; /* epoll control file descriptor */ member in struct:__anon30383
747 if (self->epfd >= 0) {
748 int epfd = self->epfd; local
749 self->epfd = -1;
751 if (close(epfd) < 0)
780 self->epfd = epoll_create(sizehint);
784 self->epfd = fd;
786 if (self->epfd < 0) {
836 if (self->epfd < 0
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_interceptors.cc     [all...]
  /external/compiler-rt/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-2812033/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3362437/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/lib64/clang/5.0/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/compiler-rt/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/lib64/clang/5.0/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/compiler-rt/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/lib64/clang/5.0/include/sanitizer/
linux_syscall_hooks.h     [all...]

Completed in 1105 milliseconds

1 2 34 5 6 7