Lines Matching refs:epfd

1898 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) {  in TSAN_INTERCEPTOR()  argument
1899 SCOPED_TSAN_INTERCEPTOR(epoll_ctl, epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1900 if (epfd >= 0) in TSAN_INTERCEPTOR()
1901 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1902 if (epfd >= 0 && fd >= 0) in TSAN_INTERCEPTOR()
1904 if (op == EPOLL_CTL_ADD && epfd >= 0) { in TSAN_INTERCEPTOR()
1905 FdPollAdd(thr, pc, epfd, fd); in TSAN_INTERCEPTOR()
1906 FdRelease(thr, pc, epfd); in TSAN_INTERCEPTOR()
1908 int res = REAL(epoll_ctl)(epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1912 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) { in TSAN_INTERCEPTOR() argument
1913 SCOPED_TSAN_INTERCEPTOR(epoll_wait, epfd, ev, cnt, timeout); in TSAN_INTERCEPTOR()
1914 if (epfd >= 0) in TSAN_INTERCEPTOR()
1915 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1916 int res = BLOCK_REAL(epoll_wait)(epfd, ev, cnt, timeout); in TSAN_INTERCEPTOR()
1917 if (res > 0 && epfd >= 0) in TSAN_INTERCEPTOR()
1918 FdAcquire(thr, pc, epfd); in TSAN_INTERCEPTOR()
1922 TSAN_INTERCEPTOR(int, epoll_pwait, int epfd, void *ev, int cnt, int timeout, in TSAN_INTERCEPTOR() argument
1924 SCOPED_TSAN_INTERCEPTOR(epoll_pwait, epfd, ev, cnt, timeout, sigmask); in TSAN_INTERCEPTOR()
1925 if (epfd >= 0) in TSAN_INTERCEPTOR()
1926 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1927 int res = BLOCK_REAL(epoll_pwait)(epfd, ev, cnt, timeout, sigmask); in TSAN_INTERCEPTOR()
1928 if (res > 0 && epfd >= 0) in TSAN_INTERCEPTOR()
1929 FdAcquire(thr, pc, epfd); in TSAN_INTERCEPTOR()