Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 10 of 10) sorted by relevance

/xnu-8020.121.3/tests/
H A Dpoll.c57 { .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 Dpoll_select_kevent_paired_fds.c563 struct pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in read_from_fd()
/xnu-8020.121.3/bsd/sys/
H A Dpoll.h68 #define POLLIN 0x0001 /* any readable data available */ macro
93 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
/xnu-8020.121.3/bsd/skywalk/channel/
H A Dchannel.c573 return filt_chrw(kn, hint, POLLIN); in filt_chread()
655 return filt_chtouch(kn, kev, POLLIN); in filt_chrtouch()
744 return filt_chprocess(kn, kev, POLLIN); in filt_chrprocess()
806 events = (ev == EVFILT_WRITE) ? POLLOUT : POLLIN; in filt_chrwattach()
866 revents = ch_event(ch, POLLIN, NULL, knote_get_kq(kn)->kq_p, in che_process_channel_event()
875 } else if ((revents & POLLIN) != 0) { in che_process_channel_event()
1210 want_rx = (events & (POLLIN | POLLRDNORM)); in ch_event()
1447 revents |= (events & POLLIN); in ch_event()
H A Dchannel_syscalls.c74 events = POLLIN; in chop_select()
/xnu-8020.121.3/bsd/security/audit/
H A Daudit_pipe.c1067 if (events & (POLLIN | POLLRDNORM)) { in audit_pipe_poll()
1070 revents |= events & (POLLIN | POLLRDNORM); in audit_pipe_poll()
H A Daudit_session.c1996 if (events & (POLLIN | POLLRDNORM)) { in audit_sdev_poll()
1999 revents |= events & (POLLIN | POLLRDNORM); in audit_sdev_poll()
/xnu-8020.121.3/bsd/kern/
H A Dsys_generic.c1820 if (events & (POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND | POLLHUP)) { in poll_nocancel()
1936 mask = (POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND); in poll_callback()
1938 mask = (POLLIN | POLLRDNORM); in poll_callback()
H A Duipc_socket.c6557 if (events & (POLLIN | POLLRDNORM)) { in sopoll()
6559 revents |= events & (POLLIN | POLLRDNORM); in sopoll()
6576 if (events & (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)) { in sopoll()
/xnu-8020.121.3/bsd/net/
H A Dnecp_client.c800 u_int want_rx = events & (POLLIN | POLLRDNORM); in necp_fd_poll()
959 events = POLLIN; in necpop_select()
1003 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necp_fd_knrprocess()
1004 res = ((revents & POLLIN) != 0); in necp_fd_knrprocess()
1022 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necp_fd_knrtouch()
1025 return (revents & POLLIN) != 0; in necp_fd_knrtouch()
1061 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necpop_kqfilter()
1065 return (revents & POLLIN) != 0; in necpop_kqfilter()