Home
last modified time | relevance | path

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

/xnu-12377.41.6/tests/
H A Dpoll.c58 { .events = POLLIN },
59 { .events = POLLIN },
60 { .events = POLLIN },
80 T_QUIET; T_EXPECT_TRUE(pfd[0].revents & POLLIN, "file should be readable");
91 T_QUIET; T_EXPECT_TRUE(pfd[1].revents & POLLIN, "file should be readable");
98 T_QUIET; T_EXPECT_TRUE(pfd[0].revents & POLLIN, "file should be readable");
99 T_QUIET; T_EXPECT_FALSE(pfd[1].revents & POLLIN,
108 T_QUIET; T_EXPECT_TRUE(pfd[0].revents & POLLIN, "file should be readable");
111 T_QUIET; T_EXPECT_FALSE(pfd[2].revents & POLLIN, "pipe should not be readable");
130 T_QUIET; T_EXPECT_FALSE(pfd[1].revents & POLLIN, "pipe should not be readable");
H A Duipc_sosendcheck.c25 struct pollfd pfd[1] = { { sk, POLLIN, 0 } }; in do_recv()
H A Dpoll_select_kevent_paired_fds.c563 struct pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in read_from_fd()
/xnu-12377.41.6/bsd/sys/
H A Dpoll.h68 #define POLLIN 0x0001 /* any readable data available */ macro
93 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
/xnu-12377.41.6/bsd/skywalk/channel/
H A Dchannel.c574 return filt_chrw(kn, hint, POLLIN); in filt_chread()
661 return filt_chtouch(kn, kev, POLLIN); in filt_chrtouch()
755 return filt_chprocess(kn, kev, POLLIN); in filt_chrprocess()
817 events = (ev == EVFILT_WRITE) ? POLLOUT : POLLIN; in filt_chrwattach()
877 revents = ch_event(ch, POLLIN, NULL, knote_get_kq(kn)->kq_p, in che_process_channel_event()
886 } else if ((revents & POLLIN) != 0) { in che_process_channel_event()
1226 want_rx = (events & (POLLIN | POLLRDNORM)); in ch_event()
1463 revents |= (events & POLLIN); in ch_event()
H A Dchannel_syscalls.c88 events = POLLIN; in chop_select()
/xnu-12377.41.6/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.c1966 if (events & (POLLIN | POLLRDNORM)) { in audit_sdev_poll()
1969 revents |= events & (POLLIN | POLLRDNORM); in audit_sdev_poll()
/xnu-12377.41.6/bsd/kern/
H A Dsys_generic.c1754 if (events & (POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND | POLLHUP)) { in poll_nocancel()
1873 mask = (POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND); in poll_callback()
1875 mask = (POLLIN | POLLRDNORM); in poll_callback()
H A Duipc_socket.c6447 if (events & (POLLIN | POLLRDNORM)) { in sopoll()
6449 revents |= events & (POLLIN | POLLRDNORM); in sopoll()
6466 if (events & (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)) { in sopoll()
/xnu-12377.41.6/bsd/net/
H A Dnecp_client.c949 u_int want_rx = events & (POLLIN | POLLRDNORM); in necp_fd_poll()
1108 events = POLLIN; in necpop_select()
1152 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necp_fd_knrprocess()
1153 res = ((revents & POLLIN) != 0); in necp_fd_knrprocess()
1171 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necp_fd_knrtouch()
1174 return (revents & POLLIN) != 0; in necp_fd_knrtouch()
1210 revents = necp_fd_poll(fd_data, POLLIN, NULL, current_proc(), 1); in necpop_kqfilter()
1214 return (revents & POLLIN) != 0; in necpop_kqfilter()