MCPcopy Create free account
hub / github.com/F-Stack/f-stack / intr_handler_source

Function intr_handler_source

freebsd/kern/kern_intr.c:705–719  ·  view source on GitHub ↗

* Return the ie_source field from the intr_event an intr_handler is * associated with. */

Source from the content-addressed store, hash-verified

703 * associated with.
704 */
705void *
706intr_handler_source(void *cookie)
707{
708 struct intr_handler *ih;
709 struct intr_event *ie;
710
711 ih = (struct intr_handler *)cookie;
712 if (ih == NULL)
713 return (NULL);
714 ie = ih->ih_event;
715 KASSERT(ie != NULL,
716 ("interrupt handler \"%s\" has a NULL interrupt event",
717 ih->ih_name));
718 return (ie->ie_source);
719}
720
721/*
722 * If intr_event_handle() is running in the ISR context at the time of the call,

Callers 2

intr_teardown_irqFunction · 0.85
intr_remove_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected