Lines Matching refs:ib_conn
136 struct iser_device *device = iser_conn->ib_conn->device;
314 struct iser_conn *ib_conn = iser_conn->ib_conn;
319 * already have freed the ib_conn, but if it goofed up then
322 if (ib_conn) {
323 ib_conn->iser_conn = NULL;
324 iser_conn_put(ib_conn, 1); /* deref iscsi/ib conn unbinding */
335 struct iser_conn *ib_conn;
351 ib_conn = ep->dd_data;
356 iser_err("binding iscsi/iser conn %p %p to ib_conn %p\n",
357 conn, conn->dd_data, ib_conn);
359 ib_conn->iser_conn = iser_conn;
360 iser_conn->ib_conn = ib_conn;
361 iser_conn_get(ib_conn); /* ref iscsi/ib conn binding */
370 struct iser_conn *ib_conn = iser_conn->ib_conn;
376 if (ib_conn) {
382 iser_conn_put(ib_conn, 1); /* deref iscsi/ib conn unbinding */
384 iser_conn->ib_conn = NULL;
417 struct iser_conn *ib_conn;
433 ib_conn = ep->dd_data;
436 ep ? ib_conn->device->ib_device->dma_device : NULL))
536 struct iser_conn *ib_conn;
539 ep = iscsi_create_endpoint(sizeof(*ib_conn));
543 ib_conn = ep->dd_data;
544 ib_conn->ep = ep;
545 iser_conn_init(ib_conn);
547 err = iser_connect(ib_conn, NULL, (struct sockaddr_in *)dst_addr,
559 struct iser_conn *ib_conn;
562 ib_conn = ep->dd_data;
563 rc = wait_event_interruptible_timeout(ib_conn->wait,
564 ib_conn->state == ISER_CONN_UP,
569 (ib_conn->state == ISER_CONN_TERMINATING ||
570 ib_conn->state == ISER_CONN_DOWN))
573 iser_err("ib conn %p rc = %d\n", ib_conn, rc);
586 struct iser_conn *ib_conn;
588 ib_conn = ep->dd_data;
589 if (ib_conn->iser_conn)
592 * iscsi_conn, so we know we are not accessing the ib_conn
597 iscsi_suspend_tx(ib_conn->iser_conn->iscsi_conn);
600 iser_err("ib conn %p state %d\n",ib_conn, ib_conn->state);
601 iser_conn_terminate(ib_conn);