Lines Matching refs:source

86  * Called from pollwakeup(PORT_SOURCE_FD source) to determine
137 * the event itself and to the event source management is stored in the
194 * For PORT_SOURCE_FD source, we don't need to call pollwakeup()
195 * here as it will result in a recursive call(PORT_SOURCE_FD source
220 * For that reason the event source should allocate an event slot as early
226 * It is also recommended to associate the event source with the port
236 * This type of event will be use for private use of the event source.
239 * The event source must free this structure using port_free_event().
241 * This type of events is used when the event source helds an own
245 * The event source must free this structure using port_free_event().
248 port_alloc_event(int port, int flags, int source, port_kevent_t **pkevpp)
285 pkevp->portkev_source = source;
296 * can be used when the event source already allocated an event from
318 port_alloc_event_local(port_t *pp, int source, int flags,
340 pkevp->portkev_source = source;
354 port_alloc_event_block(port_t *pp, int source, int flags,
376 pkevp->portkev_source = source;
532 * sysarg : event source propietary data
685 * The port_associate_ksource() function associates an event source with a port.
688 * The association of a source with a port can only be done one time. Further
695 port_associate_ksource(int port, int source, port_source_t **portsrc,
714 ps = &pp->port_queue.portq_scache[PORT_SHASH(source)];
716 if (pse->portsrc_source == source)
721 /* Create association of the event source with the port */
728 pse->portsrc_source = source;
736 /* entry already available, source is only requesting count */
747 * The port_dissociate_ksource() function dissociates an event source from
751 port_dissociate_ksource(int port, int source, port_source_t *ps)
771 /* last association removed -> free source structure */
774 psh = &pp->port_queue.portq_scache[PORT_SHASH(source)];