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

Function intr_lookup

freebsd/kern/kern_intr.c:407–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407static struct intr_event *
408intr_lookup(int irq)
409{
410 struct intr_event *ie;
411
412 mtx_lock(&event_lock);
413 TAILQ_FOREACH(ie, &event_list, ie_list)
414 if (ie->ie_irq == irq &&
415 (ie->ie_flags & IE_SOFT) == 0 &&
416 CK_SLIST_FIRST(&ie->ie_handlers) != NULL)
417 break;
418 mtx_unlock(&event_lock);
419 return (ie);
420}
421
422int
423intr_setaffinity(int irq, int mode, void *m)

Callers 3

intr_setaffinityFunction · 0.85
intr_getaffinityFunction · 0.85
_intr_drainFunction · 0.85

Calls 2

mtx_lockFunction · 0.70
mtx_unlockFunction · 0.70

Tested by

no test coverage detected