/drivers/scsi/lpfc/ |
H A D | lpfc_vport.c | 49 inline void lpfc_vport_set_state(struct lpfc_vport *vport, argument 52 struct fc_vport *fc_vport = vport->fc_vport; 72 vport->port_state = LPFC_VPORT_FAILED; 75 vport->port_state = LPFC_VPORT_UNKNOWN; 114 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) argument 127 rc = lpfc_read_sparam(phba, pmb, vport->vpi); 140 pmb->vport = vport; 144 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT | LOG_VPORT, 153 lpfc_printf_vlog(vport, KERN_ER 203 struct lpfc_vport *vport; local 237 lpfc_discovery_wait(struct lpfc_vport *vport) argument 297 struct lpfc_vport *vport = NULL; local 466 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; local 518 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; local 571 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; local 837 lpfc_vport_reset_stat_data(struct lpfc_vport *vport) argument 859 lpfc_alloc_bucket(struct lpfc_vport *vport) argument 892 lpfc_free_bucket(struct lpfc_vport *vport) argument [all...] |
H A D | lpfc_els.c | 50 static void lpfc_fabric_abort_vport(struct lpfc_vport *vport); 51 static int lpfc_issue_els_fdisc(struct lpfc_vport *vport, 59 * lpfc_els_chk_latt - Check host link attention event for a vport 60 * @vport: pointer to a host virtual N_Port data structure. 63 * attention event during the discovery process with the @vport. It is done 65 * link attention events during this @vport's discovery process, the @vport 71 * Note that, if either the host link is in state LPFC_LINK_DOWN or @vport 81 lpfc_els_chk_latt(struct lpfc_vport *vport) argument 83 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); 150 lpfc_prep_els_iocb(struct lpfc_vport *vport, uint8_t expectRsp, uint16_t cmdSize, uint8_t retry, struct lpfc_nodelist *ndlp, uint32_t did, uint32_t elscmd) argument 364 lpfc_issue_fabric_reglogin(struct lpfc_vport *vport) argument 455 lpfc_issue_reg_vfi(struct lpfc_vport *vport) argument 531 lpfc_issue_unreg_vfi(struct lpfc_vport *vport) argument 586 lpfc_check_clean_addr_bit(struct lpfc_vport *vport, struct serv_parm *sp) argument 641 lpfc_cmpl_els_flogi_fabric(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct serv_parm *sp, IOCB_t *irsp) argument 819 lpfc_cmpl_els_flogi_nport(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct serv_parm *sp) argument 972 struct lpfc_vport *vport = cmdiocb->vport; local 1201 lpfc_issue_els_flogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 1357 lpfc_initial_flogi(struct lpfc_vport *vport) argument 1411 lpfc_initial_fdisc(struct lpfc_vport *vport) argument 1455 lpfc_more_plogi(struct lpfc_vport *vport) argument 1511 struct lpfc_vport *vport = ndlp->vport; local 1716 lpfc_end_rscn(struct lpfc_vport *vport) argument 1752 struct lpfc_vport *vport = cmdiocb->vport; local 1827 struct lpfc_vport *vport = cmdiocb->vport; local 1954 lpfc_issue_els_plogi(struct lpfc_vport *vport, uint32_t did, uint8_t retry) argument 2033 struct lpfc_vport *vport = cmdiocb->vport; local 2113 lpfc_issue_els_prli(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 2192 lpfc_rscn_disc(struct lpfc_vport *vport) argument 2216 lpfc_adisc_done(struct lpfc_vport *vport) argument 2267 lpfc_more_adisc(struct lpfc_vport *vport) argument 2308 struct lpfc_vport *vport = cmdiocb->vport; local 2401 lpfc_issue_els_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 2469 struct lpfc_vport *vport = ndlp->vport; local 2598 lpfc_issue_els_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 2690 struct lpfc_vport *vport = cmdiocb->vport; local 2733 lpfc_issue_els_scr(struct lpfc_vport *vport, uint32_t nportid, uint8_t retry) argument 2827 lpfc_issue_els_farpr(struct lpfc_vport *vport, uint32_t nportid, uint8_t retry) argument 2927 lpfc_cancel_retry_delay_tmo(struct lpfc_vport *vport, struct lpfc_nodelist *nlp) argument 2987 struct lpfc_vport *vport = ndlp->vport; local 3023 struct lpfc_vport *vport = ndlp->vport; local 3108 struct lpfc_vport *vport = cmdiocb->vport; local 3624 struct lpfc_vport *vport = cmdiocb->vport; local 3731 struct lpfc_vport *vport = ndlp ? ndlp->vport : NULL; local 3907 lpfc_els_rsp_acc(struct lpfc_vport *vport, uint32_t flag, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp, LPFC_MBOXQ_t *mbox) argument 4045 lpfc_els_rsp_reject(struct lpfc_vport *vport, uint32_t rejectError, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp, LPFC_MBOXQ_t *mbox) argument 4121 lpfc_els_rsp_adisc_acc(struct lpfc_vport *vport, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4195 lpfc_els_rsp_prli_acc(struct lpfc_vport *vport, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4300 lpfc_els_rsp_rnid_acc(struct lpfc_vport *vport, uint8_t format, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4384 lpfc_els_clear_rrq(struct lpfc_vport *vport, struct lpfc_iocbq *iocb, struct lpfc_nodelist *ndlp) argument 4434 lpfc_els_rsp_echo_acc(struct lpfc_vport *vport, uint8_t *data, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 4504 lpfc_els_disc_adisc(struct lpfc_vport *vport) argument 4562 lpfc_els_disc_plogi(struct lpfc_vport *vport) argument 4611 lpfc_els_flush_rscn(struct lpfc_vport *vport) argument 4653 lpfc_rscn_payload_check(struct lpfc_vport *vport, uint32_t did) argument 4729 lpfc_rscn_recovery_check(struct lpfc_vport *vport) argument 4755 lpfc_send_rscn_event(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb) argument 4812 lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5002 lpfc_els_handle_rscn(struct lpfc_vport *vport) argument 5099 lpfc_els_rcv_flogi(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5277 lpfc_els_rcv_rnid(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5324 lpfc_els_rcv_echo(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5352 lpfc_els_rcv_lirr(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5383 lpfc_els_rcv_rrq(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5593 lpfc_els_rcv_rls(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5659 lpfc_els_rcv_rtv(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5743 lpfc_els_rcv_rps(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 5816 lpfc_issue_els_rrq(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did, struct lpfc_node_rrq *rrq) argument 5913 lpfc_els_rsp_rpl_acc(struct lpfc_vport *vport, uint16_t cmdsize, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp) argument 5982 lpfc_els_rcv_rpl(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 6048 lpfc_els_rcv_farp(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 6121 lpfc_els_rcv_farpr(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *ndlp) argument 6164 lpfc_els_rcv_fan(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, struct lpfc_nodelist *fan_ndlp) argument 6212 struct lpfc_vport *vport = (struct lpfc_vport *) ptr; local 6239 lpfc_els_timeout_handler(struct lpfc_vport *vport) argument 6350 lpfc_els_flush_cmd(struct lpfc_vport *vport) argument 6447 struct lpfc_vport *vport; local 6468 struct lpfc_vport *vport = cmdiocbp->vport; local 6531 lpfc_send_els_event(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t *payload) argument 6616 lpfc_els_unsol_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, struct lpfc_vport *vport, struct lpfc_iocbq *elsiocb) argument 7020 struct lpfc_vport *vport = phba->pport; local 7107 lpfc_do_scr_ns_plogi(struct lpfc_hba *phba, struct lpfc_vport *vport) argument 7210 struct lpfc_vport *vport = pmb->vport; local 7314 lpfc_register_new_vport(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 7463 struct lpfc_vport *vport = cmdiocb->vport; local 7602 lpfc_issue_els_fdisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint8_t retry) argument 7700 struct lpfc_vport *vport = cmdiocb->vport; local 7748 lpfc_issue_els_npiv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 8058 lpfc_fabric_abort_vport(struct lpfc_vport *vport) argument 8145 lpfc_sli4_vport_delete_els_xri_aborted(struct lpfc_vport *vport) argument 8238 lpfc_sli_abts_recover_port(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument [all...] |
H A D | lpfc_nportdisc.c | 48 lpfc_check_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, argument 69 lpfc_check_sparm(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, argument 72 volatile struct serv_parm *hsp = &vport->fc_sparam; 151 lpfc_printf_vlog(vport, KERN_ERR, LOG_DISCOVERY, 212 lpfc_printf_vlog(ndlp->vport, KERN_INFO, LOG_DISCOVERY, 273 lpfc_rcv_plogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, argument 276 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); 277 struct lpfc_hba *phba = vport->phba; 287 if (vport->port_state <= LPFC_FDISC) { 292 if (vport 493 struct lpfc_vport *vport; local 514 lpfc_rcv_padisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct lpfc_iocbq *cmdiocb) argument 603 lpfc_rcv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct lpfc_iocbq *cmdiocb, uint32_t els_cmd) argument 690 lpfc_rcv_prli(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, struct lpfc_iocbq *cmdiocb) argument 734 lpfc_disc_set_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 769 lpfc_release_rpi(struct lpfc_hba *phba, struct lpfc_vport *vport, uint16_t rpi) argument 791 lpfc_disc_illegal(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 817 lpfc_cmpl_plogi_illegal(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 838 lpfc_rcv_plogi_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 852 lpfc_rcv_els_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 860 lpfc_rcv_logo_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 875 lpfc_cmpl_logo_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 882 lpfc_device_rm_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 889 lpfc_device_recov_unused_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 897 lpfc_rcv_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 948 lpfc_rcv_prli_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 962 lpfc_rcv_logo_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 975 lpfc_rcv_els_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1004 lpfc_cmpl_plogi_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1153 lpfc_cmpl_logo_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1160 lpfc_cmpl_reglogin_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1179 lpfc_device_rm_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1199 lpfc_device_recov_plogi_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1226 lpfc_rcv_plogi_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1256 lpfc_rcv_prli_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1266 lpfc_rcv_logo_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1282 lpfc_rcv_padisc_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1295 lpfc_rcv_prlo_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1308 lpfc_cmpl_adisc_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1365 lpfc_device_rm_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1385 lpfc_device_recov_adisc_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1412 lpfc_rcv_plogi_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1424 lpfc_rcv_prli_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1436 lpfc_rcv_logo_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1481 lpfc_rcv_padisc_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1493 lpfc_rcv_prlo_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1506 lpfc_cmpl_reglogin_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1567 lpfc_device_rm_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1586 lpfc_device_recov_reglogin_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1610 lpfc_rcv_plogi_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1622 lpfc_rcv_prli_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1632 lpfc_rcv_logo_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1645 lpfc_rcv_padisc_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1660 lpfc_rcv_prlo_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1670 lpfc_cmpl_prli_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1751 lpfc_device_rm_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1788 lpfc_device_recov_prli_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1815 lpfc_rcv_plogi_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1829 lpfc_rcv_prli_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1843 lpfc_rcv_logo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1857 lpfc_rcv_padisc_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1871 lpfc_rcv_prlo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1885 lpfc_cmpl_logo_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1900 lpfc_device_rm_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1913 lpfc_device_recov_logo_issue(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1926 lpfc_rcv_plogi_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1936 lpfc_rcv_prli_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1947 lpfc_rcv_logo_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1957 lpfc_rcv_padisc_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1967 lpfc_rcv_prlo_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1977 lpfc_device_recov_unmap_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 1995 lpfc_rcv_plogi_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2005 lpfc_rcv_prli_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2015 lpfc_rcv_logo_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2025 lpfc_rcv_padisc_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2036 lpfc_rcv_prlo_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2052 lpfc_device_recov_mapped_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2069 lpfc_rcv_plogi_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2095 lpfc_rcv_prli_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2125 lpfc_rcv_logo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2135 lpfc_rcv_padisc_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2163 lpfc_rcv_prlo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2192 lpfc_cmpl_plogi_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2213 lpfc_cmpl_prli_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2231 lpfc_cmpl_logo_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2247 lpfc_cmpl_adisc_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2265 lpfc_cmpl_reglogin_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2287 lpfc_device_rm_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2303 lpfc_device_recov_npr_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument 2509 lpfc_disc_state_machine(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, void *arg, uint32_t evt) argument [all...] |
H A D | lpfc_hbadisc.c | 65 static void lpfc_disc_flush_list(struct lpfc_vport *vport); 89 lpfc_debugfs_disc_trc(ndlp->vport, LPFC_DISC_TRC_RPORT, 94 lpfc_sli_abort_iocb(ndlp->vport, 108 struct lpfc_vport *vport; local 119 vport = ndlp->vport; 120 phba = vport->phba; 122 lpfc_debugfs_disc_trc(vport, LPFC_DISC_TRC_RPORT, 126 lpfc_printf_vlog(ndlp->vport, KERN_INFO, LOG_NODE, 130 /* Don't defer this if we are in the process of deleting the vport 216 struct lpfc_vport *vport; local 633 struct lpfc_vport *vport; local 823 lpfc_cleanup_rpis(struct lpfc_vport *vport, int remove) argument 860 lpfc_port_link_failure(struct lpfc_vport *vport) argument 880 lpfc_linkdown_port(struct lpfc_vport *vport) argument 902 struct lpfc_vport *vport = phba->pport; local 964 lpfc_linkup_cleanup_nodes(struct lpfc_vport *vport) argument 990 lpfc_linkup_port(struct lpfc_vport *vport) argument 1051 struct lpfc_vport *vport = pmb->vport; local 1115 struct lpfc_vport *vport = pmb->vport; local 1188 struct lpfc_vport *vport = mboxq->vport; local 1960 lpfc_sli4_fcf_rr_next_proc(struct lpfc_vport *vport, uint16_t fcf_index) argument 2709 struct lpfc_vport *vport = mboxq->vport; local 2741 lpfc_issue_init_vfi(struct lpfc_vport *vport) argument 2774 struct lpfc_vport *vport = mboxq->vport; local 2824 lpfc_issue_init_vpi(struct lpfc_vport *vport) argument 2911 struct lpfc_vport *vport = mboxq->vport; local 3002 struct lpfc_vport *vport = pmb->vport; local 3041 struct lpfc_vport *vport = phba->pport; local 3287 struct lpfc_vport *vport = pmb->vport; local 3434 struct lpfc_vport *vport = pmb->vport; local 3478 struct lpfc_vport *vport = pmb->vport; local 3513 lpfc_mbx_unreg_vpi(struct lpfc_vport *vport) argument 3540 struct lpfc_vport *vport = pmb->vport; local 3599 struct lpfc_vport *vport; local 3735 struct lpfc_vport *vport = pmb->vport; local 3817 struct lpfc_vport *vport = pmb->vport; local 3890 lpfc_register_remote_port(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 3974 lpfc_nlp_counters(struct lpfc_vport *vport, int state, int count) argument 4012 lpfc_nlp_state_cleanup(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int old_state, int new_state) argument 4099 lpfc_nlp_set_state(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int state) argument 4137 lpfc_enqueue_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4149 lpfc_dequeue_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4164 lpfc_disable_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4187 lpfc_initialize_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did) argument 4206 lpfc_enable_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int state) argument 4267 lpfc_drop_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4289 lpfc_set_disctmo(struct lpfc_vport *vport) argument 4332 lpfc_can_disctmo(struct lpfc_vport *vport) argument 4373 struct lpfc_vport *vport = ndlp->vport; local 4469 struct lpfc_vport *vport = pmb->vport; local 4489 lpfc_unreg_rpi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4574 lpfc_unreg_all_rpis(struct lpfc_vport *vport) argument 4604 lpfc_unreg_default_rpis(struct lpfc_vport *vport) argument 4634 lpfc_cleanup_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4730 lpfc_nlp_remove(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 4778 lpfc_matchdid(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did) argument 4824 __lpfc_findnode_did(struct lpfc_vport *vport, uint32_t did) argument 4852 lpfc_findnode_did(struct lpfc_vport *vport, uint32_t did) argument 4865 lpfc_setup_disc_node(struct lpfc_vport *vport, uint32_t did) argument 4932 lpfc_disc_list_loopmap(struct lpfc_vport *vport) argument 4972 lpfc_issue_clear_la(struct lpfc_hba *phba, struct lpfc_vport *vport) argument 5010 lpfc_issue_reg_vpi(struct lpfc_hba *phba, struct lpfc_vport *vport) argument 5028 lpfc_disc_start(struct lpfc_vport *vport) argument 5177 lpfc_disc_flush_list(struct lpfc_vport *vport) argument 5196 lpfc_cleanup_discovery_resources(struct lpfc_vport *vport) argument 5221 struct lpfc_vport *vport = (struct lpfc_vport *) ptr; local 5241 lpfc_disc_timeout_handler(struct lpfc_vport *vport) argument 5477 struct lpfc_vport *vport = pmb->vport; local 5531 __lpfc_find_node(struct lpfc_vport *vport, node_filter filter, void *param) argument 5555 __lpfc_findnode_rpi(struct lpfc_vport *vport, uint16_t rpi) argument 5565 lpfc_findnode_wwpn(struct lpfc_vport *vport, struct lpfc_name *wwpn) argument 5582 lpfc_findnode_rpi(struct lpfc_vport *vport, uint16_t rpi) argument 5609 struct lpfc_vport *vport; local 5644 lpfc_nlp_init(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t did) argument 5905 struct lpfc_vport *vport = mboxq->vport; local 5931 struct lpfc_vport *vport = mboxq->vport; local [all...] |
H A D | lpfc_ct.c | 290 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, argument 297 struct lpfc_hba *phba = vport->phba; 353 lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, 357 vport->port_state); 360 geniocb->vport = vport; 373 lpfc_ct_cmd(struct lpfc_vport *vport, struct lpfc_dmabuf *inmp, argument 379 struct lpfc_hba *phba = vport->phba; 398 status = lpfc_gen_req(vport, bmp, inmp, outmp, cmpl, ndlp, 0, 424 lpfc_ns_rsp(struct lpfc_vport *vport, struc argument 575 struct lpfc_vport *vport = cmdiocb->vport; local 734 struct lpfc_vport *vport = cmdiocb->vport; local 858 struct lpfc_vport *vport = cmdiocb->vport; local 931 struct lpfc_vport *vport = cmdiocb->vport; local 952 struct lpfc_vport *vport = cmdiocb->vport; local 973 struct lpfc_vport *vport = cmdiocb->vport; local 994 struct lpfc_vport *vport = cmdiocb->vport; local 1014 struct lpfc_vport *vport = cmdiocb->vport; local 1027 struct lpfc_vport *vport = cmdiocb->vport; local 1044 lpfc_vport_symbolic_port_name(struct lpfc_vport *vport, char *symbol, size_t size) argument 1069 lpfc_vport_symbolic_node_name(struct lpfc_vport *vport, char *symbol, size_t size) argument 1090 lpfc_ns_cmd(struct lpfc_vport *vport, int cmdcode, uint8_t retry, uint32_t context) argument 1297 struct lpfc_vport *vport = cmdiocb->vport; local 1351 lpfc_fdmi_cmd(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int cmdcode) argument 1748 struct lpfc_vport *vport = (struct lpfc_vport *)ptr; local 1772 lpfc_delayed_disc_timeout_handler(struct lpfc_vport *vport) argument 1790 struct lpfc_vport *vport = (struct lpfc_vport *)ptr; local 1807 lpfc_fdmi_timeout_handler(struct lpfc_vport *vport) argument [all...] |
H A D | lpfc_logmsg.h | 43 #define lpfc_printf_vlog(vport, level, mask, fmt, arg...) \ 45 { if (((mask) & (vport)->cfg_log_verbose) || (level[1] <= '3')) \ 46 dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \ 47 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); } \
|
H A D | lpfc_attr.c | 122 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 123 struct lpfc_hba *phba = vport->phba; 136 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 137 struct lpfc_hba *phba = vport->phba; 155 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 156 struct lpfc_hba *phba = vport->phba; 167 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 168 struct lpfc_hba *phba = vport->phba; 179 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 180 struct lpfc_hba *phba = vport 216 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 239 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 257 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 276 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 295 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 313 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; local 333 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 352 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 386 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 407 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 429 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 516 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 545 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; local 569 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 604 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 627 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 815 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1010 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1029 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1063 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1248 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1276 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1304 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1332 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1360 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1388 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1415 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1441 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1466 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1545 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1564 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1583 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 1610 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 2141 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 2185 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 2210 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 2894 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 2915 lpfc_nodev_tmo_init(struct lpfc_vport *vport, int val) argument 2948 lpfc_update_rport_devloss_tmo(struct lpfc_vport *vport) argument 2977 lpfc_nodev_tmo_set(struct lpfc_vport *vport, int val) argument 3037 lpfc_devloss_tmo_set(struct lpfc_vport *vport, int val) argument 3148 lpfc_restrict_login_init(struct lpfc_vport *vport, int val) argument 3183 lpfc_restrict_login_set(struct lpfc_vport *vport, int val) argument 3260 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 3334 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 3373 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 3527 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 3611 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 3702 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 3850 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; local 3966 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 4033 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; local 4140 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; local 4212 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; local 4301 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; local 4476 lpfc_max_scsicmpl_time_set(struct lpfc_vport *vport, int val) argument 4919 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 4979 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5085 lpfc_alloc_sysfs_attr(struct lpfc_vport *vport) argument 5122 lpfc_free_sysfs_attr(struct lpfc_vport *vport) argument 5146 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5159 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5191 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5234 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5276 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5311 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5438 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5527 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5644 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; local 5855 lpfc_get_vport_cfgparam(struct lpfc_vport *vport) argument [all...] |
H A D | lpfc_vport.h | 109 void *vport; member in struct:vport_cmd_tag 113 void lpfc_vport_set_state(struct lpfc_vport *vport,
|
H A D | lpfc_scsi.c | 74 struct lpfc_vport *vport = (struct lpfc_vport *)sdev->host->hostdata; local 76 if (vport->phba->cfg_fof) 207 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 217 if (!vport->stat_data_enabled || 218 vport->stat_data_blocked || 248 * @vport: Pointer to vport object. 259 struct lpfc_vport *vport, 288 fast_path_evt->vport = vport; 258 lpfc_send_sdev_queuedepth_change_event(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint64_t lun, uint32_t old_val, uint32_t new_val) argument 312 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata; local 507 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) argument 644 lpfc_sli4_vport_delete_fcp_xri_aborted(struct lpfc_vport *vport) argument 913 lpfc_new_scsi_buf_s4(struct lpfc_vport *vport, int num_to_alloc) argument 1076 lpfc_new_scsi_buf(struct lpfc_vport *vport, int num_to_alloc) argument 3686 lpfc_send_scsi_error_event(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd, struct lpfc_iocbq *rsp_iocb) argument 3806 lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd, struct lpfc_iocbq *rsp_iocb) argument 3987 struct lpfc_vport *vport = pIocbIn->vport; local 4280 lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd, struct lpfc_nodelist *pnode) argument 4401 lpfc_scsi_prep_task_mgmt_cmd(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd, uint64_t lun, uint8_t task_mgmt_cmd) argument 4532 struct lpfc_vport *vport = (struct lpfc_vport *) host->hostdata; local 4636 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 4789 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 4991 lpfc_check_fcp_rsp(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd) argument 5061 lpfc_send_taskmgmt(struct lpfc_vport *vport, struct lpfc_rport_data *rdata, unsigned tgt_id, uint64_t lun_id, uint8_t task_mgmt_cmd) argument 5153 lpfc_chk_tgt_mapped(struct lpfc_vport *vport, struct scsi_cmnd *cmnd) argument 5205 lpfc_reset_flush_io_context(struct lpfc_vport *vport, uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd context) argument 5249 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5319 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5394 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5485 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 5526 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata; local 5632 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata; local 5659 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata; local [all...] |
H A D | lpfc_mbox.c | 45 * lpfc_dump_static_vport - Dump HBA's static vport information. 48 * @offset: offset for dumping vport info. 65 /* Setup to dump vport info region */ 358 struct lpfc_vport *vport = phba->pport; local 372 mb->un.varCfgLnk.myId = vport->fc_myDID; 818 * lpfc_sli4_unreg_all_rpis - unregister all RPIs for a vport on SLI4 HBA. 819 * @vport: pointer to a vport object. 822 * a vport. 825 lpfc_sli4_unreg_all_rpis(struct lpfc_vport *vport) argument 868 lpfc_reg_vpi(struct lpfc_vport *vport, LPFC_MBOXQ_t *pmb) argument 2096 lpfc_init_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) argument 2127 lpfc_reg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport, dma_addr_t phys) argument 2205 lpfc_unreg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) argument [all...] |
H A D | lpfc_debugfs.c | 64 * where Y is the vport VPI on that hba 66 * Debugging services available per vport: 69 * lpfc_debugfs_max_disc_trc events that happened on a specific vport. 74 * EACH vport. X MUST also be a power of 2. 117 * @vport: The vport to gather the log info from. 122 * This routine gathers the lpfc discovery debugfs data from the @vport and 135 lpfc_debugfs_disc_trc_data(struct lpfc_vport *vport, char *buf, int size) argument 150 index = (atomic_read(&vport->disc_trc_cnt) + 1) & 153 dtp = vport 528 lpfc_debugfs_nodelist_data(struct lpfc_vport *vport, char *buf, int size) argument 635 lpfc_debugfs_disc_trc(struct lpfc_vport *vport, int mask, char *fmt, uint32_t data1, uint32_t data2, uint32_t data3) argument 719 struct lpfc_vport *vport = inode->i_private; local 1124 struct lpfc_vport *vport = inode->i_private; local 4022 lpfc_debugfs_initialize(struct lpfc_vport *vport) argument 4496 lpfc_debugfs_terminate(struct lpfc_vport *vport) argument [all...] |
H A D | lpfc_disc.h | 61 struct lpfc_vport *vport; member in struct:lpfc_fast_path_event 113 struct lpfc_vport *vport; member in struct:lpfc_nodelist 129 struct lpfc_vport *vport; member in struct:lpfc_node_rrq
|
H A D | lpfc_init.c | 322 * @vport: pointer to lpfc vport data structure. 329 lpfc_update_vport_wwn(struct lpfc_vport *vport) argument 332 if (vport->phba->cfg_soft_wwnn) 333 u64_to_wwn(vport->phba->cfg_soft_wwnn, 334 vport->fc_sparam.nodeName.u.wwn); 335 if (vport->phba->cfg_soft_wwpn) 336 u64_to_wwn(vport->phba->cfg_soft_wwpn, 337 vport->fc_sparam.portName.u.wwn); 343 if (vport 374 struct lpfc_vport *vport = phba->pport; local 677 struct lpfc_vport *vport = phba->pport; local 1449 struct lpfc_vport *vport = phba->pport; local 1623 struct lpfc_vport *vport = phba->pport; local 1756 struct lpfc_vport *vport = phba->pport; local 2506 lpfc_cleanup(struct lpfc_vport *vport) argument 2598 lpfc_stop_vport_timers(struct lpfc_vport *vport) argument 2786 struct lpfc_vport *vport; local 2880 struct lpfc_vport *vport = phba->pport; local 3240 struct lpfc_vport *vport; local 3329 destroy_port(struct lpfc_vport *vport) argument 3382 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 3433 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 4131 lpfc_sli4_perform_vport_cvl(struct lpfc_vport *vport) argument 4211 struct lpfc_vport *vport; local 6016 struct lpfc_vport *vport; local 6049 struct lpfc_vport *vport = phba->pport; local 9084 struct lpfc_vport *vport = phba->pport; local 9393 struct lpfc_vport *vport = NULL; local 9560 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local 10162 struct lpfc_vport *vport = NULL; local 10330 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; local [all...] |
H A D | lpfc_sli.c | 644 if ((rrq->vport) && NLP_CHK_NODE_ACT(rrq->ndlp)) 645 ndlp = lpfc_findnode_did(rrq->vport, rrq->nlp_DID); 720 * @vport: Pointer to vport context object. 728 lpfc_get_active_rrq(struct lpfc_vport *vport, uint16_t xri, uint32_t did) argument 730 struct lpfc_hba *phba = vport->phba; 739 if (rrq->vport == vport && rrq->xritag == xri && 751 * lpfc_cleanup_vports_rrqs - Remove and clear the active RRQ for this vport. 752 * @vport 759 lpfc_cleanup_vports_rrqs(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) argument 2158 struct lpfc_vport *vport = pmb->vport; local 6205 struct lpfc_vport *vport = phba->pport; local 8917 struct lpfc_vport *vport = NULL; local 8962 struct lpfc_vport *vport; local 9300 lpfc_sli_host_down(struct lpfc_vport *vport) argument 9721 struct lpfc_vport *vport = cmdiocb->vport; local 9827 struct lpfc_vport *vport = cmdiocb->vport; local 9909 lpfc_sli_validate_fcp_iocb(struct lpfc_iocbq *iocbq, struct lpfc_vport *vport, uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd ctx_cmd) argument 9971 lpfc_sli_sum_iocb(struct lpfc_vport *vport, uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd ctx_cmd) argument 10037 lpfc_sli_abort_iocb(struct lpfc_vport *vport, struct lpfc_sli_ring *pring, uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd abort_cmd) argument 10131 lpfc_sli_abort_taskmgmt(struct lpfc_vport *vport, struct lpfc_sli_ring *pring, uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd cmd) argument 10877 struct lpfc_vport *vport; local 11628 struct lpfc_vport *vport; local 14682 struct lpfc_vport *vport = NULL; local 14719 lpfc_update_rcv_time_stamp(struct lpfc_vport *vport) argument 14742 lpfc_cleanup_rcv_buffers(struct lpfc_vport *vport) argument 14774 lpfc_rcv_seq_check_edtov(struct lpfc_vport *vport) argument 14820 lpfc_fc_frame_add(struct lpfc_vport *vport, struct hbq_dmabuf *dmabuf) argument 14904 lpfc_sli4_abort_partial_seq(struct lpfc_vport *vport, struct hbq_dmabuf *dmabuf) argument 14956 lpfc_sli4_abort_ulp_seq(struct lpfc_vport *vport, struct hbq_dmabuf *dmabuf) argument 15035 lpfc_sli4_seq_abort_rsp(struct lpfc_vport *vport, struct fc_frame_header *fc_hdr, bool aborted) argument 15188 lpfc_sli4_handle_unsol_abort(struct lpfc_vport *vport, struct hbq_dmabuf *dmabuf) argument 15276 lpfc_prep_seq(struct lpfc_vport *vport, struct hbq_dmabuf *seq_dmabuf) argument 15393 lpfc_sli4_send_seq_to_ulp(struct lpfc_vport *vport, struct hbq_dmabuf *seq_dmabuf) argument 15447 struct lpfc_vport *vport; local 15823 lpfc_sli4_init_vpi(struct lpfc_vport *vport) argument 16831 lpfc_cleanup_pending_mbox(struct lpfc_vport *vport) argument [all...] |
H A D | lpfc_bsg.c | 383 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 384 struct lpfc_hba *phba = vport->phba; 481 cmdiocbq->vport = phba->pport; 653 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 654 struct lpfc_hba *phba = vport->phba; 701 cmdiocbq = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, 1194 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 1195 struct lpfc_hba *phba = vport->phba; 1278 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 1279 struct lpfc_hba *phba = vport 1610 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 2174 struct lpfc_vport *vport; local 2210 struct lpfc_vport *vport; local 2286 struct lpfc_vport *vport; local 2989 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 3293 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 3405 lpfc_bsg_check_cmd_access(struct lpfc_hba *phba, MAILBOX_t *mb, struct lpfc_vport *vport) argument 4593 lpfc_bsg_issue_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job, struct lpfc_vport *vport) argument 4889 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 5043 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local 5301 struct lpfc_vport *vport = (struct lpfc_vport *)job->shost->hostdata; local [all...] |
H A D | lpfc_sli.h | 86 struct lpfc_vport *vport;/* virtual port pointer */ member in struct:lpfc_iocbq 123 struct lpfc_vport *vport;/* virtual port pointer */ member in struct:lpfcMboxq
|
/drivers/scsi/libfc/ |
H A D | fc_npiv.c | 28 * fc_vport_create() - Create a new NPIV vport instance 29 * @vport: fc_vport structure from scsi_transport_fc 33 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) argument 35 struct Scsi_Host *shost = vport_to_shost(vport); 43 vn_port->vport = vport; 44 vport->dd_data = vn_port; 106 struct fc_vport *vport = vn_port->vport; local 113 fc_vport_set_state(vport, FC_VPORT_INITIALIZIN 131 struct fc_vport *vport = vn_port->vport; local [all...] |
/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 165 /* If vport - send completion call back */ 166 if (port->vport) 167 bfa_fcs_vport_stop_comp(port->vport); 202 /* If vport - send completion call back */ 203 if (port->vport) 204 bfa_fcs_vport_stop_comp(port->vport); 260 /* If vport - send completion call back */ 261 if (port->vport) 262 bfa_fcs_vport_stop_comp(port->vport); 307 /* If vport 1070 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_fcs_vport_s *vport) argument 1092 struct bfa_fcs_vport_s *vport = lport->vport; local 5035 struct bfa_fcs_vport_s *vport; local 5552 struct bfa_fcs_vport_s *vport; local 5878 struct bfa_fcs_vport_s *vport; local 6060 bfa_fcs_vport_sm_uninit(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6069 bfa_fcs_fabric_addvport(__vport_fabric(vport), vport); local 6081 bfa_fcs_vport_sm_created(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6126 bfa_fcs_vport_sm_offline(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6169 bfa_fcs_vport_sm_fdisc(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6193 bfa_fcs_vport_timeout, vport, local 6215 bfa_fcs_vport_sm_fdisc_retry(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6251 bfa_fcs_vport_sm_fdisc_rsp_wait(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6285 bfa_fcs_vport_sm_online(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6318 bfa_fcs_vport_sm_stopping(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6344 bfa_fcs_vport_sm_deleting(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6375 bfa_fcs_vport_sm_error(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6397 bfa_fcs_vport_sm_cleanup(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6426 bfa_fcs_vport_sm_logo_for_stop(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6454 bfa_fcs_vport_sm_logo(struct bfa_fcs_vport_s *vport, enum bfa_fcs_vport_event event) argument 6515 bfa_fcs_vport_do_fdisc(struct bfa_fcs_vport_s *vport) argument 6524 bfa_fcs_vport_fdisc_rejected(struct bfa_fcs_vport_s *vport) argument 6572 bfa_fcs_vport_do_logo(struct bfa_fcs_vport_s *vport) argument 6597 struct bfa_fcs_vport_s *vport = (struct bfa_fcs_vport_s *) vport_arg; local 6604 bfa_fcs_vport_free(struct bfa_fcs_vport_s *vport) argument 6609 bfa_fcs_fabric_delvport(__vport_fabric(vport), vport); local 6633 bfa_fcs_vport_online(struct bfa_fcs_vport_s *vport) argument 6646 bfa_fcs_vport_offline(struct bfa_fcs_vport_s *vport) argument 6656 bfa_fcs_vport_cleanup(struct bfa_fcs_vport_s *vport) argument 6665 bfa_fcs_vport_fcs_stop(struct bfa_fcs_vport_s *vport) argument 6674 bfa_fcs_vport_fcs_delete(struct bfa_fcs_vport_s *vport) argument 6683 bfa_fcs_vport_stop_comp(struct bfa_fcs_vport_s *vport) argument 6692 bfa_fcs_vport_delete_comp(struct bfa_fcs_vport_s *vport) argument 6721 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) argument 6771 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) argument 6791 bfa_fcs_is_pbc_vport(struct bfa_fcs_vport_s *vport) argument 6809 bfa_fcs_vport_start(struct bfa_fcs_vport_s *vport) argument 6826 bfa_fcs_vport_stop(struct bfa_fcs_vport_s *vport) argument 6844 bfa_fcs_vport_delete(struct bfa_fcs_vport_s *vport) argument 6864 bfa_fcs_vport_get_attr(struct bfa_fcs_vport_s *vport, struct bfa_vport_attr_s *attr) argument 6883 struct bfa_fcs_vport_s *vport; local 6905 struct bfa_fcs_vport_s *vport = uarg; local 6973 struct bfa_fcs_vport_s *vport = uarg; local 6983 struct bfa_fcs_vport_s *vport = uarg; local [all...] |
H A D | bfa_fcs.h | 143 struct list_head qe; /* used by port/vport */ 155 struct bfa_fcs_vport_s *vport; /* NULL for base ports */ member in struct:bfa_fcs_lport_s 323 u16 vf_id, struct bfa_fcs_vport_s *vport); 344 void bfa_fcs_lport_ns_init(struct bfa_fcs_lport_s *vport); 345 void bfa_fcs_lport_ns_offline(struct bfa_fcs_lport_s *vport); 346 void bfa_fcs_lport_ns_online(struct bfa_fcs_lport_s *vport); 350 void bfa_fcs_lport_scn_init(struct bfa_fcs_lport_s *vport); 351 void bfa_fcs_lport_scn_offline(struct bfa_fcs_lport_s *vport); 352 void bfa_fcs_lport_fab_scn_online(struct bfa_fcs_lport_s *vport); 363 struct bfa_vport_stats_s vport_stats; /* vport statistic [all...] |
H A D | bfad_attr.c | 389 struct bfad_vport_s *vport; local 408 vport = fcs_vport->vport_drv; 409 vshost = vport->drv_port.im_port->shost; 429 fc_vport->dd_data = vport; 430 vport->drv_port.im_port->fc_vport = fc_vport; 485 struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data; local 487 (struct bfad_im_port_s *) vport->drv_port.im_port; 499 list_del(&vport->list_entry); 500 kfree(vport); 506 vshost = vport 543 struct bfad_vport_s *vport; local 576 struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data; local [all...] |
H A D | bfa_fcs.c | 135 * fcs pbc vport initialization 714 * Fabric is being deleted, awaiting vport delete completions. 742 * Fabric is being stopped, awaiting vport stop completions. 1019 struct bfa_fcs_vport_s *vport; local 1033 vport = (struct bfa_fcs_vport_s *) qe; 1034 bfa_fcs_vport_online(vport); 1041 struct bfa_fcs_vport_s *vport; local 1051 vport = (struct bfa_fcs_vport_s *) qe; 1052 bfa_fcs_vport_offline(vport); 1070 * Stop all vports and wait for vport sto 1075 struct bfa_fcs_vport_s *vport; local 1097 struct bfa_fcs_vport_s *vport; local 1244 bfa_fcs_fabric_addvport(struct bfa_fcs_fabric_s *fabric, struct bfa_fcs_vport_s *vport) argument 1263 bfa_fcs_fabric_delvport(struct bfa_fcs_fabric_s *fabric, struct bfa_fcs_vport_s *vport) argument 1278 struct bfa_fcs_vport_s *vport; local 1324 struct bfa_fcs_vport_s *vport; local 1585 struct bfa_fcs_vport_s *vport; local [all...] |
H A D | bfad.c | 507 struct bfad_vport_s *vport; local 510 vport = kzalloc(sizeof(struct bfad_vport_s), GFP_ATOMIC); 511 if (!vport) { 516 vport->drv_port.bfad = bfad; 522 rc = bfa_fcs_pbc_vport_create(&vport->fcs_vport, &bfad->bfa_fcs, 0, 523 &port_cfg, vport); 530 list_add_tail(&vport->list_entry, &bfad->pbc_vport_list); 644 * Create a vport under a vf. 650 struct bfad_vport_s *vport; local 655 vport 979 struct bfad_vport_s *vport, *vport_new; local [all...] |
/drivers/scsi/ |
H A D | scsi_transport_fc.c | 47 struct fc_vport **vport); 1073 struct fc_vport *vport = transport_class_to_vport(dev); \ 1074 struct Scsi_Host *shost = vport_to_shost(vport); \ 1077 !(vport->flags & (FC_VPORT_DEL | FC_VPORT_CREATING))) \ 1078 i->f->get_vport_##field(vport); \ 1079 return snprintf(buf, sz, format_string, cast vport->field); \ 1089 struct fc_vport *vport = transport_class_to_vport(dev); \ 1090 struct Scsi_Host *shost = vport_to_shost(vport); \ 1093 if (vport->flags & (FC_VPORT_DEL | FC_VPORT_CREATING)) \ 1098 i->f->set_vport_##field(vport, va 1261 struct fc_vport *vport = transport_class_to_vport(dev); local 1281 struct fc_vport *vport = transport_class_to_vport(dev); local 1309 struct fc_vport *vport = transport_class_to_vport(dev); local 1857 struct fc_vport *vport; local 1904 struct fc_vport *vport; local 2024 struct fc_vport *vport = dev_to_vport(dev); local 2038 struct fc_vport *vport; local 2439 struct fc_vport *vport = NULL, *next_vport = NULL; local 3344 struct fc_vport *vport; local 3467 struct fc_vport *vport; local 3486 fc_vport_terminate(struct fc_vport *vport) argument 3537 struct fc_vport *vport = local [all...] |
/drivers/scsi/fcoe/ |
H A D | fcoe.c | 708 if (!lport->vport) { 740 if (lport->vport) 753 if (!lport->vport) 787 if (lport->vport) 991 if (lport->vport) 1014 * Release the Scsi_Host for vport but hold on to 1017 if (lport->vport) 1085 * @npiv: Indicates if the port is a vport or not 1101 * parent is only a vport if npiv is 1, 1102 * but we'll only use vport i 1104 struct fc_vport *vport = dev_to_vport(parent); local 2215 struct fc_vport *vport; local 2818 fcoe_vport_create(struct fc_vport *vport, bool disabled) argument 2866 fcoe_vport_destroy(struct fc_vport *vport) argument 2888 fcoe_vport_disable(struct fc_vport *vport, bool disable) argument 2912 fcoe_set_vport_symbolic_name(struct fc_vport *vport) argument [all...] |
/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 182 /* Cleanup IOs belonging to requested vport */ 689 if (lport->vport) 700 if (!lport->vport) 769 if (!lport->vport) { 813 struct fc_lport *vport; local 903 list_for_each_entry(vport, &lport->vports, list) 904 fc_host_port_type(vport->host) = 1060 static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled) argument 1062 struct Scsi_Host *shost = vport_to_shost(vport); 1071 rc = fcoe_validate_vport_create(vport); 1122 bnx2fc_vport_destroy(struct fc_vport *vport) argument 1152 bnx2fc_vport_disable(struct fc_vport *vport, bool disable) argument 1428 struct fc_vport *vport = dev_to_vport(parent); local 1801 struct fc_lport *vport; local [all...] |