• Home
  • Raw
  • Download

Lines Matching refs:rport

940 	srp_rport_get(target->rport);  in srp_remove_target()
943 srp_stop_rport_timers(target->rport); in srp_remove_target()
950 srp_rport_put(target->rport); in srp_remove_target()
975 static void srp_rport_delete(struct srp_rport *rport) in srp_rport_delete() argument
977 struct srp_target_port *target = rport->lld_data; in srp_rport_delete()
1178 static void srp_terminate_io(struct srp_rport *rport) in srp_terminate_io() argument
1180 struct srp_target_port *target = rport->lld_data; in srp_terminate_io()
1214 static int srp_rport_reconnect(struct srp_rport *rport) in srp_rport_reconnect() argument
1216 struct srp_target_port *target = rport->lld_data; in srp_rport_reconnect()
2112 if (target->rport) in srp_tl_err_work()
2113 srp_start_tl_fail_timers(target->rport); in srp_tl_err_work()
2135 struct srp_rport *rport = target->rport; in srp_queuecommand() local
2154 mutex_lock(&rport->mutex); in srp_queuecommand()
2156 scmnd->result = srp_chkready(target->rport); in srp_queuecommand()
2221 mutex_unlock(&rport->mutex); in srp_queuecommand()
2571 struct srp_rport *rport = target->rport; in srp_send_tsk_mgmt() local
2584 mutex_lock(&rport->mutex); in srp_send_tsk_mgmt()
2590 mutex_unlock(&rport->mutex); in srp_send_tsk_mgmt()
2616 mutex_unlock(&rport->mutex); in srp_send_tsk_mgmt()
2624 mutex_unlock(&rport->mutex); in srp_send_tsk_mgmt()
2656 else if (target->rport->state == SRP_RPORT_LOST) in srp_abort()
2693 return srp_reconnect_rport(target->rport) == 0 ? SUCCESS : FAILED; in srp_reset_host()
2940 struct srp_rport *rport; in srp_add_target() local
2952 rport = srp_rport_add(target->scsi_host, &ids); in srp_add_target()
2953 if (IS_ERR(rport)) { in srp_add_target()
2955 return PTR_ERR(rport); in srp_add_target()
2958 rport->lld_data = target; in srp_add_target()
2959 target->rport = rport; in srp_add_target()