Home | History | Annotate | Download | only in rtl

Lines Matching refs:epfd

1901 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) {
1902 SCOPED_TSAN_INTERCEPTOR(epoll_ctl, epfd, op, fd, ev);
1903 if (epfd >= 0)
1904 FdAccess(thr, pc, epfd);
1905 if (epfd >= 0 && fd >= 0)
1907 if (op == EPOLL_CTL_ADD && epfd >= 0)
1908 FdRelease(thr, pc, epfd);
1909 int res = REAL(epoll_ctl)(epfd, op, fd, ev);
1918 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) {
1919 SCOPED_TSAN_INTERCEPTOR(epoll_wait, epfd, ev, cnt, timeout);
1920 if (epfd >= 0)
1921 FdAccess(thr, pc, epfd);
1922 int res = BLOCK_REAL(epoll_wait)(epfd, ev, cnt, timeout);
1923 if (res > 0 && epfd >= 0)
1924 FdAcquire(thr, pc, epfd);