/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_fcs_rport.c | 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, 84 static void bfa_fcs_rport_process_adisc(struct bfa_fcs_rport_s *rport, [all …]
|
D | bfa_fcs_fcpim.c | 81 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline() 92 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); in bfa_fcs_itnim_sm_offline() 113 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send() 124 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); in bfa_fcs_itnim_sm_prli_send() 130 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); in bfa_fcs_itnim_sm_prli_send() 148 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli() 153 if (itnim->rport->scsi_function == BFA_RPORT_INITIATOR) in bfa_fcs_itnim_sm_prli() 159 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); in bfa_fcs_itnim_sm_prli() 176 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); in bfa_fcs_itnim_sm_prli() 182 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); in bfa_fcs_itnim_sm_prli() [all …]
|
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 460 bfa_fcs_rport_get_halrport(struct bfa_fcs_rport_s *rport) in bfa_fcs_rport_get_halrport() argument 462 return rport->bfa_rport; in bfa_fcs_rport_get_halrport() 468 void bfa_fcs_rport_get_attr(struct bfa_fcs_rport_s *rport, 476 void bfa_fcs_rport_uf_recv(struct bfa_fcs_rport_s *rport, 478 void bfa_fcs_rport_scn(struct bfa_fcs_rport_s *rport); 487 void bfa_fcs_rport_plogi(struct bfa_fcs_rport_s *rport, struct fchs_s *fchs, [all …]
|
D | bfa_fcs_lport.c | 185 struct bfa_fcs_rport_s *rport; in bfa_fcs_lport_sm_online() local 210 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_online() 211 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_online() 226 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_online() 227 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_online() 245 struct bfa_fcs_rport_s *rport; in bfa_fcs_lport_sm_offline() local 268 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_offline() 269 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_offline() 281 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_offline() 282 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_offline() [all …]
|
D | bfad_im.c | 916 struct fc_rport *rport) in bfad_im_check_if_make_lun_visible() argument 919 (struct bfad_itnim_data_s *) rport->dd_data; in bfad_im_check_if_make_lun_visible() 921 struct bfa_rport_s *bfa_rport = itnim_data->itnim->bfa_itnim->rport; in bfad_im_check_if_make_lun_visible() 943 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in bfad_im_slave_alloc() local 947 if (!rport || fc_remote_port_chkready(rport)) in bfad_im_slave_alloc() 950 itnim_data = (struct bfad_itnim_data_s *) rport->dd_data; in bfad_im_slave_alloc() 968 if (bfad_im_check_if_make_lun_visible(sdev, rport) != in bfad_im_slave_alloc() 973 sdev->hostdata = rport->dd_data; in bfad_im_slave_alloc() 1202 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in bfad_im_queuecommand_lck() local 1204 rc = fc_remote_port_chkready(rport); in bfad_im_queuecommand_lck()
|
D | bfa_svc.h | 583 void bfa_rport_online(struct bfa_rport_s *rport, 585 void bfa_rport_speed(struct bfa_rport_s *rport, enum bfa_port_speed speed); 586 void bfa_cb_rport_online(void *rport); 587 void bfa_cb_rport_offline(void *rport); 588 void bfa_cb_rport_qos_scn_flowid(void *rport, 594 void bfa_cb_rport_qos_scn_prio(void *rport, 634 void bfa_fcxp_send(struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport,
|
D | bfa_fcpim.c | 440 if (itnim->rport->rport_info.lp_tag != lp_tag) in bfa_fcpim_port_iostats() 518 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_uninit() 539 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_created() 570 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_fwcreate() 605 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_fwcreate_qfull() 643 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_delete_pending() 670 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_online() 712 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_sler() 744 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_cleanup_offline() 781 bfa_trc(itnim->bfa, itnim->rport->rport_tag); in bfa_itnim_sm_cleanup_delete() [all …]
|
D | bfa_fcpim.h | 41 void bfa_itn_create(struct bfa_s *bfa, struct bfa_rport_s *rport, 225 struct bfa_rport_s *rport; /* bfa rport */ member 332 struct bfa_rport_s *rport, void *itnim);
|
D | bfa_svc.c | 30 BFA_MODULE(rport); 250 static void bfa_rport_free(struct bfa_rport_s *rport); 848 struct bfa_rport_s *rport = reqi->bfa_rport; in bfa_fcxp_queue() local 854 if (rport) { in bfa_fcxp_queue() 855 send_req->rport_fw_hndl = rport->fw_handle; in bfa_fcxp_queue() 856 send_req->max_frmsz = cpu_to_be16(rport->rport_info.max_frmsz); in bfa_fcxp_queue() 1055 bfa_fcxp_send(struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport, in bfa_fcxp_send() argument 1070 reqi->bfa_rport = rport; in bfa_fcxp_send() 4961 struct bfa_rport_s *rport; in bfa_rport_iocdisable() local 4968 rport = (struct bfa_rport_s *) qe; in bfa_rport_iocdisable() [all …]
|
D | bfad_attr.c | 344 bfad_im_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) in bfad_im_set_rport_loss_tmo() argument 346 struct bfad_itnim_data_s *itnim_data = rport->dd_data; in bfad_im_set_rport_loss_tmo() 351 rport->dev_loss_tmo = timeout; in bfad_im_set_rport_loss_tmo() 353 rport->dev_loss_tmo = path_tov + 1; in bfad_im_set_rport_loss_tmo()
|
D | bfad_bsg.c | 523 if (itnim->rport->rport_info.lp_tag != fcs_port->lp_tag) in bfad_iocmd_lport_reset_stats() 734 struct bfa_rport_s *rport; in bfad_iocmd_rport_clr_stats() local 754 rport = bfa_fcs_rport_get_halrport(fcs_rport); in bfad_iocmd_rport_clr_stats() 755 if (rport) in bfad_iocmd_rport_clr_stats() 756 memset(&rport->stats, 0, sizeof(rport->stats)); in bfad_iocmd_rport_clr_stats()
|
D | bfad.c | 482 bfa_fcb_rport_alloc(struct bfad_s *bfad, struct bfa_fcs_rport_s **rport, in bfa_fcb_rport_alloc() argument 493 *rport = &(*rport_drv)->fcs_rport; in bfa_fcb_rport_alloc()
|
D | bfa_defs_svc.h | 1444 struct bfa_rport_aen_data_s rport; member
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_transport_srp.c | 131 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_srp_rport_id() local 132 return sprintf(buf, SRP_PID_FMT "\n", SRP_PID(rport)); in show_srp_rport_id() 149 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_srp_rport_roles() local 154 if (srp_rport_role_names[i].value == rport->roles) { in show_srp_rport_roles() 167 struct srp_rport *rport = transport_class_to_srp_rport(dev); in store_srp_rport_delete() local 172 i->f->rport_delete(rport); in store_srp_rport_delete() 191 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_srp_rport_state() local 192 enum srp_rport_state state = rport->state; in show_srp_rport_state() 222 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_reconnect_delay() local 224 return srp_show_tmo(buf, rport->reconnect_delay); in show_reconnect_delay() [all …]
|
D | scsi_transport_fc.c | 358 struct fc_rport *rport = starget_to_rport(starget); in fc_target_setup() local 365 if (rport) { in fc_target_setup() 366 fc_starget_node_name(starget) = rport->node_name; in fc_target_setup() 367 fc_starget_port_name(starget) = rport->port_name; in fc_target_setup() 368 fc_starget_port_id(starget) = rport->port_id; in fc_target_setup() 704 struct fc_rport *rport = transport_class_to_rport(dev); \ 705 struct Scsi_Host *shost = rport_to_shost(rport); \ 708 !((rport->port_state == FC_PORTSTATE_BLOCKED) || \ 709 (rport->port_state == FC_PORTSTATE_DELETED) || \ 710 (rport->port_state == FC_PORTSTATE_NOTPRESENT))) \ [all …]
|
/linux-4.4.14/include/scsi/ |
D | scsi_transport_srp.h | 103 int (*reconnect)(struct srp_rport *rport); 104 void (*terminate_rport_io)(struct srp_rport *rport); 105 void (*rport_delete)(struct srp_rport *rport); 115 extern void srp_rport_get(struct srp_rport *rport); 116 extern void srp_rport_put(struct srp_rport *rport); 123 extern int srp_reconnect_rport(struct srp_rport *rport); 124 extern void srp_start_tl_fail_timers(struct srp_rport *rport); 126 extern void srp_stop_rport_timers(struct srp_rport *rport); 136 static inline int srp_chkready(struct srp_rport *rport) in srp_chkready() argument 138 switch (rport->state) { in srp_chkready()
|
D | scsi_transport_fc.h | 639 struct fc_rport *rport; member 772 fc_remote_port_chkready(struct fc_rport *rport) in fc_remote_port_chkready() argument 776 switch (rport->port_state) { in fc_remote_port_chkready() 778 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) in fc_remote_port_chkready() 780 else if (rport->flags & FC_RPORT_DEVLOSS_PENDING) in fc_remote_port_chkready() 786 if (rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT) in fc_remote_port_chkready() 844 void fc_remote_port_delete(struct fc_rport *rport); 845 void fc_remote_port_rolechg(struct fc_rport *rport, u32 roles);
|
D | libfc.h | 198 struct fc_rport *rport; member 348 struct fc_rport *rport; member
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_scsi.c | 65 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); in zfcp_scsi_queuecommand() local 72 scsi_result = fc_remote_port_chkready(rport); in zfcp_scsi_queuecommand() 112 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_slave_alloc() local 120 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_scsi_slave_alloc() 361 port->rport = NULL; in zfcp_scsi_adapter_unregister() 516 static void zfcp_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) in zfcp_set_rport_dev_loss_tmo() argument 518 rport->dev_loss_tmo = timeout; in zfcp_set_rport_dev_loss_tmo() 531 static void zfcp_scsi_terminate_rport_io(struct fc_rport *rport) in zfcp_scsi_terminate_rport_io() argument 534 struct Scsi_Host *shost = rport_to_shost(rport); in zfcp_scsi_terminate_rport_io() 538 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_scsi_terminate_rport_io() [all …]
|
D | zfcp_unit.c | 23 struct fc_rport *rport = unit->port->rport; in zfcp_unit_scsi_scan() local 28 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) in zfcp_unit_scsi_scan() 29 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, 1); in zfcp_unit_scsi_scan()
|
D | zfcp_fc.c | 940 struct fc_rport *rport = job->rport; in zfcp_fc_exec_els_job() local 944 if (rport) { in zfcp_fc_exec_els_job() 945 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_fc_exec_els_job() 987 shost = job->rport ? rport_to_shost(job->rport) : job->shost; in zfcp_fc_exec_bsg_job()
|
D | zfcp_def.h | 200 struct fc_rport *rport; /* rport of fc transport class */ member
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_attr.c | 64 struct fc_rport *rport; in csio_reg_rnode() local 73 rport = rn->rport; in csio_reg_rnode() 74 CSIO_ASSERT(rport != NULL); in csio_reg_rnode() 78 rn->rport = fc_remote_port_add(shost, 0, &ids); in csio_reg_rnode() 79 if (!rn->rport) { in csio_reg_rnode() 86 rport = rn->rport; in csio_reg_rnode() 88 *((struct csio_rnode **)rport->dd_data) = rn; in csio_reg_rnode() 92 rport->maxframe_size = ntohs(sp->csp.sp_bb_data); in csio_reg_rnode() 94 rport->supported_classes = FC_COS_CLASS3; in csio_reg_rnode() 96 rport->supported_classes = FC_COS_UNSPECIFIED; in csio_reg_rnode() [all …]
|
D | csio_rnode.h | 112 struct fc_rport *rport; /* FC transport rport */ member
|
D | csio_scsi.c | 1785 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in csio_queuecommand() local 1794 nr = fc_remote_port_chkready(rport); in csio_queuecommand() 2102 if (fc_remote_port_chkready(rn->rport)) { in csio_eh_lun_reset_handler() 2228 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in csio_slave_alloc() local 2230 if (!rport || fc_remote_port_chkready(rport)) in csio_slave_alloc() 2233 sdev->hostdata = *((struct csio_lnode **)(rport->dd_data)); in csio_slave_alloc()
|
/linux-4.4.14/arch/um/drivers/ |
D | umcast_kern.c | 22 int rport; member 37 dpri->rport = init->rport; in umcast_init() 44 "%u\n", dpri->addr, dpri->rport, dpri->lport); in umcast_init() 108 init->rport = init->lport; in mcast_setup() 125 .rport = 1102 }); in ucast_setup() 145 init->rport = simple_strtoul(rport_str, &last, 10); in ucast_setup() 156 init->lport, init->addr, init->rport); in ucast_setup()
|
D | umcast.h | 14 unsigned short rport; member
|
D | umcast_user.c | 45 pri->remote_addr = new_addr(pri->addr, pri->rport); in umcast_user_init()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptfc.c | 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)); in mptfc_block_error_handler() local 203 while ((ready = fc_remote_port_chkready(rport) >> 16) == DID_IMM_RETRY in mptfc_block_error_handler() 264 mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) in mptfc_set_rport_loss_tmo() argument 267 rport->dev_loss_tmo = timeout; in mptfc_set_rport_loss_tmo() 269 rport->dev_loss_tmo = mptfc_dev_loss_tmo; in mptfc_set_rport_loss_tmo() 433 struct fc_rport *rport; in mptfc_register_dev() local 469 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids); in mptfc_register_dev() 470 if (rport) { in mptfc_register_dev() 471 ri->rport = rport; in mptfc_register_dev() [all …]
|
D | mptbase.h | 552 struct fc_rport *rport; member
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_fcp.c | 919 fsp->rport->port_id, in fc_fcp_resp() 1126 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; in get_fsp_rec_tov() 1144 struct fc_rport *rport; in fc_fcp_cmd_send() local 1160 rport = fsp->rport; in fc_fcp_cmd_send() 1161 fsp->max_payload = rport->maxframe_size; in fc_fcp_cmd_send() 1162 rpriv = rport->dd_data; in fc_fcp_cmd_send() 1164 fc_fill_fc_hdr(fp, FC_RCTL_DD_UNSOL_CMD, rport->port_id, in fc_fcp_cmd_send() 1388 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local 1389 struct fc_rport_libfc_priv *rpriv = rport->dd_data; in fc_fcp_timeout() 1418 struct fc_rport *rport; in fc_fcp_rec() local [all …]
|
D | fc_rport.c | 187 void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) in fc_set_rport_loss_tmo() argument 190 rport->dev_loss_tmo = timeout; in fc_set_rport_loss_tmo() 192 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo() 250 struct fc_rport *rport; in fc_rport_work() local 257 rport = rdata->rport; in fc_rport_work() 269 if (!rport) in fc_rport_work() 270 rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work() 271 if (!rport) { in fc_rport_work() 278 if (rdata->rport) in fc_rport_work() 280 rdata->rport = rport; in fc_rport_work() [all …]
|
D | fc_libfc.h | 76 (pkt)->rport->port_id, \ 81 (pkt)->rport->port_id, ##args); \
|
D | fc_lport.c | 2090 struct fc_rport *rport; in fc_lport_bsg_request() local 2103 rport = job->rport; in fc_lport_bsg_request() 2104 if (!rport) in fc_lport_bsg_request() 2107 rdata = rport->dd_data; in fc_lport_bsg_request() 2108 rc = fc_lport_els_request(job, lport, rport->port_id, in fc_lport_bsg_request() 2113 rport = job->rport; in fc_lport_bsg_request() 2114 if (!rport) in fc_lport_bsg_request() 2117 rdata = rport->dd_data; in fc_lport_bsg_request() 2118 rc = fc_lport_ct_request(job, lport, rport->port_id, in fc_lport_bsg_request()
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
D | of_coresight.c | 115 struct device_node *rport = NULL; in of_get_coresight_platform_data() local 160 rport = of_graph_get_remote_port(ep); in of_get_coresight_platform_data() 162 if (!rparent || !rport) in of_get_coresight_platform_data() 165 if (of_graph_parse_endpoint(rport, &rendpoint)) in of_get_coresight_platform_data()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 84 struct fc_rport *rport = rdata->rport; in bnx2fc_offload_session() local 95 "port_id (%6x)\n", rport->port_id); in bnx2fc_offload_session() 355 struct fc_rport *rport = rdata->rport; in bnx2fc_init_tgt() local 361 tgt->rport = rport; in bnx2fc_init_tgt() 446 struct fc_rport *rport = rdata->rport; in bnx2fc_rport_event_handler() local 455 if (!rport) { in bnx2fc_rport_event_handler() 460 rp = rport->dd_data; in bnx2fc_rport_event_handler() 461 if (rport->port_id == FC_FID_DIR_SERV) { in bnx2fc_rport_event_handler() 532 if (!rport) { in bnx2fc_rport_event_handler() 537 rp = rport->dd_data; in bnx2fc_rport_event_handler()
|
D | bnx2fc_debug.c | 54 tgt->rport) in BNX2FC_TGT_DBG() 57 tgt->rport->port_id, &vaf); in BNX2FC_TGT_DBG()
|
D | bnx2fc_io.c | 651 struct fc_rport *rport; in bnx2fc_initiate_tmf() local 670 rport = starget_to_rport(scsi_target(sc_cmd->device)); in bnx2fc_initiate_tmf() 674 if (rport == NULL) { in bnx2fc_initiate_tmf() 679 rp = rport->dd_data; in bnx2fc_initiate_tmf() 738 did = rport->port_id; in bnx2fc_initiate_tmf() 811 struct fc_rport *rport = tgt->rport; in bnx2fc_initiate_abts() local 839 if (rport == NULL) { in bnx2fc_initiate_abts() 875 did = rport->port_id; in bnx2fc_initiate_abts() 1102 struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device)); in bnx2fc_eh_abort() local 1103 struct fc_rport_libfc_priv *rp = rport->dd_data; in bnx2fc_eh_abort() [all …]
|
D | bnx2fc_hwi.c | 183 struct fc_rport *rport = tgt->rport; in bnx2fc_send_session_ofld_req() local 258 port_id = rport->port_id; in bnx2fc_send_session_ofld_req() 364 struct fc_rport *rport = tgt->rport; in bnx2fc_send_session_enable_req() local 401 port_id = rport->port_id; in bnx2fc_send_session_enable_req() 433 struct fc_rport *rport = tgt->rport; in bnx2fc_send_session_disable_req() local 464 port_id = rport->port_id; in bnx2fc_send_session_disable_req()
|
D | bnx2fc_els.c | 669 struct fc_rport *rport = tgt->rport; in bnx2fc_initiate_els() local 681 rc = fc_remote_port_chkready(rport); in bnx2fc_initiate_els() 748 did = tgt->rport->port_id; in bnx2fc_initiate_els()
|
D | bnx2fc.h | 288 struct fc_rport *rport; member 543 struct fc_rport_priv *rport,
|
/linux-4.4.14/net/bridge/ |
D | br_forward.c | 269 struct net_bridge_port *port, *lport, *rport; in br_multicast_flood() local 272 rport = rp ? hlist_entry(rp, struct net_bridge_port, rlist) : in br_multicast_flood() 275 port = (unsigned long)lport > (unsigned long)rport ? in br_multicast_flood() 276 lport : rport; in br_multicast_flood() 284 if ((unsigned long)rport >= (unsigned long)port) in br_multicast_flood()
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1035 static void ibmvfc_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) in ibmvfc_set_rport_dev_loss_tmo() argument 1038 rport->dev_loss_tmo = timeout; in ibmvfc_set_rport_dev_loss_tmo() 1040 rport->dev_loss_tmo = 1; in ibmvfc_set_rport_dev_loss_tmo() 1505 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_relogin() local 1509 if (rport == tgt->rport) { in ibmvfc_relogin() 1615 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in ibmvfc_queuecommand_lck() local 1620 if (unlikely((rc = fc_remote_port_chkready(rport))) || in ibmvfc_queuecommand_lck() 1640 vfc_cmd->tgt_scsi_id = cpu_to_be64(rport->port_id); in ibmvfc_queuecommand_lck() 1819 struct fc_rport *rport = job->rport; in ibmvfc_bsg_request() local 1830 if (rport) in ibmvfc_bsg_request() [all …]
|
D | ibmvscsi.c | 2246 struct srp_rport *rport; in ibmvscsi_probe() local 2308 rport = srp_rport_add(host, &ids); in ibmvscsi_probe() 2309 if (IS_ERR(rport)) in ibmvscsi_probe()
|
D | ibmvfc.h | 616 struct fc_rport *rport; member
|
/linux-4.4.14/Documentation/DocBook/ |
D | scsi.xml.db | 149 API-srp-reconnect-rport 150 API-srp-rport-get 151 API-srp-rport-put 152 API-srp-rport-add 153 API-srp-rport-del 155 API-srp-stop-rport-timers
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 70 lpfc_terminate_rport_io(struct fc_rport *rport) in lpfc_terminate_rport_io() argument 76 rdata = rport->dd_data; in lpfc_terminate_rport_io() 80 if (rport->roles & FC_RPORT_ROLE_FCP_TARGET) in lpfc_terminate_rport_io() 83 rport->port_id); in lpfc_terminate_rport_io() 104 lpfc_dev_loss_tmo_callbk(struct fc_rport *rport) in lpfc_dev_loss_tmo_callbk() argument 115 rdata = rport->dd_data; in lpfc_dev_loss_tmo_callbk() 129 ndlp->nlp_DID, ndlp->rport, ndlp->nlp_flag); in lpfc_dev_loss_tmo_callbk() 137 put_rport = ndlp->rport != NULL; in lpfc_dev_loss_tmo_callbk() 139 ndlp->rport = NULL; in lpfc_dev_loss_tmo_callbk() 143 put_device(&rport->dev); in lpfc_dev_loss_tmo_callbk() [all …]
|
D | lpfc_disc.h | 110 struct fc_rport *rport; /* Corresponding FC transport member
|
D | lpfc_scsi.c | 352 struct fc_rport *rport; in lpfc_scsi_dev_block() local 360 rport = starget_to_rport(scsi_target(sdev)); in lpfc_scsi_dev_block() 361 fc_remote_port_delete(rport); in lpfc_scsi_dev_block() 4535 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in lpfc_queuecommand() local 4539 err = fc_remote_port_chkready(rport); in lpfc_queuecommand() 5329 ndlp->rport) { in lpfc_bus_reset_handler() 5338 status = lpfc_send_taskmgmt(vport, ndlp->rport->dd_data, in lpfc_bus_reset_handler() 5427 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in lpfc_slave_alloc() local 5436 if (!rport || fc_remote_port_chkready(rport)) in lpfc_slave_alloc() 5446 u64_to_wwn(rport->port_name, target_wwpn.u.wwn); in lpfc_slave_alloc() [all …]
|
D | lpfc_els.c | 1513 struct fc_rport *rport; in lpfc_plogi_confirm_nport() local 1626 rport = ndlp->rport; in lpfc_plogi_confirm_nport() 1627 if (rport) { in lpfc_plogi_confirm_nport() 1628 rdata = rport->dd_data; in lpfc_plogi_confirm_nport() 1631 ndlp->rport = NULL; in lpfc_plogi_confirm_nport() 1634 new_ndlp->rport = rport; in lpfc_plogi_confirm_nport() 1683 rport = ndlp->rport; in lpfc_plogi_confirm_nport() 1684 if (rport) { in lpfc_plogi_confirm_nport() 1685 rdata = rport->dd_data; in lpfc_plogi_confirm_nport() 1687 put_rport = ndlp->rport != NULL; in lpfc_plogi_confirm_nport() [all …]
|
D | lpfc_attr.c | 2955 if (NLP_CHK_NODE_ACT(ndlp) && ndlp->rport) in lpfc_update_rport_devloss_tmo() 2956 ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo; in lpfc_update_rport_devloss_tmo() 5610 lpfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) in lpfc_set_rport_loss_tmo() argument 5613 rport->dev_loss_tmo = timeout; in lpfc_set_rport_loss_tmo() 5615 rport->dev_loss_tmo = 1; in lpfc_set_rport_loss_tmo() 5636 struct fc_rport *rport = transport_class_to_rport(dev); \ 5637 struct lpfc_rport_data *rdata = rport->hostdata; \
|
D | lpfc_nportdisc.c | 723 struct fc_rport *rport = ndlp->rport; in lpfc_rcv_prli() local 744 if (rport) { in lpfc_rcv_prli() 756 fc_remote_port_rolechg(rport, roles); in lpfc_rcv_prli()
|
D | lpfc_crtn.h | 369 void lpfc_dev_loss_tmo_callbk(struct fc_rport *rport);
|
D | lpfc_bsg.c | 385 struct lpfc_rport_data *rdata = job->rport->dd_data; in lpfc_bsg_send_mgmt_cmd() 655 struct lpfc_rport_data *rdata = job->rport->dd_data; in lpfc_bsg_rport_els()
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_scsi.c | 324 struct fc_rport *rport = starget_to_rport(scsi_target(sc->device)); in fnic_queue_wq_copy_desc() local 325 struct fc_rport_libfc_priv *rp = rport->dd_data; in fnic_queue_wq_copy_desc() 411 rport->maxframe_size, rp->r_a_tov, in fnic_queue_wq_copy_desc() 432 struct fc_rport *rport; in fnic_queuecommand_lck() local 449 rport = starget_to_rport(scsi_target(sc->device)); in fnic_queuecommand_lck() 450 ret = fc_remote_port_chkready(rport); in fnic_queuecommand_lck() 458 rdata = lp->tt.rport_lookup(lp, rport->port_id); in fnic_queuecommand_lck() 539 io_req->port_id = rport->port_id; in fnic_queuecommand_lck() 1605 void fnic_terminate_rport_io(struct fc_rport *rport) in fnic_terminate_rport_io() argument 1623 if (!rport) { in fnic_terminate_rport_io() [all …]
|
D | fnic_main.c | 96 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in fnic_slave_alloc() local 98 if (!rport || fc_remote_port_chkready(rport)) in fnic_slave_alloc() 125 fnic_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) in fnic_set_rport_dev_loss_tmo() argument 128 rport->dev_loss_tmo = timeout; in fnic_set_rport_dev_loss_tmo() 130 rport->dev_loss_tmo = 1; in fnic_set_rport_dev_loss_tmo()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | filter.h | 209 __be32 rhost, __be16 rport) in efx_filter_set_ipv4_full() argument 220 spec->rem_port = rport; in efx_filter_set_ipv4_full()
|
D | farch.c | 2072 __be16 rport, port1, port2; in efx_farch_filter_from_gen_spec() local 2100 rport = is_full ? gen_spec->rem_port : 0; in efx_farch_filter_from_gen_spec() 2105 port2 = rport; in efx_farch_filter_from_gen_spec() 2107 port1 = rport; in efx_farch_filter_from_gen_spec()
|
/linux-4.4.14/net/sctp/ |
D | endpointola.c | 331 int rport; in __sctp_endpoint_lookup_assoc() local 341 rport = ntohs(paddr->v4.sin_port); in __sctp_endpoint_lookup_assoc() 344 rport); in __sctp_endpoint_lookup_assoc() 349 if (tmp->ep != ep || rport != tmp->peer.port) in __sctp_endpoint_lookup_assoc()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 932 srp_rport_get(target->rport); in srp_remove_target() 935 srp_stop_rport_timers(target->rport); in srp_remove_target() 942 srp_rport_put(target->rport); in srp_remove_target() 967 static void srp_rport_delete(struct srp_rport *rport) in srp_rport_delete() argument 969 struct srp_target_port *target = rport->lld_data; in srp_rport_delete() 1163 static void srp_terminate_io(struct srp_rport *rport) in srp_terminate_io() argument 1165 struct srp_target_port *target = rport->lld_data; in srp_terminate_io() 1199 static int srp_rport_reconnect(struct srp_rport *rport) in srp_rport_reconnect() argument 1201 struct srp_target_port *target = rport->lld_data; in srp_rport_reconnect() 1971 if (target->rport) in srp_tl_err_work() [all …]
|
D | ib_srp.h | 205 struct srp_rport *rport; member
|
/linux-4.4.14/net/netfilter/ |
D | xt_socket.c | 43 __be16 *rport, in extract_icmp4_fields() argument 90 *rport = ports[1]; in extract_icmp4_fields() 269 __be16 *rport, in extract_icmp6_fields() argument 315 *rport = ports[1]; in extract_icmp6_fields()
|
/linux-4.4.14/include/net/sctp/ |
D | sctp.h | 523 static inline int sctp_assoc_hashfn(struct net *net, __u16 lport, __u16 rport) in sctp_assoc_hashfn() argument 525 int h = (lport << 16) + rport + net_hash_mix(net); in sctp_assoc_hashfn() 534 static inline int sctp_vtag_hashfn(__u16 lport, __u16 rport, __u32 vtag) in sctp_vtag_hashfn() argument 536 int h = (lport << 16) + rport; in sctp_vtag_hashfn()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 1719 if (fcport->rport && in qla2x00_get_starget_node_name() 1720 starget->id == fcport->rport->scsi_target_id) { in qla2x00_get_starget_node_name() 1738 if (fcport->rport && in qla2x00_get_starget_port_name() 1739 starget->id == fcport->rport->scsi_target_id) { in qla2x00_get_starget_port_name() 1757 if (fcport->rport && in qla2x00_get_starget_port_id() 1758 starget->id == fcport->rport->scsi_target_id) { in qla2x00_get_starget_port_id() 1769 qla2x00_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) in qla2x00_set_rport_loss_tmo() argument 1772 rport->dev_loss_tmo = timeout; in qla2x00_set_rport_loss_tmo() 1774 rport->dev_loss_tmo = 1; in qla2x00_set_rport_loss_tmo() 1778 qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport) in qla2x00_dev_loss_tmo_callbk() argument [all …]
|
D | qla_bsg.c | 247 struct fc_rport *rport; in qla2x00_process_els() local 259 rport = bsg_job->rport; in qla2x00_process_els() 260 fcport = *(fc_port_t **) rport->dd_data; in qla2x00_process_els() 261 host = rport_to_shost(rport); in qla2x00_process_els() 2173 struct fc_rport *rport; in qla24xx_bsg_request() local 2181 rport = bsg_job->rport; in qla24xx_bsg_request() 2182 host = rport_to_shost(rport); in qla24xx_bsg_request()
|
D | qla_os.c | 682 struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device)); in qla2xxx_queuecommand() local 702 rval = fc_remote_port_chkready(rport); in qla2xxx_queuecommand() 1384 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in qla2xxx_slave_alloc() local 1386 if (!rport || fc_remote_port_chkready(rport)) in qla2xxx_slave_alloc() 1389 sdev->hostdata = *(fc_port_t **)rport->dd_data; in qla2xxx_slave_alloc() 3221 struct fc_rport *rport; in qla2x00_schedule_rport_del() local 3225 if (!fcport->rport) in qla2x00_schedule_rport_del() 3228 rport = fcport->rport; in qla2x00_schedule_rport_del() 3232 fcport->drport = rport; in qla2x00_schedule_rport_del() 3239 if (rport) in qla2x00_schedule_rport_del() [all …]
|
D | qla_init.c | 2927 struct fc_rport *rport; in qla2x00_rport_del() local 2931 rport = fcport->drport ? fcport->drport: fcport->rport; in qla2x00_rport_del() 2934 if (rport) in qla2x00_rport_del() 2935 fc_remote_port_delete(rport); in qla2x00_rport_del() 3284 struct fc_rport *rport; in qla2x00_reg_remote_port() local 3292 fcport->rport = rport = fc_remote_port_add(vha->host, 0, &rport_ids); in qla2x00_reg_remote_port() 3293 if (!rport) { in qla2x00_reg_remote_port() 3306 *((fc_port_t **)rport->dd_data) = fcport; in qla2x00_reg_remote_port() 3309 rport->supported_classes = fcport->supported_classes; in qla2x00_reg_remote_port() 3316 fc_remote_port_rolechg(rport, rport_ids.roles); in qla2x00_reg_remote_port()
|
D | qla_def.h | 2018 struct fc_rport *rport, *drport; member
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_ae.c | 214 raddr->sin_port = res->rport; in c2_ae_event() 289 raddr->sin_port = req->rport; in c2_ae_event()
|
D | c2_wr.h | 1130 __be16 rport; member 1148 __be16 rport; member
|
/linux-4.4.14/drivers/pnp/ |
D | resource.c | 189 int rport = pnp_reserve_io[i << 1]; in pnp_check_port() local 190 int rend = pnp_reserve_io[(i << 1) + 1] + rport - 1; in pnp_check_port() 191 if (ranged_conflict(port, end, &rport, &rend)) in pnp_check_port()
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi_fc_transport.txt | 97 /sys/devices/.../host17/rport-17:0-0/target17:0:0/17:0:0:0: 103 /sys/devices/.../host17/vport-17:0-0/host18/rport-18:0-0/target18:0:0/18:0:0:0: 115 /sys/class/fc_remote_ports/rport-17:0-0 rport on the physical port 116 /sys/class/fc_remote_ports/rport-18:0-0 rport on the vport
|
D | ChangeLog.lpfc | 83 rport data is used instead. Removed device_queue_hash[]. 156 moved to rport, hostdata renamed dd_data, add fc_remote_host() 322 * rport fix: use new fc_remote_port_rolechg() function instead of 324 * rport fix: last null pointer check 333 * rport fixes: fix for rmmod crash 334 * rport fixes: when receiving PRLI's, set node/rport role values 335 * rport fixes: fix for unload and for fabric port deletes 345 * All related to rports: Clean up issues with rport deletion 347 Moved rport delete to freenode - so rport tracks node. 348 * rport fixes: for fport, get maxframe and class support
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 969 struct drm_dp_mst_port *rport = NULL; in drm_dp_get_validated_port_ref() local 972 rport = drm_dp_mst_get_port_ref_locked(mgr->mst_primary, port); in drm_dp_get_validated_port_ref() 974 return rport; in drm_dp_get_validated_port_ref()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 3714 __be32 raddr, __be16 rport, in send_fw_pass_open_req() argument 3731 req->le.pport = rport; in send_fw_pass_open_req()
|