Lines Matching refs:epfd
1927 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) { in TSAN_INTERCEPTOR() argument
1928 SCOPED_TSAN_INTERCEPTOR(epoll_ctl, epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1929 if (epfd >= 0) in TSAN_INTERCEPTOR()
1930 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1931 if (epfd >= 0 && fd >= 0) in TSAN_INTERCEPTOR()
1933 if (op == EPOLL_CTL_ADD && epfd >= 0) in TSAN_INTERCEPTOR()
1934 FdRelease(thr, pc, epfd); in TSAN_INTERCEPTOR()
1935 int res = REAL(epoll_ctl)(epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1944 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) { in TSAN_INTERCEPTOR() argument
1945 SCOPED_TSAN_INTERCEPTOR(epoll_wait, epfd, ev, cnt, timeout); in TSAN_INTERCEPTOR()
1946 if (epfd >= 0) in TSAN_INTERCEPTOR()
1947 FdAccess(thr, pc, epfd); in TSAN_INTERCEPTOR()
1948 int res = BLOCK_REAL(epoll_wait)(epfd, ev, cnt, timeout); in TSAN_INTERCEPTOR()
1949 if (res > 0 && epfd >= 0) in TSAN_INTERCEPTOR()
1950 FdAcquire(thr, pc, epfd); in TSAN_INTERCEPTOR()