Lines Matching refs:nfds
3890 __sanitizer_nfds_t nfds) {
3891 for (unsigned i = 0; i < nfds; ++i) {
3898 __sanitizer_nfds_t nfds) {
3899 for (unsigned i = 0; i < nfds; ++i)
3904 INTERCEPTOR(int, poll, __sanitizer_pollfd *fds, __sanitizer_nfds_t nfds,
3907 COMMON_INTERCEPTOR_ENTER(ctx, poll, fds, nfds, timeout);
3908 if (fds && nfds) read_pollfd(ctx, fds, nfds);
3909 int res = COMMON_INTERCEPTOR_BLOCK_REAL(poll)(fds, nfds, timeout);
3910 if (fds && nfds) write_pollfd(ctx, fds, nfds);
3919 INTERCEPTOR(int, ppoll, __sanitizer_pollfd *fds, __sanitizer_nfds_t nfds,
3922 COMMON_INTERCEPTOR_ENTER(ctx, ppoll, fds, nfds, timeout_ts, sigmask);
3923 if (fds && nfds) read_pollfd(ctx, fds, nfds);
3928 COMMON_INTERCEPTOR_BLOCK_REAL(ppoll)(fds, nfds, timeout_ts, sigmask);
3929 if (fds && nfds) write_pollfd(ctx, fds, nfds);