Lines Matching refs:softc
834 struct bofi_errent *softc; in bofi_open() local
869 softc = ddi_get_soft_state(statep, minor); in bofi_open()
870 softc->cnext = softc; in bofi_open()
871 softc->cprev = softc; in bofi_open()
883 struct bofi_errent *softc; in bofi_close() local
886 softc = ddi_get_soft_state(statep, minor); in bofi_close()
887 if (softc == NULL) in bofi_close()
892 for (ep = softc->cnext; ep != softc; ) { in bofi_close()
914 struct bofi_errent *softc; in bofi_ioctl() local
1014 softc = ddi_get_soft_state(statep, minor); in bofi_ioctl()
1015 if (softc == NULL) in bofi_ioctl()
1025 if (bofi_errdef_alloc(&errdef, namep, softc) != DDI_SUCCESS) { in bofi_ioctl()
1733 struct bofi_errent *softc) in bofi_errdef_alloc() argument
1769 ep->cnext = softc->cnext; in bofi_errdef_alloc()
1770 softc->cnext->cprev = ep; in bofi_errdef_alloc()
1771 ep->cprev = softc; in bofi_errdef_alloc()
1772 softc->cnext = ep; in bofi_errdef_alloc()