/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_crtn.h | 41 void lpfc_issue_clear_la(struct lpfc_hba *, struct lpfc_vport *); 52 void lpfc_sli4_unreg_all_rpis(struct lpfc_vport *); 54 void lpfc_reg_vpi(struct lpfc_vport *, LPFC_MBOXQ_t *); 55 void lpfc_register_new_vport(struct lpfc_hba *, struct lpfc_vport *, 65 struct lpfc_vport *lpfc_find_vport_by_did(struct lpfc_hba *, uint32_t); 66 void lpfc_cleanup_rcv_buffers(struct lpfc_vport *); 67 void lpfc_rcv_seq_check_edtov(struct lpfc_vport *); 68 void lpfc_cleanup_rpis(struct lpfc_vport *, int); 69 void lpfc_cleanup_pending_mbox(struct lpfc_vport *); 71 void lpfc_linkdown_port(struct lpfc_vport *); [all …]
|
D | lpfc_attr.c | 122 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_cmf_info_show() 322 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_enable_fip_show() 336 struct lpfc_vport *vport = shost_priv(shost); in lpfc_nvme_info_show() 707 struct lpfc_vport *vport = shost_priv(shost); in lpfc_scsi_stat_show() 758 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_info_show() 778 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_guard_err_show() 790 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_apptag_err_show() 802 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_reftag_err_show() 839 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_serialnum_show() 862 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_temp_sensor_show() [all …]
|
D | lpfc_vport.c | 53 inline void lpfc_vport_set_state(struct lpfc_vport *vport, in lpfc_vport_set_state() 118 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) in lpfc_vport_sparm() 202 lpfc_unique_wwpn(struct lpfc_hba *phba, struct lpfc_vport *new_vport) in lpfc_unique_wwpn() 204 struct lpfc_vport *vport; in lpfc_unique_wwpn() 238 static void lpfc_discovery_wait(struct lpfc_vport *vport) in lpfc_discovery_wait() 296 struct lpfc_vport *pport = (struct lpfc_vport *) shost->hostdata; in lpfc_vport_create() 298 struct lpfc_vport *vport = NULL; in lpfc_vport_create() 406 *(struct lpfc_vport **)fc_vport->dd_data = vport; in lpfc_vport_create() 486 lpfc_send_npiv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_send_npiv_logo() 535 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in disable_vport() [all …]
|
D | lpfc_nportdisc.c | 52 lpfc_check_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_check_adisc() 73 lpfc_check_sparm(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_check_sparm() 325 lpfc_rcv_plogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_plogi() 680 struct lpfc_vport *vport; in lpfc_mbx_cmpl_resume_rpi() 705 lpfc_rcv_padisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_padisc() 802 lpfc_rcv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_logo() 807 struct lpfc_vport **vports; in lpfc_rcv_logo() 919 lpfc_rcv_prli_support_check(struct lpfc_vport *vport, in lpfc_rcv_prli_support_check() 954 lpfc_rcv_prli(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_prli() 1028 lpfc_disc_set_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_disc_set_adisc() [all …]
|
D | lpfc_ct.c | 157 struct lpfc_vport *vport = ndlp->vport; in lpfc_ct_reject_event() 286 struct lpfc_vport *vport = ctiocbq->vport; in lpfc_ct_handle_mibreq() 586 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, in lpfc_gen_req() 664 lpfc_ct_cmd(struct lpfc_vport *vport, struct lpfc_dmabuf *inmp, in lpfc_ct_cmd() 698 struct lpfc_vport * 700 struct lpfc_vport *vport_curr; in lpfc_find_vport_by_did() 715 lpfc_prep_node_fc4type(struct lpfc_vport *vport, uint32_t Did, uint8_t fc4_type) in lpfc_prep_node_fc4type() 803 lpfc_ns_rsp_audit_did(struct lpfc_vport *vport, uint32_t Did, uint8_t fc4_type) in lpfc_ns_rsp_audit_did() 846 lpfc_ns_rsp(struct lpfc_vport *vport, struct lpfc_dmabuf *mp, uint8_t fc4_type, in lpfc_ns_rsp() 916 struct lpfc_vport *vport = cmdiocb->vport; in lpfc_cmpl_ct_cmd_gid_ft() [all …]
|
D | lpfc_vport.h | 93 struct lpfc_vport **lpfc_create_vport_work_array(struct lpfc_hba *); 94 void lpfc_destroy_vport_work_array(struct lpfc_hba *, struct lpfc_vport **); 115 void lpfc_vport_set_state(struct lpfc_vport *vport,
|
D | lpfc_hbadisc.c | 70 static void lpfc_disc_timeout_handler(struct lpfc_vport *); 71 static void lpfc_disc_flush_list(struct lpfc_vport *vport); 131 struct lpfc_vport *vport; in lpfc_terminate_rport_io() 154 struct lpfc_vport *vport; in lpfc_dev_loss_tmo_callbk() 275 static void lpfc_check_inactive_vmid_one(struct lpfc_vport *vport) in lpfc_check_inactive_vmid_one() 351 struct lpfc_vport *vport; in lpfc_check_inactive_vmid() 352 struct lpfc_vport **vports; in lpfc_check_inactive_vmid() 382 lpfc_check_nlp_post_devloss(struct lpfc_vport *vport, in lpfc_check_nlp_post_devloss() 416 struct lpfc_vport *vport; in lpfc_dev_loss_tmo_handler() 563 struct lpfc_vport *vport; in lpfc_check_vmid_qfpa_issue() [all …]
|
D | lpfc_vmid.c | 47 struct lpfc_vmid *lpfc_get_vmid_from_hashtable(struct lpfc_vport *vport, in lpfc_get_vmid_from_hashtable() 69 lpfc_put_vmid_in_hashtable(struct lpfc_vport *vport, u32 hash, in lpfc_put_vmid_in_hashtable() 107 static void lpfc_vmid_update_entry(struct lpfc_vport *vport, in lpfc_vmid_update_entry() 129 static void lpfc_vmid_assign_cs_ctl(struct lpfc_vport *vport, in lpfc_vmid_assign_cs_ctl() 158 int lpfc_vmid_get_appid(struct lpfc_vport *vport, char *uuid, in lpfc_vmid_get_appid()
|
D | lpfc_nvme.h | 49 struct lpfc_vport *vport; 233 int __lpfc_nvme_ls_req(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, 238 void __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport, 240 int __lpfc_nvme_ls_abort(struct lpfc_vport *vport,
|
D | lpfc_disc.h | 64 struct lpfc_vport *vport; 143 struct lpfc_vport *vport; 171 struct lpfc_vport *vport;
|
D | lpfc_els.c | 54 static void lpfc_fabric_abort_vport(struct lpfc_vport *vport); 55 static int lpfc_issue_els_fdisc(struct lpfc_vport *vport, 67 static void lpfc_init_cs_ctl_bitmap(struct lpfc_vport *vport); 68 static void lpfc_vmid_set_cs_ctl_range(struct lpfc_vport *vport, u32 min, u32 max); 69 static void lpfc_vmid_put_cs_ctl(struct lpfc_vport *vport, u32 ctcl_vmid); 94 lpfc_els_chk_latt(struct lpfc_vport *vport) in lpfc_els_chk_latt() 163 lpfc_prep_els_iocb(struct lpfc_vport *vport, u8 expect_rsp, in lpfc_prep_els_iocb() 344 lpfc_issue_fabric_reglogin(struct lpfc_vport *vport) in lpfc_issue_fabric_reglogin() 435 lpfc_issue_reg_vfi(struct lpfc_vport *vport) in lpfc_issue_reg_vfi() 511 lpfc_issue_unreg_vfi(struct lpfc_vport *vport) in lpfc_issue_unreg_vfi() [all …]
|
D | lpfc_nvme.c | 87 struct lpfc_vport *vport; in lpfc_nvme_create_queue() 149 struct lpfc_vport *vport; in lpfc_nvme_delete_queue() 192 struct lpfc_vport *vport; in lpfc_nvme_remoteport_delete() 262 struct lpfc_vport *vport; in lpfc_nvme_handle_lsreq() 313 __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport, in __lpfc_nvme_ls_req_cmp() 365 struct lpfc_vport *vport = cmdwqe->vport; in lpfc_nvme_ls_req_cmp() 388 lpfc_nvme_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, in lpfc_nvme_gen_req() 541 __lpfc_nvme_ls_req(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in __lpfc_nvme_ls_req() 666 struct lpfc_vport *vport; in lpfc_nvme_ls_req() 704 __lpfc_nvme_ls_abort(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in __lpfc_nvme_ls_abort() [all …]
|
D | lpfc_scsi.c | 76 struct lpfc_vport *vport = (struct lpfc_vport *)sdev->host->hostdata; in lpfc_rport_data_from_scsi_device() 168 struct lpfc_vport **vports; in lpfc_ramp_down_queue_handler() 218 struct lpfc_vport **vports; in lpfc_scsi_dev_block() 253 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() 389 lpfc_sli4_vport_delete_fcp_xri_aborted(struct lpfc_vport *vport) in lpfc_sli4_vport_delete_fcp_xri_aborted() 2519 struct lpfc_vport *vport = phba->pport; in lpfc_bg_scsi_prep_dma_buf_s3() 3069 struct lpfc_vport *vport = phba->pport; in lpfc_scsi_prep_dma_buf_s4() 3318 struct lpfc_vport *vport = phba->pport; in lpfc_bg_scsi_prep_dma_buf_s4() 3560 lpfc_scsi_prep_cmnd_buf(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, in lpfc_scsi_prep_cmnd_buf() 3577 lpfc_send_scsi_error_event(struct lpfc_hba *phba, struct lpfc_vport *vport, in lpfc_send_scsi_error_event() [all …]
|
D | lpfc_sli.h | 29 struct lpfc_vport; 128 struct lpfc_vport *vport;/* virtual port pointer */ 184 struct lpfc_vport *vport; /* virtual port pointer */
|
D | Makefile | 35 lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
|
D | lpfc_init.c | 104 static int lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport); 350 lpfc_update_vport_wwn(struct lpfc_vport *vport) in lpfc_update_vport_wwn() 418 struct lpfc_vport *vport = phba->pport; in lpfc_config_port_post() 758 struct lpfc_vport *vport = phba->pport; in lpfc_hba_init_link_fc_topology() 883 struct lpfc_vport **vports; in lpfc_hba_down_prep() 1514 struct lpfc_vport **vports; in lpfc_hb_timeout_handler() 1786 struct lpfc_vport *vport = phba->pport; in lpfc_handle_eratt_s3() 1989 struct lpfc_vport *vport = phba->pport; in lpfc_handle_eratt_s4() 2194 struct lpfc_vport *vport = phba->pport; in lpfc_handle_latt() 3034 lpfc_cleanup(struct lpfc_vport *vport) in lpfc_cleanup() [all …]
|
D | lpfc.h | 561 struct lpfc_vport { struct 914 (struct lpfc_vport *, struct lpfc_io_buf *, 917 (struct lpfc_vport *vport, 921 (struct lpfc_vport *vport, 970 struct lpfc_vport *vport, 1333 struct lpfc_vport *pport; /* physical lpfc_vport pointer */ 1636 lpfc_shost_from_vport(struct lpfc_vport *vport) in lpfc_shost_from_vport()
|
D | lpfc_bsg.c | 381 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_send_mgmt_cmd() 644 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_rport_els() 1168 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_hba_set_event() 1251 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_hba_get_event() 1572 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_send_mgmt_rsp() 1648 struct lpfc_vport **vports; in lpfc_bsg_diag_mode_enter() 1704 struct lpfc_vport **vports; in lpfc_bsg_diag_mode_exit() 2222 struct lpfc_vport *vport; in lpfc_bsg_diag_loopback_mode() 2260 struct lpfc_vport *vport; in lpfc_sli4_bsg_diag_mode_end() 2339 struct lpfc_vport *vport; in lpfc_sli4_bsg_link_diag_test() [all …]
|
D | lpfc_debugfs.c | 146 lpfc_debugfs_disc_trc_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_disc_trc_data() 805 lpfc_debugfs_nodelist_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_nodelist_data() 1029 lpfc_debugfs_nvmestat_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_nvmestat_data() 1251 lpfc_debugfs_scsistat_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_scsistat_data() 1392 lpfc_debugfs_ioktime_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_ioktime_data() 1694 lpfc_debugfs_hdwqstat_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_hdwqstat_data() 1821 lpfc_debugfs_disc_trc(struct lpfc_vport *vport, int mask, char *fmt, in lpfc_debugfs_disc_trc() 1939 struct lpfc_vport *vport = inode->i_private; in lpfc_debugfs_disc_trc_open() 2485 struct lpfc_vport *vport = inode->i_private; in lpfc_debugfs_nodelist_open() 2651 struct lpfc_vport *vport = inode->i_private; in lpfc_debugfs_nvmestat_open() [all …]
|
D | lpfc_sli4.h | 1135 void lpfc_sli4_vport_delete_els_xri_aborted(struct lpfc_vport *); 1136 void lpfc_sli4_vport_delete_fcp_xri_aborted(struct lpfc_vport *); 1142 int lpfc_sli4_init_vpi(struct lpfc_vport *);
|
D | lpfc_mbox.c | 426 struct lpfc_vport *vport = phba->pport; in lpfc_config_link() 901 lpfc_sli4_unreg_all_rpis(struct lpfc_vport *vport) in lpfc_sli4_unreg_all_rpis() 942 lpfc_reg_vpi(struct lpfc_vport *vport, LPFC_MBOXQ_t *pmb) in lpfc_reg_vpi() 2185 lpfc_init_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_init_vfi() 2216 lpfc_reg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport, dma_addr_t phys) in lpfc_reg_vfi() 2318 lpfc_unreg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_unreg_vfi()
|
D | lpfc_sli.c | 76 static void lpfc_sli4_send_seq_to_ulp(struct lpfc_vport *, 78 static void lpfc_sli4_handle_mds_loopback(struct lpfc_vport *vport, 1066 lpfc_get_active_rrq(struct lpfc_vport *vport, uint16_t xri, uint32_t did) in lpfc_get_active_rrq() 1097 lpfc_cleanup_vports_rrqs(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_cleanup_vports_rrqs() 2825 __lpfc_sli_rpi_release(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in __lpfc_sli_rpi_release() 2840 lpfc_sli_rpi_release(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_sli_rpi_release() 2858 struct lpfc_vport *vport = pmb->vport; in lpfc_sli_def_mbox_cmpl() 2971 struct lpfc_vport *vport = pmb->vport; in lpfc_sli4_unreg_rpi_cmpl_clr() 7896 struct lpfc_vport *vport = pmb->vport; in lpfc_mbx_cmpl_cgn_set_ftrs() 8469 struct lpfc_vport *vport = phba->pport; in lpfc_sli4_hba_setup() [all …]
|
D | lpfc_nvmet.c | 1645 struct lpfc_vport *vport = phba->pport; in lpfc_nvmet_create_targetport() 1746 struct lpfc_vport *vport = phba->pport; in lpfc_nvmet_update_targetport() 1868 lpfc_nvmet_rcv_unsol_abort(struct lpfc_vport *vport, in lpfc_nvmet_rcv_unsol_abort()
|