pcihost_fdt.c | 625 struct pcihost_msi_handler * const pmh = local in function:pcihost_intr_establish 626 kmem_alloc(sizeof(*pmh), KM_SLEEP); 627 pmh->pmh_ih = ih; 629 LIST_INSERT_HEAD(&sc->sc_msi_handlers, pmh, pmh_next); 649 struct pcihost_msi_handler *pmh; local in function:pcihost_intr_disestablish 650 LIST_FOREACH(pmh, &sc->sc_msi_handlers, pmh_next) { 651 if (pmh->pmh_ih == vih) { 652 LIST_REMOVE(pmh, pmh_next); 654 kmem_free(pmh, sizeof(*pmh)); [all...] |