Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1900 if (epfd >= 0) in TSAN_INTERCEPTOR()
1901 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1902 if (epfd >= 0 && fd >= 0) in TSAN_INTERCEPTOR()
1906 FdRelease(thr, pc, epfd); in TSAN_INTERCEPTOR()
1914 if (epfd >= 0) in TSAN_INTERCEPTOR()
1915 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1917 if (res > 0 && epfd >= 0) in TSAN_INTERCEPTOR()
1918 FdAcquire(thr, pc, epfd); in TSAN_INTERCEPTOR()
1925 if (epfd >= 0) in TSAN_INTERCEPTOR()
1926 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_fd.cpp303 void FdPollAdd(ThreadState *thr, uptr pc, int epfd, int fd) { in FdPollAdd() argument
304 DPrintf("#%d: FdPollAdd(%d, %d)\n", thr->tid, epfd, fd); in FdPollAdd()
305 if (bogusfd(epfd) || bogusfd(fd)) in FdPollAdd()
317 FdDesc *epd = fddesc(thr, pc, epfd); in FdPollAdd()
H A Dtsan_fd.h52 void FdPollAdd(ThreadState *thr, uptr pc, int epfd, int fd);
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_posix.cpp1900 if (epfd >= 0) in TSAN_INTERCEPTOR()
1901 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1902 if (epfd >= 0 && fd >= 0) in TSAN_INTERCEPTOR()
1905 FdRelease(thr, pc, epfd); in TSAN_INTERCEPTOR()
1912 if (epfd >= 0) in TSAN_INTERCEPTOR()
1913 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1915 if (res > 0 && epfd >= 0) in TSAN_INTERCEPTOR()
1916 FdAcquire(thr, pc, epfd); in TSAN_INTERCEPTOR()
1923 if (epfd >= 0) in TSAN_INTERCEPTOR()
1924 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
[all …]
/llvm-project-15.0.7/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1205 #define __sanitizer_syscall_pre_epoll_ctl(epfd, op, fd, event) \ argument
1206 __sanitizer_syscall_pre_impl_epoll_ctl((long)(epfd), (long)(op), (long)(fd), \
1208 #define __sanitizer_syscall_post_epoll_ctl(res, epfd, op, fd, event) \ argument
1209 __sanitizer_syscall_post_impl_epoll_ctl(res, (long)(epfd), (long)(op), \
1211 #define __sanitizer_syscall_pre_epoll_wait(epfd, events, maxevents, timeout) \ argument
2695 void __sanitizer_syscall_pre_impl_epoll_ctl(long epfd, long op, long fd,
2697 void __sanitizer_syscall_post_impl_epoll_ctl(long res, long epfd, long op,
2699 void __sanitizer_syscall_pre_impl_epoll_wait(long epfd, long events,
2703 void __sanitizer_syscall_pre_impl_epoll_pwait(long epfd, long events,
2709 void __sanitizer_syscall_pre_impl_epoll_pwait2(long epfd, long events,
[all …]
/llvm-project-15.0.7/compiler-rt/test/dfsan/
H A Dcustom.cpp1243 int epfd = epoll_create1(0); in test_epoll_wait() local
1244 assert(epfd != -1); in test_epoll_wait()
1248 ret = epoll_ctl(epfd, EPOLL_CTL_ADD, pipe_fds[0], &event); in test_epoll_wait()
1255 ret = epoll_wait(epfd, &event, /*maxevents=*/1, /*timeout=*/0); in test_epoll_wait()
1265 ret = epoll_wait(epfd, &event, /*maxevents=*/1, /*timeout=*/0); in test_epoll_wait()
1274 close(epfd); in test_epoll_wait()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp871 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
874 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR()
886 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, in INTERCEPTOR() argument
889 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2094 PRE_SYSCALL(epoll_ctl)(long epfd, long op, long fd, void *event) {}
2096 POST_SYSCALL(epoll_ctl)(long res, long epfd, long op, long fd, void *event) {
2104 (long epfd, void *events, long maxevents, long timeout) {}
2107 (long res, long epfd, void *events, long maxevents, long timeout) {
2115 (long epfd, void *events, long maxevents, long timeout,
2122 (long res, long epfd, void *events, long maxevents, long timeout,
2131 (long epfd, void *events, long maxevents,
2141 (long res, long epfd, void *events, long maxevents,
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp1415 int __dfsw_epoll_wait(int epfd, struct epoll_event *events, int maxevents, in __dfsw_epoll_wait() argument
1419 int ret = epoll_wait(epfd, events, maxevents, timeout); in __dfsw_epoll_wait()
1427 int __dfso_epoll_wait(int epfd, struct epoll_event *events, int maxevents, in __dfso_epoll_wait() argument
1434 return __dfsw_epoll_wait(epfd, events, maxevents, timeout, epfd_label, in __dfso_epoll_wait()