Lines Matching defs:events
1248 /* there are no preposted events */
1480 short events = fds[i].events;
1499 /* Handle input events */
1500 if (events & ( POLLIN | POLLRDNORM | POLLPRI | POLLRDBAND | POLLHUP )) {
1502 if (!(events & ( POLLIN | POLLRDNORM )))
1507 /* Handle output events */
1509 events & ( POLLOUT | POLLWRNORM | POLLWRBAND )) {
1514 /* Handle BSD extension vnode events */
1516 events & ( POLLEXTEND | POLLATTRIB | POLLNLINK | POLLWRITE )) {
1519 if (events & POLLEXTEND)
1521 if (events & POLLATTRIB)
1523 if (events & POLLNLINK)
1525 if (events & POLLWRITE)
1593 fds->revents |= (fds->events & mask);
1598 fds->revents |= (fds->events & ( POLLOUT | POLLWRNORM | POLLWRBAND ));
1603 fds->revents |= (fds->events & POLLEXTEND);
1605 fds->revents |= (fds->events & POLLATTRIB);
1607 fds->revents |= (fds->events & POLLNLINK);
1609 fds->revents |= (fds->events & POLLWRITE);
1940 * called upon socket close. deque and free all events for
1966 * called upon pipe close. deque and free all events for
2083 * since events are disarmed until after the waitevent
2104 * event list and queue ready events found...
2252 * since events are disarmed until after the waitevent
2278 * should this prevent duplicate events on same socket?
2385 postevent((struct socket *)fp->f_data, 0, EV_RWBYTES); // catch existing events
2407 * it. if no events, user can request to sleep with timeout