POLLOUT
auxt->pvnr_events &= (POLLIN | POLLOUT
pfds[j].events |= POLLOUT;
if (pfds[i].revents & POLLOUT) {
pfd.events = POLLOUT;
set[0].events |= POLLOUT;
set[1].events |= POLLOUT;
if (set[0].revents & POLLOUT && fcc > 0) {
if (set[1].revents & POLLOUT && pcc > 0) {
if ((set[0].revents & POLLOUT) && (nfrontp - nbackp) > 0)
if ((set[1].revents & POLLOUT) && (pfrontp - pbackp) > 0)
set[0].events |= POLLOUT;
set[1].events |= POLLOUT;
if (*events & POLLOUT)
*events |= POLLOUT;
revents = events & (POLLOUT | POLLWRNORM);
revents = events & (POLLOUT | POLLWRNORM);
revents = events & (POLLOUT | POLLWRNORM);
revents = events & (POLLOUT | POLLWRNORM);
fds[0].events = POLLOUT|POLLWRNORM;
revents |= events & (POLLOUT | POLLWRNORM);
int revents = events & (POLLOUT | POLLWRNORM); /* we can always write */
if (events & (POLLOUT | POLLWRNORM)) {
revents |= events & (POLLOUT | POLLWRNORM);
selnotify(&ds->ds_selq, POLLOUT | POLLWRNORM, 0);
if ((events & (POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM)) == 0)
POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
revents |= (POLLIN | POLLOUT | POLLPRI);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
tmp = POLLOUT | POLLWRNORM;
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if ((events & (POLLOUT | POLLWRNORM)) != 0) {
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
mask |= POLLOUT | POLLWRNORM;
selnotify(&qp->selw, POLLOUT|POLLWRNORM, NOTE_SUBMIT);
mask |= POLLOUT | POLLWRNORM;
if (events & (POLLOUT | POLLWRNORM))
revents = events & (POLLOUT | POLLWRNORM | POLLWRBAND);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
return events & (POLLIN|POLLRDNORM | POLLOUT|POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM)) {
revents |= (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
revents = events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if ((sc->flags&FWRITE) && (events & (POLLOUT | POLLWRNORM)))
revents |= events & (POLLOUT | POLLWRNORM);
revents = events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM)) {
revents |= events & (POLLOUT | POLLWRNORM);
if (sce_out && sce_out->pipeh && (events & (POLLOUT | POLLWRNORM)))
(POLLOUT | POLLWRNORM);
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM)) {
revents |= events & (POLLOUT | POLLWRNORM);
revents |= events & (POLLOUT|POLLWRNORM);
pollev = POLLOUT | POLLWRNORM;
if (events & (POLLOUT | POLLWRNORM)) {
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM)) {
revents |= events & (POLLOUT | POLLWRNORM);
selnotify(&mq->mq_wsel, POLLOUT | POLLWRNORM, 0);
band = POLLOUT|POLLWRNORM;
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
return (events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM)) {
band = POLLOUT|POLLWRNORM;
events = ap->a_events & (POLLOUT | POLLWRNORM);
return (ap->a_events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
if (fds.revents & POLLOUT) {
fds.events = POLLOUT|POLLIN;
selnotify(&pl->psel, POLLOUT | POLLWRNORM, 0);
if (events & (POLLOUT | POLLWRNORM)) {
revents |= POLLOUT | POLLWRNORM;
revents = events & (POLLOUT | POLLWRNORM);
revents |= events & (POLLOUT | POLLWRNORM);
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
fownsignal(tp->tun_pgid, SIGIO, POLL_OUT, POLLOUT|POLLWRNORM,
if (events & (POLLOUT | POLLWRNORM))
revents |= events & (POLLOUT | POLLWRNORM);
#define POLLWRNORM POLLOUT
#define OUT POLLOUT
pfd.events = POLLOUT;
XP_EQ(POLLOUT, pfd.revents);
pfd.events = POLLOUT;
pfd.events = POLLOUT;
pfd.events = POLLOUT;
XP_EQ(POLLOUT, pfd.revents);
pfd[0].events = POLLOUT;
pfd[0].events = POLLOUT;
pfd[1].events = POLLOUT;
XP_EQ(POLLOUT, pfd[b].revents);
pfd.events = POLLOUT;
*events = *events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM);
pfd.events = POLLOUT;
POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM));
POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
fds[0].events = POLLOUT | POLLWRNORM;
ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM));
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
pfds[1].events = POLLOUT;
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
pfd[1].events = POLLOUT | POLLWRNORM;
ATF_REQUIRE_EQ_MSG(pfd[1].revents, POLLOUT|POLLWRNORM,
ATF_REQUIRE_EQ_MSG(pfd[1].revents, POLLOUT|POLLWRNORM,
ATF_REQUIRE_EQ_MSG(pfd[1].revents, POLLOUT|POLLWRNORM,
ATF_REQUIRE_EQ_MSG(pfd[1].revents, POLLOUT|POLLWRNORM,
ATF_REQUIRE_EQ_MSG((pfd.revents & (POLLHUP|POLLOUT)), POLLHUP,
pfd.revents, POLLHUP, POLLOUT);
ATF_REQUIRE_EQ_MSG((pfd.revents & (POLLHUP|POLLOUT)), POLLHUP,
pfd.revents, POLLHUP, POLLOUT);
struct pollfd pfd = { .fd = writefd, .events = POLLOUT };
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)), expected,
pfd.revents, expected, POLLOUT, POLLHUP, POLLIN);
pfd.events = POLLIN | POLLHUP | POLLOUT;
check_pollclosed_delayed_write(writefd, readfd, POLLOUT, EPIPE);
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)),
pfd.revents, pollhup|POLLIN, POLLHUP, POLLIN, POLLOUT);
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)),
pfd.revents, pollhup|POLLIN, POLLHUP, POLLIN, POLLOUT);
pfd.events = POLLIN | POLLHUP | POLLOUT;
struct pollfd pfd = { .fd = writefd, .events = POLLOUT };
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)), expected,
pfd.revents, expected, POLLOUT, POLLHUP, POLLIN);
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)),
pfd.revents, pollhup|POLLIN, POLLHUP, POLLIN, POLLOUT);
pfd.events = POLLIN | POLLHUP | POLLOUT;
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)),
pfd.revents, pollhup|POLLIN, POLLHUP, POLLIN, POLLOUT);
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)),
pfd.revents, pollhup|POLLIN, POLLHUP, POLLIN, POLLOUT);
ATF_CHECK_EQ_MSG((pfd.revents & (POLLHUP|POLLIN|POLLOUT)),
pfd.revents, pollhup|POLLIN, POLLHUP, POLLIN, POLLOUT);
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
pfds[1].events = POLLOUT;
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\
POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
fds[1].events = POLLOUT;
if ((fds[1].revents & POLLOUT) == 0)
fds[1].events = POLLOUT;
fds[2].events = POLLIN | POLLOUT;
fds[0].events = create_check_file ? POLLOUT:POLLIN;
int revent = (create_check_file == 1) ? POLLOUT:POLLIN;
pfd.events = POLLOUT;
pfd.events = POLLIN | POLLOUT;
ATF_CHECK_EQ(POLLOUT, pfd.revents);
pfd.events = POLLIN | POLLOUT | POLLRDHUP;
ATF_CHECK_EQ(POLLOUT, pfd.revents);
pfd.events = POLLIN | POLLOUT | POLLRDHUP;
ATF_CHECK_EQ(POLLIN | POLLOUT, pfd.revents);
pfd = (struct pollfd){.fd = conn, .events = POLLOUT};
ATF_REQUIRE_MSG(pfd.revents & POLLOUT, "revents=0x%x", pfd.revents);
pfd[0].events = POLLOUT;
pfd[0].events = POLLOUT;
pfd[0].events = POLLOUT;
pfd[0].events = POLLIN|POLLOUT;
} else if (pfd[0].revents & (POLLIN|POLLOUT)) {
if (fd[i].events & POLLOUT)
fd[i].revents |= POLLOUT;
pfd.events = f == read ? POLLIN : POLLOUT;
pfd.events = POLLOUT;
while (!done || pfd[POLL_STDOUT].events == POLLOUT) {
pfd[POLL_STDIN].events = POLLOUT;
pfd[POLL_NETOUT].events = POLLOUT;
if (!done && pfd[POLL_NETOUT].revents & POLLOUT &&
pfd[POLL_NETOUT].events = POLLOUT;
pfd[POLL_NETIN].events = POLLOUT;
pfd[POLL_STDOUT].events = POLLOUT;
if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) {
pfd[POLL_STDOUT].events = POLLOUT;
pfd.events = POLLOUT;
fdp->events = POLLOUT|POLLNVAL|POLLERR|POLLHUP;
if ((fdp->revents & POLLOUT) == 0)
set[0].events = (netout ? POLLOUT : 0) | (netin ? POLLIN : 0) |
set[1].events = ttyout ? POLLOUT : 0;
if (set[0].revents & POLLOUT) {
if (set[1].revents & POLLOUT) {
set[0].events = POLLOUT;
pfd.events = POLLOUT;