| /linux/drivers/scsi/bfa/ |
| A D | bfa_fcs_rport.c | 189 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit() 190 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit() 228 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending() 229 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending() 289 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogiacc_sending() 290 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogiacc_sending() 356 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_retry() 426 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi() 454 rport->old_pid = rport->pid; in bfa_fcs_rport_sm_plogi() 532 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_fc4_fcs_online() [all …]
|
| A D | bfa_fcs_fcpim.c | 217 itnim->rport->bfa_rport, itnim); in bfa_fcs_itnim_sm_hal_rport_online() 434 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_aen_post() local 461 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_send_prli() local 526 itnim->rport->scsi_function = in bfa_fcs_itnim_prli_response() 607 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_itnim_create() 614 itnim->rport = rport; in bfa_fcs_itnim_create() 615 itnim->fcs = rport->fcs; in bfa_fcs_itnim_create() 764 struct bfa_fcs_rport_s *rport; in bfa_fcs_itnim_lookup() local 767 if (!rport) in bfa_fcs_itnim_lookup() 770 WARN_ON(rport->itnim == NULL); in bfa_fcs_itnim_lookup() [all …]
|
| A D | bfa_fcs.h | 424 struct bfa_fcs_rport_s *rport); 426 struct bfa_fcs_rport_s *rport); 616 return rport->bfa_rport; in bfa_fcs_rport_get_halrport() 708 return itnim->rport->port->bfad_port; in bfa_fcs_itnim_get_drvport() 715 return itnim->rport->port; in bfa_fcs_itnim_get_port() 722 return itnim->rport->nwwn; in bfa_fcs_itnim_get_nwwn() 729 return itnim->rport->pwwn; in bfa_fcs_itnim_get_pwwn() 736 return itnim->rport->pid; in bfa_fcs_itnim_get_fcid() 743 return itnim->rport->maxfrsize; in bfa_fcs_itnim_get_maxfrsize() 750 return itnim->rport->fc_cos; in bfa_fcs_itnim_get_cos() [all …]
|
| A D | bfa_fcs_lport.c | 475 if (rport) { in bfa_fcs_lport_plogi() 494 if (!rport) { in bfa_fcs_lport_plogi() 834 if (rport) { in bfa_fcs_lport_uf_recv() 971 if (wwn_is_equal(rport->pwwn, pwwn) && rport->pid == pid) in bfa_fcs_lport_get_rport_by_qualifier() 1235 if (rport) { in bfa_fcs_lport_n2n_online() 1250 if (rport) { in bfa_fcs_lport_n2n_online() 1337 if (!rport) in bfa_fcs_lport_loop_online() 1349 if (!rport) in bfa_fcs_lport_loop_online() 5502 if (!rport) in bfa_fcs_lport_scn_portid_rscn() 5690 if (rport) in bfa_fcs_lport_get_rport() [all …]
|
| /linux/drivers/scsi/ |
| A D | scsi_transport_srp.c | 317 res = srp_tmo_valid(rport->reconnect_delay, rport->fast_io_fail_tmo, in store_srp_rport_dev_loss_tmo() 472 rport->state); in __srp_start_tl_fail_timers() 482 rport->state); in __srp_start_tl_fail_timers() 544 if (rport->state != SRP_RPORT_FAIL_FAST && rport->state != SRP_RPORT_LOST) in srp_reconnect_rport() 552 res = rport->state != SRP_RPORT_LOST ? i->f->reconnect(rport) : -ENODEV; in srp_reconnect_rport() 611 return rport && rport->fast_io_fail_tmo < 0 && in srp_timed_out() 623 kfree(rport); in srp_rport_release() 703 rport = kzalloc(sizeof(*rport), GFP_KERNEL); in srp_rport_add() 704 if (!rport) in srp_rport_add() 714 memcpy(rport->port_id, ids->port_id, sizeof(rport->port_id)); in srp_rport_add() [all …]
|
| A D | scsi_transport_fc.c | 367 if (rport) { in fc_target_setup() 765 if (rport && in fc_fpin_li_stats_update() 778 if (rport && in fc_fpin_li_stats_update() 812 if (rport && in fc_fpin_delivery_stats_update() 845 if (rport && in fc_fpin_peer_congn_stats_update() 858 if (rport && in fc_fpin_peer_congn_stats_update() 2447 kfree(rport); in fc_rport_dev_release() 3073 rport->dd_data = &rport[1]; in fc_remote_port_create() 3121 return rport; in fc_remote_port_create() 3715 scsi_scan_target(&rport->dev, rport->channel, in fc_scsi_scan_rport() [all …]
|
| /linux/drivers/phy/rockchip/ |
| A D | phy-rockchip-inno-usb2.c | 526 dev_dbg(&rport->phy->dev, "mode %d\n", rport->mode); in rockchip_usb2phy_init() 566 if (!rport->suspended) in rockchip_usb2phy_power_on() 607 if (rport->suspended) in rockchip_usb2phy_power_off() 662 switch (rport->state) { in rockchip_usb2phy_otg_sm_work() 1023 if (rport->suspended && rport->port_id == USB2PHY_PORT_HOST) in rockchip_usb2phy_linestate_irq() 1112 if (!rport->phy) in rockchip_usb2phy_irq() 1177 rport); in rockchip_usb2phy_port_irq_init() 1196 rport); in rockchip_usb2phy_port_irq_init() 1215 rport); in rockchip_usb2phy_port_irq_init() 1444 rport->phy = phy; in rockchip_usb2phy_probe() [all …]
|
| /linux/drivers/nvme/host/ |
| A D | fc.c | 907 nvme_fc_signal_discovery_scan(rport->lport, rport); in nvme_fc_rescan_remoteport() 1033 struct nvme_fc_rport *rport = lsop->rport; in __nvme_fc_finish_ls_req() local 1073 lsop->rport = rport; in __nvme_fc_send_ls_req() 1458 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp_done() local 1481 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp() local 1556 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_ls_disconnect_assoc() local 1785 lsop->rport = rport; in nvme_fc_rcv_ls_req() 3022 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_active_on_rport() local 3038 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_inactive_on_rport() local 3301 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_reconnect_or_delete() local [all …]
|
| /linux/include/scsi/ |
| A 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()
|
| A 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/drivers/nvme/target/ |
| A D | fcloop.c | 325 spin_lock(&rport->lock); in fcloop_rport_lsrqst_work() 368 ret = nvmet_fc_rcv_ls_req(rport->targetport, rport, in fcloop_h2t_ls_req() 733 if (!rport->targetport) in fcloop_fcp_req() 1346 rport->nport = nport; in fcloop_create_remote_port() 1348 nport->rport = rport; in fcloop_create_remote_port() 1360 struct fcloop_rport *rport = nport->rport; in __unlink_remote_port() local 1364 nport->rport = NULL; in __unlink_remote_port() 1368 return rport; in __unlink_remote_port() 1374 if (!rport) in __remoteport_unreg() 1443 tport->remoteport = (nport->rport) ? nport->rport->remoteport : NULL; in fcloop_create_target_port() [all …]
|
| /linux/drivers/s390/scsi/ |
| A D | zfcp_scsi.c | 305 ret = fc_block_rport(rport); in zfcp_scsi_task_mgmt_function() 530 port->rport = NULL; in zfcp_scsi_adapter_unregister() 689 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo() 725 struct fc_rport *rport; in zfcp_scsi_rport_register() local 727 if (port->rport) in zfcp_scsi_rport_register() 739 if (!rport) { in zfcp_scsi_rport_register() 748 port->rport = rport; in zfcp_scsi_rport_register() 756 struct fc_rport *rport = port->rport; in zfcp_scsi_rport_block() local 758 if (rport) { in zfcp_scsi_rport_block() 762 fc_remote_port_delete(rport); in zfcp_scsi_rport_block() [all …]
|
| A 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/drivers/scsi/csiostor/ |
| A 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() 79 if (!rn->rport) { in csio_reg_rnode() 86 rport = rn->rport; in csio_reg_rnode() 94 rport->supported_classes = FC_COS_CLASS3; in csio_reg_rnode() 106 rn->scsi_id = rport->scsi_target_id; in csio_reg_rnode() 124 struct fc_rport *rport = rn->rport; in csio_unreg_rnode() local 127 fc_remote_port_delete(rport); in csio_unreg_rnode() 383 rport->dev_loss_tmo = timeout; in csio_set_rport_loss_tmo() [all …]
|
| /linux/drivers/message/fusion/ |
| A D | mptfc.c | 462 struct fc_rport *rport; in mptfc_register_dev() local 499 if (rport) { in mptfc_register_dev() 500 ri->rport = rport; in mptfc_register_dev() 548 struct fc_rport *rport; in mptfc_target_destroy() local 552 if (rport) { in mptfc_target_destroy() 570 struct fc_rport *rport; in mptfc_target_alloc() local 581 if (rport) { in mptfc_target_alloc() 640 struct fc_rport *rport; in mptfc_slave_alloc() local 646 if (!rport || fc_remote_port_chkready(rport)) in mptfc_slave_alloc() 1130 ri->rport = NULL; in mptfc_setup_reset() [all …]
|
| /linux/arch/um/drivers/ |
| A 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/drivers/scsi/libfc/ |
| A D | fc_fcp.c | 1169 struct fc_rport *rport; in fc_fcp_cmd_send() local 1185 rport = fsp->rport; in fc_fcp_cmd_send() 1187 rpriv = rport->dd_data; in fc_fcp_cmd_send() 1420 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local 1459 struct fc_rport *rport; in fc_fcp_rec() local 1463 rport = fsp->rport; in fc_fcp_rec() 1464 rpriv = rport->dd_data; in fc_fcp_rec() 1724 rport = fsp->rport; in fc_fcp_srr() 1904 fsp->rport = rport; /* set the remote port ptr */ in fc_queuecommand() 2179 fsp->rport = rport; /* set the remote port ptr */ in fc_eh_device_reset() [all …]
|
| A D | fc_rport.c | 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() 291 if (!rport) { in fc_rport_work() 298 if (rdata->rport) in fc_rport_work() 300 rdata->rport = rport; in fc_rport_work() 304 rpriv = rport->dd_data; in fc_rport_work() 355 if (rport) { in fc_rport_work() 356 rpriv = rport->dd_data; in fc_rport_work() [all …]
|
| /linux/tools/testing/selftests/net/mptcp/ |
| A 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\ 665 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 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" 741 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ 786 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ [all …]
|
| /linux/Documentation/ABI/testing/ |
| A 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/drivers/scsi/bnx2fc/ |
| A 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/tools/testing/selftests/bpf/progs/ |
| A 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/drivers/infiniband/hw/irdma/ |
| A 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/drivers/scsi/ibmvscsi/ |
| A D | ibmvfc.c | 1836 if (rport == tgt->rport) { in ibmvfc_relogin() 2201 if (rport) in ibmvfc_bsg_request() 3412 if (!rport || fc_remote_port_chkready(rport)) in ibmvfc_slave_alloc() 5536 if (rport) { in ibmvfc_tgt_add_rport() 5538 tgt->rport = rport; in ibmvfc_tgt_add_rport() 5666 rport = tgt->rport; in ibmvfc_do_work() 5671 if (rport) in ibmvfc_do_work() 5678 rport = tgt->rport; in ibmvfc_do_work() 5692 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work() 5695 if (rport) in ibmvfc_do_work() [all …]
|
| /linux/drivers/scsi/lpfc/ |
| A D | lpfc_nvme.c | 196 ndlp = rport->ndlp; in lpfc_nvme_remoteport_delete() 667 struct lpfc_nvme_rport *rport; in lpfc_nvme_ls_req() local 1538 struct lpfc_nvme_rport *rport; in lpfc_nvme_fcp_io_submit() local 1599 ndlp = rport->ndlp; in lpfc_nvme_fcp_io_submit() 2385 struct lpfc_nvme_rport *rport; in lpfc_nvme_register_port() local 2468 rport->ndlp = NULL; in lpfc_nvme_register_port() 2469 rport->remoteport = NULL; in lpfc_nvme_register_port() 2483 rport->lport = lport; in lpfc_nvme_register_port() 2484 rport->ndlp = ndlp; in lpfc_nvme_register_port() 2486 ndlp->nrport = rport; in lpfc_nvme_register_port() [all …]
|