Searched refs:revents (Results 1 - 7 of 7) sorted by relevance

/xnu-2422.115.4/bsd/sys/
H A Dpoll.h66 * copied to revents on return.
100 short revents; member in struct:pollfd
/xnu-2422.115.4/tools/tests/unit_tests/pipe_test_10807398_src/
H A Dparent.c38 pfd.revents = 0;
/xnu-2422.115.4/bsd/kern/
H A Dsys_generic.c1457 fds[i].revents = 0;
1502 fds[i].revents = POLLNVAL;
1505 fds[i].revents = 0;
1544 short prev_revents = fds->revents;
1547 /* convert the results back into revents */
1549 fds->revents |= POLLHUP;
1551 fds->revents |= POLLERR;
1555 if (fds->revents & POLLHUP)
1564 fds->revents |= (fds->events & mask);
1568 if (!(fds->revents
[all...]
H A Duipc_socket.c4277 int revents = 0; local
4285 revents |= events & (POLLIN | POLLRDNORM);
4289 revents |= events & (POLLOUT | POLLWRNORM);
4293 revents |= events & (POLLPRI | POLLRDBAND);
4295 if (revents == 0) {
4316 return (revents);
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dsocket_tests.c536 my_pollfd.revents = 0;
543 if ( (my_pollfd.revents & POLLIN) == 0 ) {
/xnu-2422.115.4/bsd/security/audit/
H A Daudit_pipe.c1050 int revents; local
1052 revents = 0;
1059 revents |= events & (POLLIN | POLLRDNORM);
1064 return (revents);
H A Daudit_session.c1955 int revents; local
1957 revents = 0;
1964 revents |= events & (POLLIN | POLLRDNORM);
1969 return (revents);

Completed in 54 milliseconds