/linux-6.12.1/drivers/scsi/bfa/ |
D | bfa_fcs_rport.c | 36 static void bfa_fcs_rport_free(struct bfa_fcs_rport_s *rport); 37 static void bfa_fcs_rport_hal_online(struct bfa_fcs_rport_s *rport); 38 static void bfa_fcs_rport_fcs_online_action(struct bfa_fcs_rport_s *rport); 39 static void bfa_fcs_rport_hal_online_action(struct bfa_fcs_rport_s *rport); 40 static void bfa_fcs_rport_fcs_offline_action(struct bfa_fcs_rport_s *rport); 41 static void bfa_fcs_rport_hal_offline_action(struct bfa_fcs_rport_s *rport); 42 static void bfa_fcs_rport_update(struct bfa_fcs_rport_s *rport, 72 static void bfa_fcs_rport_process_prli(struct bfa_fcs_rport_s *rport, 74 static void bfa_fcs_rport_send_ls_rjt(struct bfa_fcs_rport_s *rport, 77 static void bfa_fcs_rport_process_adisc(struct bfa_fcs_rport_s *rport, [all …]
|
D | bfa_fcs_fcpim.c | 91 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline() 102 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); in bfa_fcs_itnim_sm_offline() 123 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send() 134 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); in bfa_fcs_itnim_sm_prli_send() 140 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); in bfa_fcs_itnim_sm_prli_send() 158 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli() 163 if (itnim->rport->scsi_function == BFA_RPORT_INITIATOR) in bfa_fcs_itnim_sm_prli() 169 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); in bfa_fcs_itnim_sm_prli() 186 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_OFFLINE); in bfa_fcs_itnim_sm_prli() 192 bfa_sm_send_event(itnim->rport, RPSM_EVENT_FC4_FCS_ONLINE); in bfa_fcs_itnim_sm_prli() [all …]
|
D | bfa_fcs.h | 375 struct bfa_rport_qualifier_s rport[], int *nrports); 424 struct bfa_fcs_rport_s *rport); 426 struct bfa_fcs_rport_s *rport); 537 struct bfa_fcs_rport_s *rport; /* parent rport */ member 614 bfa_fcs_rport_get_halrport(struct bfa_fcs_rport_s *rport) in bfa_fcs_rport_get_halrport() argument 616 return rport->bfa_rport; in bfa_fcs_rport_get_halrport() 622 void bfa_fcs_rport_get_attr(struct bfa_fcs_rport_s *rport, 630 void bfa_fcs_rport_uf_recv(struct bfa_fcs_rport_s *rport, 632 void bfa_fcs_rport_scn(struct bfa_fcs_rport_s *rport); 641 void bfa_fcs_rport_plogi(struct bfa_fcs_rport_s *rport, struct fchs_s *fchs, [all …]
|
D | bfa_fcs_lport.c | 176 struct bfa_fcs_rport_s *rport; in bfa_fcs_lport_sm_online() local 201 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_online() 202 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_online() 217 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_online() 218 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_online() 236 struct bfa_fcs_rport_s *rport; in bfa_fcs_lport_sm_offline() local 259 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_offline() 260 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_offline() 272 rport = (struct bfa_fcs_rport_s *) qe; in bfa_fcs_lport_sm_offline() 273 bfa_sm_send_event(rport, RPSM_EVENT_DELETE); in bfa_fcs_lport_sm_offline() [all …]
|
/linux-6.12.1/drivers/scsi/ |
D | scsi_transport_srp.c | 124 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_srp_rport_id() local 125 return sprintf(buf, "%16phC\n", rport->port_id); in show_srp_rport_id() 142 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_srp_rport_roles() local 147 if (srp_rport_role_names[i].value == rport->roles) { in show_srp_rport_roles() 160 struct srp_rport *rport = transport_class_to_srp_rport(dev); in store_srp_rport_delete() local 165 i->f->rport_delete(rport); in store_srp_rport_delete() 184 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_srp_rport_state() local 185 enum srp_rport_state state = rport->state; in show_srp_rport_state() 215 struct srp_rport *rport = transport_class_to_srp_rport(dev); in show_reconnect_delay() local 217 return srp_show_tmo(buf, rport->reconnect_delay); in show_reconnect_delay() [all …]
|
D | scsi_transport_fc.c | 360 struct fc_rport *rport = starget_to_rport(starget); in fc_target_setup() local 367 if (rport) { in fc_target_setup() 368 fc_starget_node_name(starget) = rport->node_name; in fc_target_setup() 369 fc_starget_port_name(starget) = rport->port_name; in fc_target_setup() 370 fc_starget_port_id(starget) = rport->port_id; in fc_target_setup() 650 struct fc_rport *rport; in fc_find_rport_by_wwpn() local 655 list_for_each_entry(rport, &fc_host_rports(shost), peers) { in fc_find_rport_by_wwpn() 656 if (rport->port_state != FC_PORTSTATE_ONLINE) in fc_find_rport_by_wwpn() 659 if (rport->port_name == wwpn) { in fc_find_rport_by_wwpn() 661 return rport; in fc_find_rport_by_wwpn() [all …]
|
/linux-6.12.1/drivers/phy/rockchip/ |
D | phy-rockchip-inno-usb2.c | 453 struct rockchip_usb2phy_port *rport, in rockchip_usb2phy_enable_host_disc_irq() argument 458 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_clr, true); in rockchip_usb2phy_enable_host_disc_irq() 462 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_en, en); in rockchip_usb2phy_enable_host_disc_irq() 466 ret = property_enable(rphy->grf, &rport->port_cfg->disrise_clr, true); in rockchip_usb2phy_enable_host_disc_irq() 470 return property_enable(rphy->grf, &rport->port_cfg->disrise_en, en); in rockchip_usb2phy_enable_host_disc_irq() 475 struct rockchip_usb2phy_port *rport = phy_get_drvdata(phy); in rockchip_usb2phy_init() local 479 mutex_lock(&rport->mutex); in rockchip_usb2phy_init() 481 if (rport->port_id == USB2PHY_PORT_OTG) { in rockchip_usb2phy_init() 482 if (rport->mode != USB_DR_MODE_HOST && in rockchip_usb2phy_init() 483 rport->mode != USB_DR_MODE_UNKNOWN) { in rockchip_usb2phy_init() [all …]
|
/linux-6.12.1/drivers/nvme/host/ |
D | fc.c | 59 struct nvme_fc_rport *rport; member 71 struct nvme_fc_rport *rport; member 158 struct nvme_fc_rport *rport; member 495 struct nvme_fc_rport *rport) in nvme_fc_signal_discovery_scan() argument 501 if (!(rport->remoteport.port_role & FC_PORT_ROLE_NVME_DISCOVERY)) in nvme_fc_signal_discovery_scan() 509 rport->remoteport.node_name, rport->remoteport.port_name); in nvme_fc_signal_discovery_scan() 516 struct nvme_fc_rport *rport = in nvme_fc_free_rport() local 519 localport_to_lport(rport->remoteport.localport); in nvme_fc_free_rport() 522 WARN_ON(rport->remoteport.port_state != FC_OBJSTATE_DELETED); in nvme_fc_free_rport() 523 WARN_ON(!list_empty(&rport->ctrl_list)); in nvme_fc_free_rport() [all …]
|
/linux-6.12.1/include/scsi/ |
D | scsi_transport_srp.h | 100 int (*reconnect)(struct srp_rport *rport); 101 void (*terminate_rport_io)(struct srp_rport *rport); 102 void (*rport_delete)(struct srp_rport *rport); 109 extern void srp_rport_get(struct srp_rport *rport); 110 extern void srp_rport_put(struct srp_rport *rport); 117 extern int srp_reconnect_rport(struct srp_rport *rport); 118 extern void srp_start_tl_fail_timers(struct srp_rport *rport); 120 extern void srp_stop_rport_timers(struct srp_rport *rport); 131 static inline int srp_chkready(struct srp_rport *rport) in srp_chkready() argument 133 switch (rport->state) { in srp_chkready()
|
D | scsi_transport_fc.h | 773 fc_remote_port_chkready(struct fc_rport *rport) in fc_remote_port_chkready() argument 777 switch (rport->port_state) { in fc_remote_port_chkready() 780 if (rport->roles & FC_PORT_ROLE_FCP_TARGET) in fc_remote_port_chkready() 782 else if (rport->flags & FC_RPORT_DEVLOSS_PENDING) in fc_remote_port_chkready() 788 if (rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT) in fc_remote_port_chkready() 836 void fc_remote_port_delete(struct fc_rport *rport); 837 void fc_remote_port_rolechg(struct fc_rport *rport, u32 roles); 859 int fc_block_rport(struct fc_rport *rport);
|
/linux-6.12.1/drivers/nvme/target/ |
D | fcloop.c | 238 struct fcloop_rport *rport; member 321 struct fcloop_rport *rport = in fcloop_rport_lsrqst_work() local 325 spin_lock(&rport->lock); in fcloop_rport_lsrqst_work() 327 tls_req = list_first_entry_or_null(&rport->ls_list, in fcloop_rport_lsrqst_work() 333 spin_unlock(&rport->lock); in fcloop_rport_lsrqst_work() 341 spin_lock(&rport->lock); in fcloop_rport_lsrqst_work() 343 spin_unlock(&rport->lock); in fcloop_rport_lsrqst_work() 352 struct fcloop_rport *rport = remoteport->private; in fcloop_h2t_ls_req() local 358 if (!rport->targetport) { in fcloop_h2t_ls_req() 360 spin_lock(&rport->lock); in fcloop_h2t_ls_req() [all …]
|
/linux-6.12.1/drivers/s390/scsi/ |
D | zfcp_scsi.c | 70 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); in zfcp_scsi_queuecommand() local 77 scsi_result = fc_remote_port_chkready(rport); in zfcp_scsi_queuecommand() 115 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_slave_alloc() local 126 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_scsi_slave_alloc() 293 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_task_mgmt_function() local 305 ret = fc_block_rport(rport); in zfcp_scsi_task_mgmt_function() 346 struct fc_rport *rport = starget_to_rport(starget); in zfcp_scsi_eh_target_reset_handler() local 347 struct Scsi_Host *shost = rport_to_shost(rport); in zfcp_scsi_eh_target_reset_handler() 530 port->rport = NULL; in zfcp_scsi_adapter_unregister() 686 static void zfcp_scsi_set_rport_dev_loss_tmo(struct fc_rport *rport, in zfcp_scsi_set_rport_dev_loss_tmo() argument [all …]
|
D | zfcp_unit.c | 24 struct fc_rport *rport = unit->port->rport; in zfcp_unit_scsi_scan() local 29 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) in zfcp_unit_scsi_scan() 30 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, in zfcp_unit_scsi_scan()
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/message/fusion/ |
D | mptfc.c | 102 static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout); 187 mptfc_block_error_handler(struct fc_rport *rport) in mptfc_block_error_handler() argument 190 struct Scsi_Host *shost = rport_to_shost(rport); in mptfc_block_error_handler() 199 while ((ready = fc_remote_port_chkready(rport) >> 16) == DID_IMM_RETRY in mptfc_block_error_handler() 206 dev_name(&rport->dev), ready, ioc->active)); in mptfc_block_error_handler() 218 dev_name(&rport->dev), ready, ioc->active)); in mptfc_block_error_handler() 228 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device)); in mptfc_abort() local 232 rtn = mptfc_block_error_handler(rport); in mptfc_abort() 247 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device)); in mptfc_dev_reset() local 251 rtn = mptfc_block_error_handler(rport); in mptfc_dev_reset() [all …]
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/scsi/libfc/ |
D | fc_fcp.c | 459 struct fc_rport_libfc_priv *rpriv = fsp->rport->dd_data; in get_fsp_rec_tov() 943 fsp->rport->port_id); in fc_fcp_resp() 948 fsp->rport->port_id, in fc_fcp_resp() 956 fsp->rport->port_id, in fc_fcp_resp() 1169 struct fc_rport *rport; in fc_fcp_cmd_send() local 1185 rport = fsp->rport; in fc_fcp_cmd_send() 1186 fsp->max_payload = rport->maxframe_size; in fc_fcp_cmd_send() 1187 rpriv = rport->dd_data; in fc_fcp_cmd_send() 1189 fc_fill_fc_hdr(fp, FC_RCTL_DD_UNSOL_CMD, rport->port_id, in fc_fcp_cmd_send() 1420 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local [all …]
|
D | fc_rport.c | 203 void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) in fc_set_rport_loss_tmo() argument 206 rport->dev_loss_tmo = timeout; in fc_set_rport_loss_tmo() 208 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo() 268 struct fc_rport *rport; in fc_rport_work() local 275 rport = rdata->rport; in fc_rport_work() 287 if (!rport) { in fc_rport_work() 289 rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work() 291 if (!rport) { in fc_rport_work() 298 if (rdata->rport) in fc_rport_work() 300 rdata->rport = rport; in fc_rport_work() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | userspace_pm.sh | 550 rport "$client4_port" token "$server4_token" 563 ip netns exec "$ns1" ./pm_nl_ctl dsf lip 10.0.2.1 lport "$sport" rip 10.0.2.2 rport\ 588 dead:beef:2::2 rport "$client6_port" token "$server6_token" 602 dead:beef:2::2 rport "$client6_port" token "$server6_token" 626 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2 rport\ 640 ip netns exec "$ns1" ./pm_nl_ctl dsf lip 10.0.2.1 lport "$sport" rip 10.0.2.2 rport\ 665 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ 678 ip netns exec "$ns2" ./pm_nl_ctl dsf lip 10.0.2.2 lport "$sport" rip 10.0.2.1 rport\ 703 dead:beef:2::1 rport $app6_port token "$client6_token" 718 dead:beef:2::1 rport $app6_port token "$client6_token" [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-fc_remote_ports | 1 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_cn_yyy 9 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_li_yyy 17 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_dn_yyy
|
/linux-6.12.1/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() 353 struct fc_rport *rport = rdata->rport; in bnx2fc_init_tgt() local 359 tgt->rport = rport; in bnx2fc_init_tgt() 444 struct fc_rport *rport = rdata->rport; in bnx2fc_rport_event_handler() local 453 if (!rport) { in bnx2fc_rport_event_handler() 458 rp = rport->dd_data; in bnx2fc_rport_event_handler() 459 if (rport->port_id == FC_FID_DIR_SERV) { in bnx2fc_rport_event_handler() 530 if (!rport) { in bnx2fc_rport_event_handler() 535 rp = rport->dd_data; in bnx2fc_rport_event_handler()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_sockmap_kern.h | 111 __u32 rport = skb->remote_port; in bpf_prog2() local 115 __sink(rport); in bpf_prog2() 190 __u32 lport, rport; in bpf_sockmap() local 198 rport = skops->remote_port; in bpf_sockmap() 213 rport = skops->remote_port; in bpf_sockmap() 215 if (bpf_ntohl(rport) == 10001) { in bpf_sockmap()
|
/linux-6.12.1/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1353 static void ibmvfc_set_rport_dev_loss_tmo(struct fc_rport *rport, u32 timeout) in ibmvfc_set_rport_dev_loss_tmo() argument 1356 rport->dev_loss_tmo = timeout; in ibmvfc_set_rport_dev_loss_tmo() 1358 rport->dev_loss_tmo = 1; in ibmvfc_set_rport_dev_loss_tmo() 1830 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_relogin() local 1836 if (rport == tgt->rport) { in ibmvfc_relogin() 1930 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_init_vfc_cmd() local 1940 vfc_cmd->target_wwpn = cpu_to_be64(rport->port_name); in ibmvfc_init_vfc_cmd() 1949 vfc_cmd->tgt_scsi_id = cpu_to_be64(rport->port_id); in ibmvfc_init_vfc_cmd() 1966 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in ibmvfc_queuecommand() local 1975 if (unlikely((rc = fc_remote_port_chkready(rport))) || in ibmvfc_queuecommand() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | trace_cm.h | 209 __field(u16, rport) 226 __entry->rport = cm_node->rem_port; 252 __entry->rport, __entry->ipv4) 286 __field(u16, rport) 301 __entry->rport = cm_node->rem_port; 324 __entry->rport, __entry->ipv4) 408 __field(u16, rport) 421 __entry->rport = cm_node->rem_port; 442 __entry->rport, __entry->ipv4)
|
/linux-6.12.1/drivers/scsi/lpfc/ |
D | lpfc_nvme.c | 191 struct lpfc_nvme_rport *rport = remoteport->private; in lpfc_nvme_remoteport_delete() local 196 ndlp = rport->ndlp; in lpfc_nvme_remoteport_delete() 199 __func__, rport, remoteport); in lpfc_nvme_remoteport_delete() 206 __func__, ndlp, ndlp->nlp_state, rport); in lpfc_nvme_remoteport_delete() 667 struct lpfc_nvme_rport *rport; in lpfc_nvme_ls_req() local 672 rport = (struct lpfc_nvme_rport *)pnvme_rport->private; in lpfc_nvme_ls_req() 673 if (unlikely(!lport) || unlikely(!rport)) in lpfc_nvme_ls_req() 683 ret = __lpfc_nvme_ls_req(vport, rport->ndlp, pnvme_lsreq, in lpfc_nvme_ls_req() 1538 struct lpfc_nvme_rport *rport; in lpfc_nvme_fcp_io_submit() local 1592 rport = (struct lpfc_nvme_rport *)pnvme_rport->private; in lpfc_nvme_fcp_io_submit() [all …]
|