Lines Matching defs:sc_ihs
360 void **sc_ihs;
1788 sc->sc_ihs = kmem_zalloc(sizeof(sc->sc_ihs[0]) * num, KM_NOSLEEP);
1789 if (sc->sc_ihs == NULL) {
1803 sc->sc_ihs[vector] = pci_intr_establish_xname(pa->pa_pc,
1805 if (sc->sc_ihs[vector] == NULL) {
1822 sc->sc_ihs[vector] = pci_intr_establish_xname(pa->pa_pc,
1825 if (sc->sc_ihs[vector] == NULL) {
1833 error = interrupt_distribute(sc->sc_ihs[vector],
1855 error = interrupt_distribute(sc->sc_ihs[vector], affinity, NULL);
1874 if (sc->sc_ihs != NULL) {
1876 if (sc->sc_ihs[vector] == NULL)
1878 pci_intr_disestablish(pa->pa_pc, sc->sc_ihs[vector]);
1880 kmem_free(sc->sc_ihs, sizeof(sc->sc_ihs[0]) * num);
1893 if (sc->sc_ihs == NULL)
1899 pci_intr_disestablish(pa->pa_pc, sc->sc_ihs[i]);
1902 kmem_free(sc->sc_ihs, sizeof(sc->sc_ihs[0]) * sc->sc_nintrs);
1903 sc->sc_ihs = NULL;