Lines Matching defs:rport
1043 srp_rport_get(target->rport);
1046 srp_stop_rport_timers(target->rport);
1054 srp_rport_put(target->rport);
1075 static void srp_rport_delete(struct srp_rport *rport)
1077 struct srp_target_port *target = rport->lld_data;
1292 static void srp_terminate_io(struct srp_rport *rport)
1294 struct srp_target_port *target = rport->lld_data;
1327 * serializes calls of this function via rport->mutex and also blocks
1330 static int srp_rport_reconnect(struct srp_rport *rport)
1332 struct srp_target_port *target = rport->lld_data;
2122 * Note: This function may get invoked before the rport has been created,
2123 * hence the target->rport test.
2130 if (target->rport)
2131 srp_start_tl_fail_timers(target->rport);
2162 scmnd->result = srp_chkready(target->rport);
2716 struct srp_rport *rport = target->rport;
2726 * Lock the rport mutex to avoid that srp_create_ch_ib() is
2729 mutex_lock(&rport->mutex);
2735 mutex_unlock(&rport->mutex);
2763 mutex_unlock(&rport->mutex);
2771 mutex_unlock(&rport->mutex);
2802 if (target->rport->state == SRP_RPORT_LOST)
2832 return srp_reconnect_rport(target->rport) == 0 ? SUCCESS : FAILED;
3088 struct srp_rport *rport;
3100 rport = srp_rport_add(target->scsi_host, &ids);
3101 if (IS_ERR(rport)) {
3103 return PTR_ERR(rport);
3106 rport->lld_data = target;
3107 target->rport = rport;