Lines Matching defs:attaching
86 static int mps_iocfacts_allocate(struct mps_softc *sc, uint8_t attaching);
460 mps_iocfacts_allocate(struct mps_softc *sc, uint8_t attaching)
469 if (!attaching) {
475 * a re-initialization and only return the error if attaching so the OS
479 if (attaching) {
516 * but it doesn't hurt to do it again. Only do this if attaching, not
519 if (attaching && ((sc->facts->IOCCapabilities &
540 if (!attaching) {
551 if ((!attaching) &&
577 * Some things should be done if attaching or re-allocating after a Diag
581 if (attaching || reallocating) {
632 * if needed. Will only need to reallocate if attaching or if the new
637 while (attaching || reallocating) {
662 * attaching. If attaching and there is an error, that is handled by
692 while (attaching) {
713 if (attaching && (error = mps_pci_setup_interrupts(sc)) != 0) {