Lines Matching refs:events
127 * the first byte contains a bitmask of events that
386 ptsdev_poll(struct file *fp, int events, struct ucred *active_cred,
398 return ((events & (POLLIN|POLLRDNORM)) | POLLHUP);
401 if (events & (POLLIN|POLLRDNORM)) {
405 revents |= events & (POLLIN|POLLRDNORM);
407 if (events & (POLLOUT|POLLWRNORM)) {
410 revents |= events & (POLLOUT|POLLWRNORM);
422 * poll events on this side is the opposite of the slave
425 if (events & (POLLIN|POLLRDNORM))
427 if (events & (POLLOUT|POLLWRNORM))