Lines Matching defs:tsdev
894 struct sbp_dev *tsdev, *sdev = (struct sbp_dev *)xfer->sc;
905 tsdev = target->luns[i];
906 if (tsdev != NULL && tsdev->status == SBP_DEV_LOGIN)
907 sbp_login(tsdev);
2177 struct sbp_dev *tsdev;
2181 tsdev = target->luns[i];
2182 if (tsdev == NULL)
2184 if (tsdev->status == SBP_DEV_DEAD)
2186 if (tsdev->status == SBP_DEV_RESET)
2188 xpt_freeze_devq(tsdev->path, 1);
2189 tsdev->freeze++;
2190 sbp_abort_all_ocbs(tsdev, CAM_CMD_TIMEOUT);
2192 tsdev->status = SBP_DEV_LOGIN;