Lines Matching refs:events

38 #define	PORTHASH_START	256	/* start cache space for events */
52 * events. In the port_fd_callback() case the "arg" is a pointer to portfd_t
72 * retrieve of events from that fd.
79 port_fd_callback(void *arg, int *events, pid_t pid, int flag, void *evp)
87 ASSERT((pdp != NULL) && (events != NULL));
93 * events from this fd.
97 error = EACCES; /* deny delivery of events */
102 error = EACCES; /* deny delivery of events */
106 *events = pdp->pd_portev->portkev_events; /* update events */
163 * The reactivation also updates the events types to be checked and the
166 * Internally the VOP_POLL interface is used to poll for existing events.
168 * which is used to enqueue polldat_t structures with pending events.
169 * If VOP_POLL immediately returns valid events (revents) then those events
171 * Otherwise VOP_POLL does not return events but it delivers a pointer to a
174 * events.
177 port_associate_fd(port_t *pp, int source, uintptr_t object, int events,
275 * Clear the PORT_KEV_VALID flag if set. No new events
285 * Remove any events that where already fired
297 pkevp->portkev_events = 0; /* no fired events */
298 pdp->pd_events = events; /* events associated */
300 * allow new events.
318 error = VOP_POLL(fp->f_vnode, events, 0, &revents, &php, NULL);
351 * No events delivered yet.
382 * Check if new events where detected and no events have been
391 /* send events to the event port */
434 * descriptor from the event port and removes already fired events.
437 * retrieve of events from that fd.
485 * Deactivate the association. No events get posted after