Lines Matching refs:events
76 * port_discard_events() scans the port event queue for events owned
77 * by current proc. Non-shareable events will be discarded, all other
78 * events remain in the event queue.
108 * Free all kernel events structures which are still in the event queue.
114 int events; /* ignore events */
122 &events, pkevp->portkev_pid, PORT_CALLBACK_CLOSE,
148 * - pending and delivered events will be discarded.
251 /* Wait for outstanding events */
268 * Now all events are passed back to the port,
269 * discard remaining events in the port queue
279 * POLLIN : events are available in the event queue
280 * POLLOUT : event queue can still accept events
284 port_poll(vnode_t *vp, short events, int anyyet, short *reventsp,
299 levents &= events;
301 if ((levents == 0 && !anyyet) || (events & POLLET)) {
303 portq->portq_flags |= events & POLLIN ? PORTQ_POLLIN : 0;
304 portq->portq_flags |= events & POLLOUT ? PORTQ_POLLOUT : 0;