Searched refs:fc_rport (Results 1 - 44 of 44) sorted by relevance

/linux-4.1.27/drivers/scsi/libfc/
H A DMakefile12 fc_rport.o \
H A Dfc_fcp.c1144 struct fc_rport *rport; fc_fcp_cmd_send()
1388 struct fc_rport *rport = fsp->rport; fc_fcp_timeout()
1418 struct fc_rport *rport; fc_fcp_rec()
1665 struct fc_rport *rport; fc_fcp_srr()
1808 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); fc_queuecommand()
2091 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); fc_eh_device_reset()
2173 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); fc_slave_alloc()
H A Dfc_rport.c28 * fc_rport's represent N_Port's within the fabric.
187 void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) fc_set_rport_loss_tmo()
250 struct fc_rport *rport; fc_rport_work()
795 * (means not transition to FLOGI either fc_rport timeout fc_rport_recv_flogi_req()
2061 void fc_rport_terminate_io(struct fc_rport *rport) fc_rport_terminate_io()
H A Dfc_lport.c1416 * fc_rport_enter_dns() - Create a fc_rport for the name server
1533 * fc_rport_enter_fdmi() - Create a fc_rport for the management server
2090 struct fc_rport *rport; fc_lport_bsg_request()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_im.c916 struct fc_rport *rport) bfad_im_check_if_make_lun_visible()
943 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); bfad_im_slave_alloc()
1049 struct fc_rport *fc_rport; bfad_im_fc_rport_add() local
1060 itnim->fc_rport = fc_rport = bfad_im_fc_rport_add()
1063 if (!fc_rport) bfad_im_fc_rport_add()
1066 fc_rport->maxframe_size = bfad_im_fc_rport_add()
1068 fc_rport->supported_classes = bfa_fcs_itnim_get_cos(&itnim->fcs_itnim); bfad_im_fc_rport_add()
1070 itnim_data = fc_rport->dd_data; bfad_im_fc_rport_add()
1076 fc_remote_port_rolechg(fc_rport, rport_ids.roles); bfad_im_fc_rport_add()
1078 if ((fc_rport->scsi_target_id != -1) bfad_im_fc_rport_add()
1079 && (fc_rport->scsi_target_id < MAX_FCP_TARGET)) bfad_im_fc_rport_add()
1080 itnim->scsi_tgt_id = fc_rport->scsi_target_id; bfad_im_fc_rport_add()
1082 itnim->channel = fc_rport->channel; bfad_im_fc_rport_add()
1100 struct fc_rport *fc_rport; bfad_im_itnim_work_handler() local
1110 if (!itnim->fc_rport) { bfad_im_itnim_work_handler()
1136 if (itnim->fc_rport) { bfad_im_itnim_work_handler()
1137 fc_rport = itnim->fc_rport; bfad_im_itnim_work_handler()
1139 fc_rport->dd_data)->itnim = NULL; bfad_im_itnim_work_handler()
1140 itnim->fc_rport = NULL; bfad_im_itnim_work_handler()
1143 fc_rport->dev_loss_tmo = bfad_im_itnim_work_handler()
1145 fc_remote_port_delete(fc_rport); bfad_im_itnim_work_handler()
1162 if (itnim->fc_rport) { bfad_im_itnim_work_handler()
1163 fc_rport = itnim->fc_rport; bfad_im_itnim_work_handler()
1165 fc_rport->dd_data)->itnim = NULL; bfad_im_itnim_work_handler()
1166 itnim->fc_rport = NULL; bfad_im_itnim_work_handler()
1169 fc_rport->dev_loss_tmo = bfad_im_itnim_work_handler()
1171 fc_remote_port_delete(fc_rport); bfad_im_itnim_work_handler()
1202 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); bfad_im_queuecommand_lck()
H A Dbfad_im.h92 struct fc_rport *fc_rport; member in struct:bfad_itnim_s
H A Dbfad_attr.c344 bfad_im_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) bfad_im_set_rport_loss_tmo()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.h16 /* From libfc struct fc_rport->port_id */
H A Dqla_attr.c1755 qla2x00_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) qla2x00_set_rport_loss_tmo()
1764 qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport) qla2x00_dev_loss_tmo_callbk()
1796 qla2x00_terminate_rport_io(struct fc_rport *rport) qla2x00_terminate_rport_io()
H A Dqla_bsg.c247 struct fc_rport *rport; qla2x00_process_els()
2176 struct fc_rport *rport; qla24xx_bsg_request()
H A Dqla_os.c683 struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device)); qla2xxx_queuecommand()
1396 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); qla2xxx_slave_alloc()
3225 struct fc_rport *rport; qla2x00_schedule_rport_del()
H A Dtcm_qla2xxx.c784 pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id); tcm_qla2xxx_clear_nacl_from_fcport_map()
H A Dqla_def.h2018 struct fc_rport *rport, *drport;
H A Dqla_init.c2929 struct fc_rport *rport; qla2x00_rport_del()
3286 struct fc_rport *rport; qla2x00_reg_remote_port()
/linux-4.1.27/drivers/scsi/
H A Dscsi_transport_fc.c49 static int fc_bsg_rportadd(struct Scsi_Host *, struct fc_rport *);
51 static void fc_bsg_goose_queue(struct fc_rport *);
358 struct fc_rport *rport = starget_to_rport(starget); fc_target_setup()
704 struct fc_rport *rport = transport_class_to_rport(dev); \
722 struct fc_rport *rport = transport_class_to_rport(dev); \
760 struct fc_rport *rport = transport_class_to_rport(dev); \
780 struct fc_rport *rport = transport_class_to_rport(dev); \
834 struct fc_rport *rport = transport_class_to_rport(dev); show_fc_rport_supported_classes()
863 static int fc_rport_set_dev_loss_tmo(struct fc_rport *rport, fc_rport_set_dev_loss_tmo()
896 struct fc_rport *rport = transport_class_to_rport(dev); store_fc_rport_dev_loss_tmo()
923 struct fc_rport *rport = transport_class_to_rport(dev); show_fc_rport_roles()
962 struct fc_rport *rport = transport_class_to_rport(dev); show_fc_rport_fast_io_fail_tmo()
976 struct fc_rport *rport = transport_class_to_rport(dev); store_fc_rport_fast_io_fail_tmo()
1022 struct fc_rport *rport = starget_to_rport(starget); \
1611 struct fc_rport *rport; store_fc_private_host_tgtid_bind_type()
1666 struct fc_rport *rport; store_fc_private_host_dev_loss_tmo()
1992 struct fc_rport *rport = dev_to_rport(dev); fc_rport_dev_release()
2082 struct fc_rport *rport = starget_to_rport(scsi_target(scmd->device)); fc_timed_out()
2098 struct fc_rport *rport; fc_user_scan_tgt()
2441 struct fc_rport *rport = NULL, *next_rport = NULL; fc_remove_host()
2488 static void fc_terminate_rport_io(struct fc_rport *rport) fc_terminate_rport_io()
2512 struct fc_rport *rport = fc_starget_delete()
2513 container_of(work, struct fc_rport, stgt_delete_work); fc_starget_delete()
2527 struct fc_rport *rport = fc_rport_final_delete()
2528 container_of(work, struct fc_rport, rport_delete_work); fc_rport_final_delete()
2607 static struct fc_rport * fc_rport_create()
2613 struct fc_rport *rport; fc_rport_create()
2619 size = (sizeof(struct fc_rport) + fci->f->dd_fcrport_size); fc_rport_create()
2733 struct fc_rport * fc_remote_port_add()
2739 struct fc_rport *rport; fc_remote_port_add()
2975 fc_remote_port_delete(struct fc_rport *rport) fc_remote_port_delete()
3049 fc_remote_port_rolechg(struct fc_rport *rport, u32 roles) fc_remote_port_rolechg()
3116 struct fc_rport *rport = fc_timeout_deleted_rport()
3117 container_of(work, struct fc_rport, dev_loss_work.work); fc_timeout_deleted_rport()
3253 struct fc_rport *rport = fc_timeout_fail_rport_io()
3254 container_of(work, struct fc_rport, fail_io_work.work); fc_timeout_fail_rport_io()
3270 struct fc_rport *rport = fc_scsi_scan_rport()
3271 container_of(work, struct fc_rport, scan_work); fc_scsi_scan_rport()
3289 * fc_block_scsi_eh - Block SCSI eh thread for blocked fc_rport
3293 * blocks the scsi_eh thread until the fc_rport leaves the
3298 * Returns: 0 if the fc_rport left the state FC_PORTSTATE_BLOCKED.
3305 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); fc_block_scsi_eh()
3697 fc_req_to_bsgjob(struct Scsi_Host *shost, struct fc_rport *rport, fc_req_to_bsgjob()
3855 fc_bsg_goose_queue(struct fc_rport *rport) fc_bsg_goose_queue()
3877 struct fc_rport *rport, struct fc_bsg_job *job) fc_bsg_rport_dispatch()
3934 struct fc_rport *rport, struct device *dev) fc_bsg_request_handler()
4024 struct fc_rport *rport = q->queuedata; fc_bsg_rport_handler()
4087 fc_bsg_rportadd(struct Scsi_Host *shost, struct fc_rport *rport) fc_bsg_rportadd()
/linux-4.1.27/include/scsi/
H A Dscsi_transport_fc.h329 struct fc_rport { /* aka fc_starget_attrs */ struct
363 /* bit field values for struct fc_rport "flags" field: */
370 container_of(d, struct fc_rport, dev)
639 struct fc_rport *rport;
670 void (*get_rport_dev_loss_tmo)(struct fc_rport *);
671 void (*set_rport_dev_loss_tmo)(struct fc_rport *, u32);
691 void (*dev_loss_tmo_callbk)(struct fc_rport *);
692 void (*terminate_rport_io)(struct fc_rport *);
772 fc_remote_port_chkready(struct fc_rport *rport) fc_remote_port_chkready()
842 struct fc_rport *fc_remote_port_add(struct Scsi_Host *shost,
844 void fc_remote_port_delete(struct fc_rport *rport);
845 void fc_remote_port_rolechg(struct fc_rport *rport, u32 roles);
H A Dlibfc.h198 struct fc_rport *rport;
348 struct fc_rport *rport;
1081 void fc_rport_terminate_io(struct fc_rport *);
1150 void fc_set_rport_loss_tmo(struct fc_rport *, u32 timeout);
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_scsi.c65 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); zfcp_scsi_queuecommand()
112 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); zfcp_scsi_slave_alloc()
517 static void zfcp_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) zfcp_set_rport_dev_loss_tmo()
532 static void zfcp_scsi_terminate_rport_io(struct fc_rport *rport) zfcp_scsi_terminate_rport_io()
550 struct fc_rport *rport; zfcp_scsi_rport_register()
578 struct fc_rport *rport = port->rport; zfcp_scsi_rport_block()
H A Dzfcp_unit.c23 struct fc_rport *rport = unit->port->rport; zfcp_unit_scsi_scan()
47 * after calling fc_remote_port_add, so that the fc_rport is already
H A Dzfcp_def.h200 struct fc_rport *rport; /* rport of fc transport class */
H A Dzfcp_fc.c940 struct fc_rport *rport = job->rport; zfcp_fc_exec_els_job()
/linux-4.1.27/drivers/message/fusion/
H A Dmptfc.c102 static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout);
194 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); mptfc_block_error_handler()
264 mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) mptfc_set_rport_loss_tmo()
433 struct fc_rport *rport; mptfc_register_dev()
519 struct fc_rport *rport; mptfc_target_destroy()
541 struct fc_rport *rport; mptfc_target_alloc()
576 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev, mptfc_dump_lun_info()
611 struct fc_rport *rport; mptfc_slave_alloc()
654 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device)); mptfc_qcmd()
H A Dmptbase.h552 struct fc_rport *rport;
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_attr.c64 struct fc_rport *rport; csio_reg_rnode()
124 struct fc_rport *rport = rn->rport; csio_unreg_rnode()
368 csio_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) csio_set_rport_loss_tmo()
672 csio_dev_loss_tmo_callbk(struct fc_rport *rport) csio_dev_loss_tmo_callbk()
H A Dcsio_rnode.h112 struct fc_rport *rport; /* FC transport rport */
H A Dcsio_scsi.c1785 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); csio_queuecommand()
2228 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); csio_slave_alloc()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_crtn.h23 struct fc_rport;
368 void lpfc_terminate_rport_io(struct fc_rport *);
369 void lpfc_dev_loss_tmo_callbk(struct fc_rport *rport);
H A Dlpfc_disc.h111 struct fc_rport *rport; /* Corresponding FC transport
H A Dlpfc_hbadisc.c70 lpfc_terminate_rport_io(struct fc_rport *rport) lpfc_terminate_rport_io()
104 lpfc_dev_loss_tmo_callbk(struct fc_rport *rport) lpfc_dev_loss_tmo_callbk()
215 struct fc_rport *rport; lpfc_dev_loss_tmo_handler()
3903 struct fc_rport *rport; lpfc_register_remote_port()
3968 struct fc_rport *rport = ndlp->rport; lpfc_unregister_remote_port()
5885 * fc_rports associated with it. If there is an fc_rport
H A Dlpfc_scsi.c352 struct fc_rport *rport; lpfc_scsi_dev_block()
4504 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); lpfc_queuecommand()
5394 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); lpfc_slave_alloc()
H A Dlpfc_attr.c5607 lpfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) lpfc_set_rport_loss_tmo()
5622 * @cdev: class converted to an fc_rport.
5633 struct fc_rport *rport = transport_class_to_rport(dev); \
H A Dlpfc_nportdisc.c717 struct fc_rport *rport = ndlp->rport; lpfc_rcv_prli()
H A Dlpfc_els.c1514 struct fc_rport *rport; lpfc_plogi_confirm_nport()
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c84 struct fc_rport *rport = rdata->rport; bnx2fc_offload_session()
355 struct fc_rport *rport = rdata->rport; bnx2fc_init_tgt()
446 struct fc_rport *rport = rdata->rport; bnx2fc_rport_event_handler()
H A Dbnx2fc.h288 struct fc_rport *rport;
H A Dbnx2fc_io.c692 struct fc_rport *rport; bnx2fc_initiate_tmf()
852 struct fc_rport *rport = tgt->rport; bnx2fc_initiate_abts()
1163 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); bnx2fc_eh_abort()
1842 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); bnx2fc_queuecommand()
H A Dbnx2fc_hwi.c183 struct fc_rport *rport = tgt->rport; bnx2fc_send_session_ofld_req()
364 struct fc_rport *rport = tgt->rport; bnx2fc_send_session_enable_req()
433 struct fc_rport *rport = tgt->rport; bnx2fc_send_session_disable_req()
H A Dbnx2fc_els.c669 struct fc_rport *rport = tgt->rport; bnx2fc_initiate_els()
/linux-4.1.27/drivers/scsi/ibmvscsi/
H A Dibmvfc.c1035 static void ibmvfc_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) ibmvfc_set_rport_dev_loss_tmo()
1505 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); ibmvfc_relogin()
1615 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); ibmvfc_queuecommand_lck()
1819 struct fc_rport *rport = job->rport; ibmvfc_bsg_request()
1964 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); ibmvfc_reset_device()
2038 struct fc_rport *cmd_rport; ibmvfc_match_rport()
2148 struct fc_rport *rport = starget_to_rport(starget); ibmvfc_cancel_all()
2279 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); ibmvfc_abort_task_set()
2541 static void ibmvfc_terminate_rport_io(struct fc_rport *rport) ibmvfc_terminate_rport_io()
2545 struct fc_rport *dev_rport; ibmvfc_terminate_rport_io()
2836 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); ibmvfc_slave_alloc()
4285 struct fc_rport *rport; ibmvfc_tgt_add_rport()
4334 struct fc_rport *rport; ibmvfc_do_work()
4700 struct fc_rport *rport; ibmvfc_rport_add_thread()
H A Dibmvfc.h616 struct fc_rport *rport;
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic.h358 void fnic_terminate_rport_io(struct fc_rport *);
H A Dfnic_scsi.c324 struct fc_rport *rport = starget_to_rport(scsi_target(sc->device)); fnic_queue_wq_copy_desc()
416 struct fc_rport *rport; fnic_queuecommand_lck()
1589 void fnic_terminate_rport_io(struct fc_rport *rport) fnic_terminate_rport_io()
1602 struct fc_rport *cmd_rport; fnic_terminate_rport_io()
1748 struct fc_rport *rport; fnic_abort_cmd()
2219 struct fc_rport *rport; fnic_device_reset()
H A Dfnic_main.c96 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); fnic_slave_alloc()
126 fnic_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) fnic_set_rport_dev_loss_tmo()
/linux-4.1.27/include/uapi/scsi/
H A Dscsi_bsg_fc.h53 /* fc_rport Message Codes */

Completed in 1352 milliseconds