Lines Matching refs:cfiscsi_softc

168 static struct cfiscsi_target	*cfiscsi_target_find(struct cfiscsi_softc
171 struct cfiscsi_softc *softc, const char *name, const char *alias,
176 static struct cfiscsi_softc cfiscsi_softc;
1226 cfiscsi_session_new(struct cfiscsi_softc *softc)
1275 struct cfiscsi_softc *softc;
1277 softc = &cfiscsi_softc;
1301 struct cfiscsi_softc *softc;
1304 softc = &cfiscsi_softc;
1329 cs = cfiscsi_session_new(&cfiscsi_softc);
1339 cv_signal(&cfiscsi_softc.accept_cv);
1346 struct cfiscsi_softc *softc;
1374 struct cfiscsi_softc *softc;
1426 struct cfiscsi_softc *softc;
1433 softc = &cfiscsi_softc;
1457 mtx_lock(&cfiscsi_softc.lock);
1458 TAILQ_FOREACH(cs, &cfiscsi_softc.sessions, cs_next) {
1463 mtx_unlock(&cfiscsi_softc.lock);
1470 mtx_unlock(&cfiscsi_softc.lock);
1589 struct cfiscsi_softc *softc;
1594 softc = &cfiscsi_softc;
1661 struct cfiscsi_softc *softc;
1665 softc = &cfiscsi_softc;
1711 struct cfiscsi_softc *softc;
1715 softc = &cfiscsi_softc;
1763 if (cfiscsi_softc.listener == NULL) {
1778 error = icl_listen_add(cfiscsi_softc.listener, cilp->iser, cilp->domain,
1801 mtx_lock(&cfiscsi_softc.lock);
1803 TAILQ_FOREACH(cs, &cfiscsi_softc.sessions, cs_next) {
1809 error = cv_wait_sig(&cfiscsi_softc.accept_cv, &cfiscsi_softc.lock);
1811 mtx_unlock(&cfiscsi_softc.lock);
1817 mtx_unlock(&cfiscsi_softc.lock);
1849 mtx_lock(&cfiscsi_softc.lock);
1850 TAILQ_FOREACH(cs, &cfiscsi_softc.sessions, cs_next) {
1855 mtx_unlock(&cfiscsi_softc.lock);
1860 mtx_unlock(&cfiscsi_softc.lock);
1917 mtx_lock(&cfiscsi_softc.lock);
1918 TAILQ_FOREACH(cs, &cfiscsi_softc.sessions, cs_next) {
1923 mtx_unlock(&cfiscsi_softc.lock);
1929 mtx_unlock(&cfiscsi_softc.lock);
2004 ct = cfiscsi_target_find_or_create(&cfiscsi_softc, target, alias, tag);
2114 ct = cfiscsi_target_find(&cfiscsi_softc, target, tag);
2223 struct cfiscsi_softc *softc;
2244 cfiscsi_target_find(struct cfiscsi_softc *softc, const char *name, uint16_t tag)
2264 cfiscsi_target_find_or_create(struct cfiscsi_softc *softc, const char *name,