Searched refs:POLLIN (Results 1 – 10 of 10) sorted by relevance
| /xnu-8019.80.24/tests/ |
| H A D | poll.c | 57 { .events = POLLIN }, 58 { .events = POLLIN }, 59 { .events = POLLIN }, 79 T_QUIET; T_EXPECT_TRUE(pfd[0].revents & POLLIN, "file should be readable"); 90 T_QUIET; T_EXPECT_TRUE(pfd[1].revents & POLLIN, "file should be readable"); 97 T_QUIET; T_EXPECT_TRUE(pfd[0].revents & POLLIN, "file should be readable"); 98 T_QUIET; T_EXPECT_FALSE(pfd[1].revents & POLLIN, 107 T_QUIET; T_EXPECT_TRUE(pfd[0].revents & POLLIN, "file should be readable"); 110 T_QUIET; T_EXPECT_FALSE(pfd[2].revents & POLLIN, "pipe should not be readable"); 129 T_QUIET; T_EXPECT_FALSE(pfd[1].revents & POLLIN, "pipe should not be readable");
|
| H A D | poll_select_kevent_paired_fds.c | 563 struct pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in read_from_fd()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | poll.h | 68 #define POLLIN 0x0001 /* any readable data available */ macro 93 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
|
| /xnu-8019.80.24/bsd/skywalk/channel/ |
| H A D | channel.c | 582 return filt_chrw(kn, hint, POLLIN); in filt_chread() 664 return filt_chtouch(kn, kev, POLLIN); in filt_chrtouch() 753 return filt_chprocess(kn, kev, POLLIN); in filt_chrprocess() 815 events = (ev == EVFILT_WRITE) ? POLLOUT : POLLIN; in filt_chrwattach() 875 revents = ch_event(ch, POLLIN, NULL, knote_get_kq(kn)->kq_p, in che_process_channel_event() 884 } else if ((revents & POLLIN) != 0) { in che_process_channel_event() 1219 want_rx = (events & (POLLIN | POLLRDNORM)); in ch_event() 1456 revents |= (events & POLLIN); in ch_event()
|
| H A D | channel_syscalls.c | 74 events = POLLIN; in chop_select()
|
| /xnu-8019.80.24/bsd/security/audit/ |
| H A D | audit_pipe.c | 1067 if (events & (POLLIN | POLLRDNORM)) { in audit_pipe_poll() 1070 revents |= events & (POLLIN | POLLRDNORM); in audit_pipe_poll()
|
| H A D | audit_session.c | 1996 if (events & (POLLIN | POLLRDNORM)) { in audit_sdev_poll() 1999 revents |= events & (POLLIN | POLLRDNORM); in audit_sdev_poll()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | sys_generic.c | 1976 if (events & (POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND | POLLHUP)) { in poll_nocancel() 2092 mask = (POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND); in poll_callback() 2094 mask = (POLLIN | POLLRDNORM); in poll_callback()
|
| H A D | uipc_socket.c | 6554 if (events & (POLLIN | POLLRDNORM)) { in sopoll() 6556 revents |= events & (POLLIN | POLLRDNORM); in sopoll() 6573 if (events & (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)) { in sopoll()
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | necp_client.c | 779 u_int want_rx = events & (POLLIN | POLLRDNORM); in necp_fd_poll() 938 events = POLLIN; in necpop_select() 982 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necp_fd_knrprocess() 983 res = ((revents & POLLIN) != 0); in necp_fd_knrprocess() 1001 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necp_fd_knrtouch() 1004 return (revents & POLLIN) != 0; in necp_fd_knrtouch() 1040 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necpop_kqfilter() 1044 return (revents & POLLIN) != 0; in necpop_kqfilter()
|