/drivers/scsi/bfa/ |
H A D | bfa_fcs_rport.c | 19 * rport.c Remote port implementation. 43 static void bfa_fcs_rport_free(struct bfa_fcs_rport_s *rport); 44 static void bfa_fcs_rport_hal_online(struct bfa_fcs_rport_s *rport); 45 static void bfa_fcs_rport_fcs_online_action(struct bfa_fcs_rport_s *rport); 46 static void bfa_fcs_rport_hal_online_action(struct bfa_fcs_rport_s *rport); 47 static void bfa_fcs_rport_fcs_offline_action(struct bfa_fcs_rport_s *rport); 48 static void bfa_fcs_rport_hal_offline_action(struct bfa_fcs_rport_s *rport); 49 static void bfa_fcs_rport_update(struct bfa_fcs_rport_s *rport, 79 static void bfa_fcs_rport_process_prli(struct bfa_fcs_rport_s *rport, 81 static void bfa_fcs_rport_send_ls_rjt(struct bfa_fcs_rport_s *rport, 178 bfa_fcs_rport_sm_uninit(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 216 bfa_fcs_rport_sm_plogi_sending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 277 bfa_fcs_rport_sm_plogiacc_sending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 343 bfa_fcs_rport_sm_plogi_retry(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 414 bfa_fcs_rport_sm_plogi(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 523 bfa_fcs_rport_sm_fc4_fcs_online(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 589 bfa_fcs_rport_sm_hal_online(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 639 bfa_fcs_rport_sm_online(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 692 bfa_fcs_rport_sm_nsquery_sending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 742 bfa_fcs_rport_sm_nsquery(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 801 bfa_fcs_rport_sm_adisc_online_sending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 852 bfa_fcs_rport_sm_adisc_online(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 915 bfa_fcs_rport_sm_adisc_offline_sending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 956 bfa_fcs_rport_sm_adisc_offline(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1003 bfa_fcs_rport_sm_fc4_logorcv(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1043 bfa_fcs_rport_sm_fc4_logosend(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1078 bfa_fcs_rport_sm_fc4_offline(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1129 bfa_fcs_rport_sm_hcb_offline(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1211 bfa_fcs_rport_sm_hcb_logorcv(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1290 bfa_fcs_rport_sm_hcb_logosend(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1326 bfa_fcs_rport_sm_logo_sending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1367 bfa_fcs_rport_sm_offline(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1435 bfa_fcs_rport_sm_nsdisc_sending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1492 bfa_fcs_rport_sm_nsdisc_retry(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1556 bfa_fcs_rport_sm_nsdisc_sent(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1647 bfa_fcs_rport_sm_fc4_off_delete(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1676 bfa_fcs_rport_sm_delete_pending(struct bfa_fcs_rport_s *rport, enum rport_event event) argument 1707 struct bfa_fcs_rport_s *rport = rport_cbarg; local 1743 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 1827 struct bfa_fcs_rport_s *rport = rport_cbarg; local 1861 struct bfa_fcs_rport_s *rport = rport_cbarg; local 1895 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 1924 struct bfa_fcs_rport_s *rport = rport_cbarg; local 1964 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 2037 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 2080 struct bfa_fcs_rport_s *rport = rport_cbarg; local 2118 struct bfa_fcs_rport_s *rport = rport_cbarg; local 2158 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) arg; local 2166 bfa_fcs_rport_process_prli(struct bfa_fcs_rport_s *rport, struct fchs_s *rx_fchs, u16 len) argument 2212 bfa_fcs_rport_process_rpsc(struct bfa_fcs_rport_s *rport, struct fchs_s *rx_fchs, u16 len) argument 2249 bfa_fcs_rport_process_adisc(struct bfa_fcs_rport_s *rport, struct fchs_s *rx_fchs, u16 len) argument 2291 bfa_fcs_rport_hal_online(struct bfa_fcs_rport_s *rport) argument 2308 bfa_fcs_rport_hal_offline(struct bfa_fcs_rport_s *rport) argument 2320 struct bfa_fcs_rport_s *rport; local 2377 bfa_fcs_rport_free(struct bfa_fcs_rport_s *rport) argument 2406 bfa_fcs_rport_aen_post(struct bfa_fcs_rport_s *rport, enum bfa_rport_aen_event event, struct bfa_rport_aen_data_s *data) argument 2435 bfa_fcs_rport_fcs_online_action(struct bfa_fcs_rport_s *rport) argument 2446 bfa_fcs_rport_hal_online_action(struct bfa_fcs_rport_s *rport) argument 2477 bfa_fcs_rport_fcs_offline_action(struct bfa_fcs_rport_s *rport) argument 2486 bfa_fcs_rport_hal_offline_action(struct bfa_fcs_rport_s *rport) argument 2531 bfa_fcs_rport_update(struct bfa_fcs_rport_s *rport, struct fc_logi_s *plogi) argument 2589 bfa_fcs_rport_process_logo(struct bfa_fcs_rport_s *rport, struct fchs_s *fchs) argument 2617 struct bfa_fcs_rport_s *rport; local 2639 struct bfa_fcs_rport_s *rport; local 2659 struct bfa_fcs_rport_s *rport; local 2678 struct bfa_fcs_rport_s *rport; local 2698 bfa_fcs_rport_plogi(struct bfa_fcs_rport_s *rport, struct fchs_s *rx_fchs, struct fc_logi_s *plogi) argument 2722 bfa_fcs_rport_scn(struct bfa_fcs_rport_s *rport) argument 2745 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 2767 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 2792 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 2819 bfa_cb_rport_scn_no_dev(void *rport) argument 2861 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; local 2873 bfa_fcs_rport_uf_recv(struct bfa_fcs_rport_s *rport, struct fchs_s *fchs, u16 len) argument 2928 bfa_fcs_rport_send_prlo_acc(struct bfa_fcs_rport_s *rport) argument 2953 bfa_fcs_rport_send_ls_rjt(struct bfa_fcs_rport_s *rport, struct fchs_s *rx_fchs, u8 reason_code, u8 reason_code_expl) argument 2980 bfa_fcs_rport_get_state(struct bfa_fcs_rport_s *rport) argument 3002 bfa_fcs_rport_prlo(struct bfa_fcs_rport_s *rport, __be16 ox_id) argument 3023 bfa_fcs_rport_get_attr(struct bfa_fcs_rport_s *rport, struct bfa_rport_attr_s *rport_attr) argument 3079 struct bfa_fcs_rport_s *rport; local 3094 struct bfa_fcs_rport_s *rport; local 3155 struct bfa_fcs_rport_s *rport = rpf->rport; local 3186 struct bfa_fcs_rport_s *rport = rpf->rport; local 3209 struct bfa_fcs_rport_s *rport = rpf->rport; local 3255 struct bfa_fcs_rport_s *rport = rpf->rport; local 3281 struct bfa_fcs_rport_s *rport = rpf->rport; local 3301 struct bfa_fcs_rport_s *rport = rpf->rport; local 3324 bfa_fcs_rpf_init(struct bfa_fcs_rport_s *rport) argument 3338 bfa_fcs_rpf_rport_online(struct bfa_fcs_rport_s *rport) argument 3353 bfa_fcs_rpf_rport_offline(struct bfa_fcs_rport_s *rport) argument 3368 struct bfa_fcs_rport_s *rport = rpf->rport; local 3378 struct bfa_fcs_rport_s *rport = rpf->rport; local 3412 struct bfa_fcs_rport_s *rport = rpf->rport; local [all...] |
H A D | bfa_fcs_fcpim.c | 81 bfa_trc(itnim->fcs, itnim->rport->pwwn); 92 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); 113 bfa_trc(itnim->fcs, itnim->rport->pwwn); 124 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); 130 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); 148 bfa_trc(itnim->fcs, itnim->rport->pwwn); 153 if (itnim->rport->scsi_function == BFA_RPORT_INITIATOR) 159 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); 176 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); 182 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLIN 424 struct bfa_fcs_rport_s *rport = itnim->rport; local 451 struct bfa_fcs_rport_s *rport = itnim->rport; local 585 bfa_fcs_itnim_create(struct bfa_fcs_rport_s *rport) argument 753 struct bfa_fcs_rport_s *rport; local [all...] |
H A D | bfa_fcs.h | 292 struct bfa_rport_qualifier_s rport[], int *nrports); 341 struct bfa_fcs_rport_s *rport); 343 struct bfa_fcs_rport_s *rport); 413 struct bfa_fcs_rport_s *rport; /* parent rport */ member in struct:bfa_fcs_rpf_s 423 * not supported by the rport. 432 u32 pid; /* port ID of rport */ 433 u32 old_pid; /* PID before rport goes offline */ 440 wwn_t pwwn; /* port wwn of rport */ 441 wwn_t nwwn; /* node wwn of rport */ 460 bfa_fcs_rport_get_halrport(struct bfa_fcs_rport_s *rport) argument 507 struct bfa_fcs_rport_s *rport; /* parent remote rport */ member in struct:bfa_fcs_itnim_s [all...] |
H A D | bfa_fcs_lport.c | 185 struct bfa_fcs_rport_s *rport; local 210 rport = (struct bfa_fcs_rport_s *) qe; 211 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); 226 rport = (struct bfa_fcs_rport_s *) qe; 227 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); 245 struct bfa_fcs_rport_s *rport; local 268 rport = (struct bfa_fcs_rport_s *) qe; 269 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); 281 rport = (struct bfa_fcs_rport_s *) qe; 282 bfa_sm_send_event(rport, RPSM_EVENT_DELET 439 struct bfa_fcs_rport_s *rport; local 673 struct bfa_fcs_rport_s *rport; local 769 struct bfa_fcs_rport_s *rport = NULL; local 898 struct bfa_fcs_rport_s *rport; local 917 struct bfa_fcs_rport_s *rport; local 936 struct bfa_fcs_rport_s *rport; local 955 struct bfa_fcs_rport_s *rport; local 975 struct bfa_fcs_rport_s *rport; local 992 bfa_fcs_lport_add_rport( struct bfa_fcs_lport_s *port, struct bfa_fcs_rport_s *rport) argument 1004 bfa_fcs_lport_del_rport( struct bfa_fcs_lport_s *port, struct bfa_fcs_rport_s *rport) argument 1222 struct bfa_fcs_rport_s *rport; local 1325 struct bfa_fcs_rport_s *rport; local 5032 struct bfa_fcs_rport_s *rport; local 5143 struct bfa_fcs_rport_s *rport; local 5550 struct bfa_fcs_rport_s *rport; local 5605 struct bfa_fcs_rport_s *rport; local 5726 struct bfa_fcs_rport_s *rport = NULL; local 5774 struct bfa_fcs_rport_s *rport = NULL; local 5824 struct bfa_fcs_rport_s *rport = NULL; local [all...] |
H A D | bfad_im.c | 924 struct fc_rport *rport) 927 (struct bfad_itnim_data_s *) rport->dd_data; 929 struct bfa_rport_s *bfa_rport = itnim_data->itnim->bfa_itnim->rport; 951 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 955 if (!rport || fc_remote_port_chkready(rport)) 958 itnim_data = (struct bfad_itnim_data_s *) rport->dd_data; 976 if (bfad_im_check_if_make_lun_visible(sdev, rport) != 981 sdev->hostdata = rport->dd_data; 1210 struct fc_rport *rport local 923 bfad_im_check_if_make_lun_visible(struct scsi_device *sdev, struct fc_rport *rport) argument [all...] |
H A D | bfa_fcpim.c | 440 if (itnim->rport->rport_info.lp_tag != lp_tag) 518 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 539 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 570 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 605 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 643 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 670 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 712 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 744 bfa_trc(itnim->bfa, itnim->rport->rport_tag); 781 bfa_trc(itnim->bfa, itnim->rport 1408 bfa_itnim_create(struct bfa_s *bfa, struct bfa_rport_s *rport, void *ditn) argument 3798 bfa_itn_create(struct bfa_s *bfa, struct bfa_rport_s *rport, void (*isr)(struct bfa_s *bfa, struct bfi_msg_s *m)) argument [all...] |
/drivers/scsi/ |
H A D | scsi_transport_srp.c | 126 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 127 return sprintf(buf, SRP_PID_FMT "\n", SRP_PID(rport)); 144 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 149 if (srp_rport_role_names[i].value == rport->roles) { 162 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 167 i->f->rport_delete(rport); 186 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 187 enum srp_rport_state state = rport->state; 216 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 218 return srp_show_tmo(buf, rport 225 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 256 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 267 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 276 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 302 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 311 struct srp_rport *rport = transport_class_to_srp_rport(dev); local 333 srp_rport_set_state(struct srp_rport *rport, enum srp_rport_state new_state) argument 381 struct srp_rport *rport = container_of(to_delayed_work(work), local 399 __rport_fail_io_fast(struct srp_rport *rport) argument 422 struct srp_rport *rport = container_of(to_delayed_work(work), local 441 struct srp_rport *rport = container_of(to_delayed_work(work), local 457 __srp_start_tl_fail_timers(struct srp_rport *rport) argument 498 srp_start_tl_fail_timers(struct srp_rport *rport) argument 549 srp_reconnect_rport(struct srp_rport *rport) argument 629 struct srp_rport *rport = dev_to_rport(dev); local 681 srp_rport_get(struct srp_rport *rport) argument 691 srp_rport_put(struct srp_rport *rport) argument 707 struct srp_rport *rport; local 762 srp_rport_del(struct srp_rport *rport) argument 802 srp_stop_rport_timers(struct srp_rport *rport) argument [all...] |
H A D | scsi_transport_fc.c | 357 struct fc_rport *rport = starget_to_rport(starget); local 364 if (rport) { 365 fc_starget_node_name(starget) = rport->node_name; 366 fc_starget_port_name(starget) = rport->port_name; 367 fc_starget_port_id(starget) = rport->port_id; 703 struct fc_rport *rport = transport_class_to_rport(dev); \ 704 struct Scsi_Host *shost = rport_to_shost(rport); \ 707 !((rport->port_state == FC_PORTSTATE_BLOCKED) || \ 708 (rport->port_state == FC_PORTSTATE_DELETED) || \ 709 (rport 833 struct fc_rport *rport = transport_class_to_rport(dev); local 862 fc_rport_set_dev_loss_tmo(struct fc_rport *rport, unsigned long val) argument 895 struct fc_rport *rport = transport_class_to_rport(dev); local 922 struct fc_rport *rport = transport_class_to_rport(dev); local 961 struct fc_rport *rport = transport_class_to_rport(dev); local 975 struct fc_rport *rport = transport_class_to_rport(dev); local 1610 struct fc_rport *rport; local 1665 struct fc_rport *rport; local 1991 struct fc_rport *rport = dev_to_rport(dev); local 2081 struct fc_rport *rport = starget_to_rport(scsi_target(scmd->device)); local 2097 struct fc_rport *rport; local 2440 struct fc_rport *rport = NULL, *next_rport = NULL; local 2487 fc_terminate_rport_io(struct fc_rport *rport) argument 2511 struct fc_rport *rport = local 2526 struct fc_rport *rport = local 2612 struct fc_rport *rport; local 2738 struct fc_rport *rport; local 2974 fc_remote_port_delete(struct fc_rport *rport) argument 3048 fc_remote_port_rolechg(struct fc_rport *rport, u32 roles) argument 3115 struct fc_rport *rport = local 3252 struct fc_rport *rport = local 3269 struct fc_rport *rport = local 3304 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); local 3696 fc_req_to_bsgjob(struct Scsi_Host *shost, struct fc_rport *rport, struct request *req) argument 3854 fc_bsg_goose_queue(struct fc_rport *rport) argument 3875 fc_bsg_rport_dispatch(struct request_queue *q, struct Scsi_Host *shost, struct fc_rport *rport, struct fc_bsg_job *job) argument 3932 fc_bsg_request_handler(struct request_queue *q, struct Scsi_Host *shost, struct fc_rport *rport, struct device *dev) argument 4023 struct fc_rport *rport = q->queuedata; local 4086 fc_bsg_rportadd(struct Scsi_Host *shost, struct fc_rport *rport) argument [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_scsi.c | 86 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); local 93 scsi_result = fc_remote_port_chkready(rport); 116 * fc_remote_port_chkready until rport is BLOCKED 133 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 141 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); 382 port->rport = NULL; 537 static void zfcp_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) argument 539 rport->dev_loss_tmo = timeout; 543 * zfcp_scsi_terminate_rport_io - Terminate all I/O on a rport 544 * @rport 552 zfcp_scsi_terminate_rport_io(struct fc_rport *rport) argument 570 struct fc_rport *rport; local 598 struct fc_rport *rport = port->rport; local [all...] |
H A D | zfcp_unit.c | 23 struct fc_rport *rport = unit->port->rport; local 28 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) 29 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, 1);
|
/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 64 struct fc_rport *rport; local 73 rport = rn->rport; 74 CSIO_ASSERT(rport != NULL); 78 rn->rport = fc_remote_port_add(shost, 0, &ids); 79 if (!rn->rport) { 80 csio_ln_err(ln, "Failed to register rport = 0x%x.\n", 86 rport = rn->rport; 88 *((struct csio_rnode **)rport 124 struct fc_rport *rport = rn->rport; local 368 csio_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) argument 672 csio_dev_loss_tmo_callbk(struct fc_rport *rport) argument [all...] |
H A D | csio_rnode.h | 112 struct fc_rport *rport; /* FC transport rport */ member in struct:csio_rnode
|
/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_debug.c | 54 tgt->rport) 57 tgt->rport->port_id, &vaf);
|
H A D | bnx2fc_tgt.c | 84 struct fc_rport *rport = rdata->rport; local 95 "port_id (%6x)\n", rport->port_id); 109 * rport to list of rports 155 /* couldn't offload the session. log off from this rport */ 355 struct fc_rport *rport = rdata->rport; local 361 tgt->rport = rport; 446 struct fc_rport *rport local [all...] |
H A D | bnx2fc_io.c | 692 struct fc_rport *rport; local 711 rport = starget_to_rport(scsi_target(sc_cmd->device)); 715 if (rport == NULL) { 716 printk(KERN_ERR PFX "device_reset: rport is NULL\n"); 720 rp = rport->dd_data; 731 /* rport and tgt are allocated together, so tgt should be non-NULL */ 779 did = rport->port_id; 852 struct fc_rport *rport = tgt->rport; local 880 if (rport 1163 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local 1858 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local [all...] |
/drivers/message/fusion/ |
H A D | mptfc.c | 84 " transport to wait for an rport to " 102 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)); local 203 while ((ready = fc_remote_port_chkready(rport) >> 16) == DID_IMM_RETRY 264 mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) argument 267 rport->dev_loss_tmo = timeout; 269 rport->dev_loss_tmo = mptfc_dev_loss_tmo; 433 struct fc_rport *rport; local 466 /* MPT_RPORT_INFO_FLAGS_REGISTERED - rport not previously deleted */ 469 rport 519 struct fc_rport *rport; local 541 struct fc_rport *rport; local 576 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev, VirtTarget *vtarget) argument 611 struct fc_rport *rport; local 654 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device)); local [all...] |
/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 919 fsp->rport->port_id, 1111 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; 1129 struct fc_rport *rport; local 1145 rport = fsp->rport; 1146 fsp->max_payload = rport->maxframe_size; 1147 rpriv = rport->dd_data; 1149 fc_fill_fc_hdr(fp, FC_RCTL_DD_UNSOL_CMD, rport->port_id, 1373 struct fc_rport *rport = fsp->rport; local 1403 struct fc_rport *rport; local 1650 struct fc_rport *rport; local 1793 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local 2076 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); local 2158 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local [all...] |
H A D | fc_libfc.h | 26 #define FC_RPORT_LOGGING 0x08 /* rport layer logging */ 60 pr_info("host%u: rport %6.6x: " fmt, \ 76 (pkt)->rport->port_id, \ 81 (pkt)->rport->port_id, ##args); \
|
H A D | fc_rport.c | 24 * rport state machine and does all rport interaction with the transport class. 34 * The rport should never hold the rport mutex and then attempt to acquire 35 * either the lport or disc mutexes. The rport's mutex is considered lesser 40 * the rport's states and is held and released by the entry points to the rport 41 * block. All _enter_* functions correspond to rport states and expect the rport 184 * @rport 187 fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) argument 250 struct fc_rport *rport; local 2061 fc_rport_terminate_io(struct fc_rport *rport) argument [all...] |
/drivers/net/ethernet/sfc/ |
H A D | filter.h | 204 * @rport: Remote port (network byte order) 209 __be32 rhost, __be16 rport) 220 spec->rem_port = rport; 207 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, __be32 lhost, __be16 lport, __be32 rhost, __be16 rport) argument
|
/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 70 lpfc_terminate_rport_io(struct fc_rport *rport) argument 76 rdata = rport->dd_data; 80 if (rport->roles & FC_RPORT_ROLE_FCP_TARGET) 83 rport->port_id); 90 "rport terminate: sid:x%x did:x%x flg:x%x", 104 lpfc_dev_loss_tmo_callbk(struct fc_rport *rport) argument 114 rdata = rport->dd_data; 123 "rport devlosscb: sid:x%x did:x%x flg:x%x", 127 "3181 dev_loss_callbk x%06x, rport %p flg x%x\n", 128 ndlp->nlp_DID, ndlp->rport, ndl 215 struct fc_rport *rport; local 3893 struct fc_rport *rport; local 3958 struct fc_rport *rport = ndlp->rport; local [all...] |
/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 1028 * ibmvfc_set_rport_dev_loss_tmo - Set rport's device loss timeout 1029 * @rport: rport struct 1035 static void ibmvfc_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) argument 1038 rport->dev_loss_tmo = timeout; 1040 rport->dev_loss_tmo = 1; 1505 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 1509 if (rport == tgt->rport) { 1615 struct fc_rport *rport local 1830 struct fc_rport *rport = job->rport; local 1975 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 2047 ibmvfc_match_rport(struct ibmvfc_event *evt, void *rport) argument 2159 struct fc_rport *rport = starget_to_rport(starget); local 2290 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 2552 ibmvfc_terminate_rport_io(struct fc_rport *rport) argument 2847 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); local 4329 struct fc_rport *rport; local 4378 struct fc_rport *rport; local 4744 struct fc_rport *rport; local [all...] |
/drivers/scsi/fnic/ |
H A D | fnic_scsi.c | 324 struct fc_rport *rport = starget_to_rport(scsi_target(sc->device)); local 325 struct fc_rport_libfc_priv *rp = rport->dd_data; 402 rport->maxframe_size, rp->r_a_tov, 423 struct fc_rport *rport; local 437 rport = starget_to_rport(scsi_target(sc->device)); 438 ret = fc_remote_port_chkready(rport); 509 io_req->port_id = rport->port_id; 1498 * belongs to rport that went away 1568 void fnic_terminate_rport_io(struct fc_rport *rport) argument 1586 if (!rport) { 1727 struct fc_rport *rport; local 2183 struct fc_rport *rport; local [all...] |
/drivers/infiniband/hw/amso1100/ |
H A D | c2_ae.c | 214 raddr->sin_port = res->rport; 289 raddr->sin_port = req->rport;
|
/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 866 srp_rport_get(target->rport); 869 srp_stop_rport_timers(target->rport); 874 srp_rport_put(target->rport); 894 static void srp_rport_delete(struct srp_rport *rport) argument 896 struct srp_target_port *target = rport->lld_data; 1085 static void srp_terminate_io(struct srp_rport *rport) argument 1087 struct srp_target_port *target = rport->lld_data; 1111 * serializes calls of this function via rport->mutex and also blocks 1114 static int srp_rport_reconnect(struct srp_rport *rport) argument 1116 struct srp_target_port *target = rport 1854 struct srp_rport *rport = target->rport; local 2315 struct srp_rport *rport = target->rport; local 2619 struct srp_rport *rport; local [all...] |