/src/tests/lib/libc/sys/ |
t_pollts.c | 78 pfds[0].revents = -1; 79 pfds[1].revents = -1; 82 ATF_REQUIRE_EQ_MSG(pfds[0].revents, 0, "got: %d", pfds[0].revents); 83 ATF_REQUIRE_EQ_MSG(pfds[1].revents, -1, "got: %d", pfds[1].revents); 86 pfds[0].revents = -1; 87 pfds[1].revents = -1; 90 ATF_REQUIRE_EQ_MSG(pfds[0].revents, -1, "got: %d", pfds[0].revents); [all...] |
t_poll.c | 181 pfds[0].revents = -1; 182 pfds[1].revents = -1; 185 ATF_REQUIRE_EQ_MSG(pfds[0].revents, 0, "got: %d", pfds[0].revents); 186 ATF_REQUIRE_EQ_MSG(pfds[1].revents, -1, "got: %d", pfds[1].revents); 189 pfds[0].revents = -1; 190 pfds[1].revents = -1; 193 ATF_REQUIRE_EQ_MSG(pfds[0].revents, -1, "got: %d", pfds[0].revents); [all...] |
t_eventfd.c | 293 fds[0].revents = 0; 295 ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM)); 334 fds[0].revents = 0; 336 ATF_REQUIRE(fds[0].revents == (POLLIN | POLLRDNORM)); 380 fds[0].revents = 0; 389 ATF_REQUIRE(fds[0].revents == (POLLIN | POLLRDNORM)); 400 fds[0].revents = 0; 409 ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM));
|
/src/sys/modules/examples/pollpal/ |
cmd_pollpal.c | 105 if (fds.revents & (POLLERR | POLLHUP | POLLNVAL)) 108 if (fds.revents & POLLOUT) { 118 if (fds.revents & POLLIN) {
|
pollpal.c | 268 int revents; local in function:pollpal_poll 270 revents = 0; 277 revents |= POLLOUT | POLLWRNORM; 286 revents |= POLLIN | POLLRDNORM; 295 return revents;
|
/src/sys/rump/librump/rumpkern/ |
cons.c | 155 int revents = 0; local in function:rumpcons_poll 158 revents |= events & (POLLOUT | POLLWRNORM); 160 return revents;
|
/src/sys/arch/amiga/dev/ |
event.c | 150 int revents = 0; local in function:ev_poll 155 revents |= events & (POLLIN | POLLRDNORM); 156 if (revents == 0) 160 return (revents);
|
/src/sys/dev/sun/ |
event.c | 155 int s = splev(), revents = 0; local in function:ev_poll 161 revents |= events & (POLLIN | POLLRDNORM); 163 revents |= events & (POLLOUT | POLLWRNORM); 166 return (revents);
|
/src/usr.bin/talk/ |
io.c | 87 if (set[0].revents & POLLIN) { 96 if (set[1].revents & POLLIN) {
|
/src/sys/dev/ir/ |
cir.c | 238 int revents; local in function:cirpoll 247 revents = 0; 251 revents |= events & (POLLIN | POLLRDNORM); 257 revents |= events & (POLLOUT | POLLWRNORM); 260 if (revents == 0) { 271 return (revents);
|
/src/sys/arch/landisk/dev/ |
button.c | 265 int revents; local in function:btnpoll 271 revents = events & (POLLOUT | POLLWRNORM); 275 return (revents); 279 revents |= events & (POLLIN | POLLRDNORM); 285 return (revents);
|
/src/sys/fs/puffs/ |
puffs_subr.c | 145 int revents, error; local in function:puffs_parkdone_poll 149 revents = poll_msg->pvnr_events; 151 revents = POLLERR; 154 pn->pn_revents |= revents; 157 selnotify(&pn->pn_sel, revents, 0);
|
/src/tests/net/net/ |
t_socket_afinet.c | 168 ATF_CHECK_EQ(POLLOUT, pfd.revents); 183 ATF_CHECK_EQ(POLLIN, pfd.revents); 230 ATF_CHECK_EQ(POLLOUT, pfd.revents); 243 ATF_CHECK_EQ(POLLIN | POLLOUT, pfd.revents); 264 ATF_CHECK_EQ(POLLRDHUP, pfd.revents);
|
/src/sys/arch/atari/dev/ |
event.c | 150 int revents = 0; local in function:ev_poll 155 revents |= events & (POLLIN | POLLRDNORM); 160 return (revents);
|
/src/usr.bin/telnet/ |
sys_bsd.c | 593 if (set[0].revents & POLLPRI) { 601 if (set[0].revents & POLLIN) { 622 if (set[2].revents & POLLIN) { 651 if (set[0].revents & POLLOUT) { 655 if (set[1].revents & (POLLHUP|POLLNVAL)) 658 if (set[1].revents & POLLOUT) {
|
network.c | 97 if (set[0].revents & POLLPRI) {
|
/src/tests/lib/librumphijack/ |
h_client.c | 115 if (pfd[1].revents != POLLNVAL || pfd[0].revents != 0) 116 errx(EXIT_FAILURE, "poll unexpected revents");
|
/src/usr.bin/tip/ |
tipout.c | 142 if (pfd[0].revents & POLLIN) 160 if (pfd[1].revents & (POLLIN|POLLHUP)) {
|
/src/sys/arch/x68k/dev/ |
event.c | 153 int revents = 0; local in function:ev_poll 160 revents |= events & (POLLIN | POLLRDNORM); 162 revents |= events & (POLLOUT | POLLWRNORM); 164 return revents;
|
/src/sys/external/bsd/drm2/linux/ |
linux_sync_file.c | 101 int revents = 0; local in function:sync_file_poll 109 revents |= POLLIN; 121 revents |= POLLIN; 128 return revents;
|
/src/sys/sys/ |
poll.h | 42 short revents; /* events returned */ member in struct:pollfd
|
/src/sys/arch/arm/nvidia/ |
tegra_cec.c | 432 int revents; local in function:tegra_cec_poll 434 revents = events & (POLLOUT | POLLWRNORM); 437 return revents; 441 revents = (events & (POLLIN | POLLRDNORM)); 444 revents = 0; 448 return revents;
|
/src/sys/kern/ |
sys_select.c | 682 int i, n = 0, revents; local in function:pollscan 685 fds->revents = 0; 687 revents = 0; 689 revents = POLLNVAL; 697 revents = (*fp->f_ops->fo_poll)(fp, 701 if (revents) { 706 fds->revents = revents; 847 int revents = events & (pfd->events | POLLERR | POLLHUP); local in function:sel_setevents 849 if (revents) { [all...] |
/src/usr.sbin/faithd/ |
ftp.c | 125 if (pfd[1].revents & POLLIN) 142 if (pfd[0].revents & POLLIN) 159 if (0 <= port4 && 0 <= port6 && (pfd[2].revents & POLLIN)) 165 if (pfd[2].revents & POLLIN) 185 if (0 <= port4 && 0 <= port6 && (pfd[3].revents & POLLIN)) 191 if (pfd[3].revents & POLLIN) 212 if (wport4 && (pfd[4].revents & POLLIN)) 219 if (wport4 && (pfd[5].revents & POLLIN))
|
/src/sys/rump/net/lib/libwg/ |
wg_user.c | 151 if (pfd[1].revents & POLLIN) 155 if (pfd[0].revents & POLLIN) { 180 if (pfd[2].revents & POLLIN) { 202 if (pfd[3].revents & POLLIN) {
|