Lines Matching defs:epfd
1996 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) {
1997 SCOPED_TSAN_INTERCEPTOR(epoll_ctl, epfd, op, fd, ev);
1998 if (epfd >= 0)
1999 FdAccess(thr, pc, epfd);
2000 if (epfd >= 0 && fd >= 0)
2002 if (op == EPOLL_CTL_ADD && epfd >= 0) {
2003 FdPollAdd(thr, pc, epfd, fd);
2004 FdRelease(thr, pc, epfd);
2006 int res = REAL(epoll_ctl)(epfd, op, fd, ev);
2010 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) {
2011 SCOPED_TSAN_INTERCEPTOR(epoll_wait, epfd, ev, cnt, timeout);
2012 if (epfd >= 0)
2013 FdAccess(thr, pc, epfd);
2014 int res = BLOCK_REAL(epoll_wait)(epfd, ev, cnt, timeout);
2015 if (res > 0 && epfd >= 0)
2016 FdAcquire(thr, pc, epfd);
2020 TSAN_INTERCEPTOR(int, epoll_pwait, int epfd, void *ev, int cnt, int timeout,
2022 SCOPED_TSAN_INTERCEPTOR(epoll_pwait, epfd, ev, cnt, timeout, sigmask);
2023 if (epfd >= 0)
2024 FdAccess(thr, pc, epfd);
2025 int res = BLOCK_REAL(epoll_pwait)(epfd, ev, cnt, timeout, sigmask);
2026 if (res > 0 && epfd >= 0)
2027 FdAcquire(thr, pc, epfd);
2031 TSAN_INTERCEPTOR(int, epoll_pwait2, int epfd, void *ev, int cnt, void *timeout,
2033 SCOPED_INTERCEPTOR_RAW(epoll_pwait2, epfd, ev, cnt, timeout, sigmask);
2043 REAL(epoll_pwait2)(epfd, ev, cnt, timeout, sigmask);
2044 if (epfd >= 0)
2045 FdAccess(thr, pc, epfd);
2046 int res = BLOCK_REAL(epoll_pwait2)(epfd, ev, cnt, timeout, sigmask);
2047 if (res > 0 && epfd >= 0)
2048 FdAcquire(thr, pc, epfd);