Searched defs:revents (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dpoll.h51 short revents; /* events that occurred on fd */ member in struct:pollfd
72 * but may be returned in revents field).
79 * These events will never be specified in revents, but may be specified in
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fd.c169 * If VOP_POLL immediately returns valid events (revents) then those events
187 short revents; local
318 error = VOP_POLL(fp->f_vnode, events, 0, &revents, &php, NULL);
356 error = port_bind_pollhead(&php, pdp, &revents);
383 * delivered. The revents was already set after the VOP_POLL
387 if (revents && (pkevp->portkev_flags & PORT_KEV_VALID)) {
390 revents = revents & (pdp->pd_events | POLLHUP | POLLERR);
392 pkevp->portkev_events = revents;
523 port_bind_pollhead(pollhead_t **php, polldat_t *pdp, short *revents) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Deventfd.c219 short revents = 0; local
226 revents |= POLLRDNORM | POLLIN;
229 revents |= POLLWRNORM | POLLOUT;
231 if (!(*reventsp = revents & events) && !anyyet)
H A Dtimerfd.c186 short revents = 0; local
193 revents |= POLLRDNORM | POLLIN;
195 if (!(*reventsp = revents & events) && !anyyet)
H A Dsignalfd.c572 short revents = 0; local
580 revents |= POLLRDNORM | POLLIN;
584 if (!(*reventsp = revents & events) && !anyyet) {
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starcat/
H A Dcvcd.c325 (pfds[LISTEN_PFD].revents & POLLIN)) {
595 short revents; local
631 revents = pfds[i].revents;
632 if (revents & (POLLERR | POLLHUP | POLLNVAL)) {
637 (revents & POLLERR) ? " error" : "",
638 (revents & POLLHUP) ? " hangup" : "",
639 (revents & POLLNVAL) ? " bad fd" : "");
648 if (pfds[LISTEN_PFD].revents & POLLIN) {
717 if ((output_len == 0) && (pfds[REDIR_PFD].revents
[all...]
/illumos-gate/usr/src/uts/common/io/ksocket/
H A Dksocket.c730 ksocket_spoll(ksocket_t ks, int timo, short events, short *revents, argument
745 if (revents == NULL)
770 *revents = 0;
777 revents, &php);
781 if (error != 0 || *revents != 0 || timo == 0)
785 * Need to block. Did not get *revents, so the
817 revents, &php2);
821 if (error != 0 || *revents != 0)
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc.c274 short revents = pfd->revents; local
288 if (0 == (revents & svc_userfds[fd].mask)) {
301 if (node->events & revents) {
302 if (revents & POLLNVAL) {
313 node->events & revents, node->cookie);
325 if ((revents & POLLNVAL) && !invalHandled)
1292 if (p->revents) {
1312 if (p->revents & POLLNVAL) {
1339 virtual_fd.events = virtual_fd.revents
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c5946 short revents; local
5962 *reventsp = revents = 0;
6013 revents = POLLNVAL;
6018 revents |= ev;
6039 revents |= ev;
6044 *reventsp = revents;
6045 if ((!anyyet && revents == 0) || (events & POLLET)) {

Completed in 111 milliseconds