Home
last modified time | relevance | path

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

/external/dbus/dbus/
Ddbus-socket-set-epoll.c44 int epfd; member
63 if (self->epfd != -1) in socket_set_epoll_free()
64 close (self->epfd); in socket_set_epoll_free()
81 self->epfd = epoll_create1 (EPOLL_CLOEXEC); in _dbus_socket_set_epoll_new()
83 if (self->epfd == -1) in _dbus_socket_set_epoll_new()
90 self->epfd = epoll_create (42); in _dbus_socket_set_epoll_new()
92 flags = fcntl (self->epfd, F_GETFD, 0); in _dbus_socket_set_epoll_new()
95 fcntl (self->epfd, F_SETFD, flags | FD_CLOEXEC); in _dbus_socket_set_epoll_new()
98 if (self->epfd == -1) in _dbus_socket_set_epoll_new()
160 if (epoll_ctl (self->epfd, EPOLL_CTL_ADD, fd, &event) == 0) in socket_set_epoll_add()
[all …]
/external/libevent/
Depoll.c59 int epfd; member
110 int epfd; in epoll_init() local
115 if ((epfd = epoll_create(32000)) == -1) { in epoll_init()
121 evutil_make_socket_closeonexec(epfd); in epoll_init()
124 close(epfd); in epoll_init()
128 epollop->epfd = epfd; in epoll_init()
134 close(epfd); in epoll_init()
265 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == -1) { in epoll_apply_one_change()
271 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, ch->fd, &epev) == -1) { in epoll_apply_one_change()
288 if (epoll_ctl(epollop->epfd, EPOLL_CTL_MOD, ch->fd, &epev) == -1) { in epoll_apply_one_change()
[all …]
Depoll_sub.c51 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl() argument
54 return (syscall(__NR_epoll_ctl, epfd, op, fd, event)); in epoll_ctl()
58 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument
61 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait()
63 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
Dconfigure.ac503 int epfd;
505 epfd = epoll_create(256);
506 exit (epfd == -1 ? 1 : 0);
Dconfigure13642 int epfd;
13644 epfd = epoll_create(256);
13645 exit (epfd == -1 ? 1 : 0);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc1901 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) { in TSAN_INTERCEPTOR() argument
1902 SCOPED_TSAN_INTERCEPTOR(epoll_ctl, epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1903 if (epfd >= 0) in TSAN_INTERCEPTOR()
1904 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1905 if (epfd >= 0 && fd >= 0) in TSAN_INTERCEPTOR()
1907 if (op == EPOLL_CTL_ADD && epfd >= 0) in TSAN_INTERCEPTOR()
1908 FdRelease(thr, pc, epfd); in TSAN_INTERCEPTOR()
1909 int res = REAL(epoll_ctl)(epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1918 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) { in TSAN_INTERCEPTOR() argument
1919 SCOPED_TSAN_INTERCEPTOR(epoll_wait, epfd, ev, cnt, timeout); in TSAN_INTERCEPTOR()
[all …]
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/
Dlinux_syscall_hooks.h1207 #define __sanitizer_syscall_pre_epoll_ctl(epfd, op, fd, event) \ argument
1208 __sanitizer_syscall_pre_impl_epoll_ctl((long)(epfd), (long)(op), (long)(fd), \
1210 #define __sanitizer_syscall_post_epoll_ctl(res, epfd, op, fd, event) \ argument
1211 __sanitizer_syscall_post_impl_epoll_ctl(res, (long)(epfd), (long)(op), \
1213 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \ argument
1214 __sanitizer_syscall_pre_impl_epoll_wait((long)(epfd), (long)(events), \
1216 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \ argument
1218 __sanitizer_syscall_post_impl_epoll_wait(res, (long)(epfd), (long)(events), \
1220 #define __sanitizer_syscall_pre_epoll_pwait(epfd, events, maxevents, timeout, \ argument
1223 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \
[all …]
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1207 #define __sanitizer_syscall_pre_epoll_ctl(epfd, op, fd, event) \ argument
1208 __sanitizer_syscall_pre_impl_epoll_ctl((long)(epfd), (long)(op), (long)(fd), \
1210 #define __sanitizer_syscall_post_epoll_ctl(res, epfd, op, fd, event) \ argument
1211 __sanitizer_syscall_post_impl_epoll_ctl(res, (long)(epfd), (long)(op), \
1213 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \ argument
1214 __sanitizer_syscall_pre_impl_epoll_wait((long)(epfd), (long)(events), \
1216 #define __sanitizer_syscall_post_epoll_wait(res, epfd, events, maxevents, \ argument
1218 __sanitizer_syscall_post_impl_epoll_wait(res, (long)(epfd), (long)(events), \
1220 #define __sanitizer_syscall_pre_epoll_pwait(epfd, events, maxevents, timeout, \ argument
1223 (long)(epfd), (long)(events), (long)(maxevents), (long)(timeout), \
[all …]
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc927 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
930 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR()
942 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
945 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc1940 PRE_SYSCALL(epoll_ctl)(long epfd, long op, long fd, void *event) {}
1942 POST_SYSCALL(epoll_ctl)(long res, long epfd, long op, long fd, void *event) {
1948 PRE_SYSCALL(epoll_wait)(long epfd, void *events, long maxevents, long timeout) {
1951 POST_SYSCALL(epoll_wait)(long res, long epfd, void *events, long maxevents,
1958 PRE_SYSCALL(epoll_pwait)(long epfd, void *events, long maxevents, long timeout,
1963 POST_SYSCALL(epoll_pwait)(long res, long epfd, void *events, long maxevents,
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c1381 int, epfd, int, op, int, fd, struct vki_epoll_event *, event); in PRE()
1391 int, epfd, struct vki_epoll_event *, events, in PRE()
1408 int, epfd, struct vki_epoll_event *, events, in PRE()
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp3539 Syscall param epoll_ctl(epfd) contains uninitialised byte(s)
3563 Syscall param epoll_wait(epfd) contains uninitialised byte(s)