/linux/drivers/scsi/bfa/ |
A D | bfa_svc.c | 2971 struct bfa_fcport_s *fcport = ln->fcport; in bfa_fcport_queue_cb() local 3026 ln->fcport = fcport; in bfa_fcport_attach() 3127 bfa_trc(fcport->bfa, fcport->speed); in bfa_fcport_update_linkinfo() 3128 bfa_trc(fcport->bfa, fcport->topology); in bfa_fcport_update_linkinfo() 3221 fcport->pwwn = fcport->bfa->ioc.attr->pwwn; in bfa_fcport_set_wwns() 3222 fcport->nwwn = fcport->bfa->ioc.attr->nwwn; in bfa_fcport_set_wwns() 3224 bfa_trc(fcport->bfa, fcport->pwwn); in bfa_fcport_set_wwns() 3225 bfa_trc(fcport->bfa, fcport->nwwn); in bfa_fcport_set_wwns() 3303 bfa_trc(fcport->bfa, fcport->stats_qfull); in bfa_fcport_stats_get_timeout() 3368 bfa_trc(fcport->bfa, fcport->stats_qfull); in bfa_fcport_stats_clr_timeout() [all …]
|
A D | bfad_bsg.c | 937 fcport->cfg.ratelimit = BFA_TRUE; in bfad_iocmd_ratelim() 939 fcport->cfg.ratelimit = BFA_FALSE; in bfad_iocmd_ratelim() 963 (iocmd->speed > fcport->speed_sup)) { in bfad_iocmd_ratelim_speed() 973 fcport->cfg.trl_def_speed = iocmd->speed; in bfad_iocmd_ratelim_speed() 2308 fcport->cfg.trunked = BFA_TRUE; in bfad_iocmd_cfg_trunk() 2312 fcport->cfg.trunked = BFA_FALSE; in bfad_iocmd_cfg_trunk() 2363 fcport->cfg.qos_enabled = BFA_TRUE; in bfad_iocmd_qos() 2365 fcport->cfg.qos_enabled = BFA_FALSE; in bfad_iocmd_qos() 2367 fcport->cfg.qos_bw.med = BFA_QOS_BW_MED; in bfad_iocmd_qos() 2368 fcport->cfg.qos_bw.low = BFA_QOS_BW_LOW; in bfad_iocmd_qos() [all …]
|
A D | bfa_modules.h | 26 struct bfa_fcport_s fcport; /* fc port module */ member
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_edif.c | 73 fc_port_t *fcport = edif_entry->fcport; in qla2x00_sa_replace_iocb_timeout() local 187 e->u.sa_update.fcport = fcport; in qla_post_sa_replace_work() 199 fcport->node_name, fcport->port_name, fcport->d_id.b24); in qla_edif_sa_ctl_init() 433 if (entry->fcport == fcport) { in qla2x00_release_all_sadb() 444 if (entry->fcport == fcport) { in qla2x00_release_all_sadb() 599 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop() 1114 sa_ctl->fcport = fcport; in qla_edif_add_sa_ctl() 1403 edif_entry->fcport = fcport; in qla24xx_sadb_update() 2175 fcport = sa_ctl->fcport; in qla24xx_issue_sa_replace_iocb() 2205 sp->fcport = fcport; in qla24xx_issue_sa_replace_iocb() [all …]
|
A D | qla_init.c | 283 ea.fcport = sp->fcport; in qla2x00_async_login_sp_done() 528 e->u.fcport.fcport = fcport; in qla_post_els_plogi_work() 552 ea.fcport = sp->fcport; in qla2x00_async_adisc_sp_done() 684 fcport = ea->fcport; in qla24xx_handle_gnl_done_event() 1030 ea.fcport = fcport; in qla24xx_async_gnl_sp_done() 1162 e->u.fcport.fcport = fcport; in qla24xx_post_gnl_work() 1185 ea.fcport = fcport; in qla24xx_async_gpdb_sp_done() 1208 e->u.fcport.fcport = fcport; in qla24xx_post_prli_work() 1227 ea.fcport = sp->fcport; in qla2x00_async_prli_sp_done() 1312 e->u.fcport.fcport = fcport; in qla24xx_post_gpdb_work() [all …]
|
A D | qla_nvme.c | 82 rport->fcport = fcport; in qla_nvme_register_remote() 230 fc_port_t *fcport = sp->fcport; in qla_nvme_abort_work() local 312 fc_port_t *fcport = qla_rport->fcport; in qla_nvme_ls_req() local 320 if (!fcport || fcport->deleted) in qla_nvme_ls_req() 323 vha = fcport->vha; in qla_nvme_ls_req() 593 fc_port_t *fcport; in qla_nvme_post_cmd() local 607 fcport = qla_rport->fcport; in qla_nvme_post_cmd() 609 if (unlikely(!qpair || !fcport || fcport->deleted)) in qla_nvme_post_cmd() 690 fcport = qla_rport->fcport; in qla_nvme_remoteport_delete() 696 fcport, fcport->port_name); in qla_nvme_remoteport_delete() [all …]
|
A D | qla_gs.c | 2813 e->u.fcport.fcport = fcport; in qla24xx_post_gpsc_work() 2851 fc_port_t *fcport = sp->fcport; in qla24xx_async_gpsc_sp_done() local 2891 ea.fcport = fcport; in qla24xx_async_gpsc_sp_done() 3281 fc_port_t *fcport = ea->fcport; in qla24xx_handle_gffid_event() local 3289 fc_port_t *fcport = sp->fcport; in qla24xx_async_gffid_sp_done() local 3325 ea.fcport = sp->fcport; in qla24xx_async_gffid_sp_done() 4149 fc_port_t *fcport = sp->fcport; in qla2x00_async_gnnid_sp_done() local 4160 ea.fcport = fcport; in qla2x00_async_gnnid_sp_done() 4246 e->u.fcport.fcport = fcport; in qla24xx_post_gnnid_work() 4290 ea.fcport = fcport; in qla2x00_async_gfpnid_sp_done() [all …]
|
A D | qla_inline.h | 117 fcport->disc_state = state; in qla2x00_set_fcport_disc_state() 122 ql_dbg(ql_dbg_disc, fcport->vha, 0x2134, in qla2x00_set_fcport_disc_state() 182 sp->fcport = fcport; in qla2xxx_init_sp() 192 fc_port_t *fcport, gfp_t flag) in qla2xxx_get_qpair_sp() argument 293 if (fcport->retry_delay_timestamp && in qla2x00_set_retry_delay_timestamp() 305 ql_log(ql_log_warn, fcport->vha, 0x5101, in qla2x00_set_retry_delay_timestamp() 483 fcport_is_smaller(fc_port_t *fcport) in fcport_is_smaller() argument 485 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller() 486 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller() 493 fcport_is_bigger(fc_port_t *fcport) in fcport_is_bigger() argument [all …]
|
A D | qla_iocb.c | 2536 struct fc_port *fcport = sp->fcport; in qla24xx_tm_iocb() local 2592 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd_iocb_timeout() local 2625 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd_sp_done() local 2632 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_els_dcmd_sp_done() 2670 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla24xx_els_dcmd_iocb() 2674 sp->fcport = fcport; in qla24xx_els_dcmd_iocb() 2716 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla24xx_els_dcmd_iocb() 2794 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd2_iocb_timeout() local 2838 fc_port_t *fcport = sp->fcport; in qla2x00_els_dcmd2_sp_done() local 2862 ea.fcport = fcport; in qla2x00_els_dcmd2_sp_done() [all …]
|
A D | qla_os.c | 892 if (!fcport || fcport->deleted) { in qla2xxx_queuecommand() 981 if (!fcport || fcport->deleted) { in qla2xxx_mqueuecommand() 4021 fcport->flags, fcport->port_type, in qla2x00_mark_all_devices_lost() 4022 fcport->d_id.b24, fcport->port_name); in qla2x00_mark_all_devices_lost() 5089 e->u.logio.fcport = fcport; \ 5417 qla24xx_async_gpdb(vha, e->u.fcport.fcport, in qla2x00_do_work() 5421 qla24xx_async_prli(vha, e->u.fcport.fcport); in qla2x00_do_work() 5427 qla24xx_async_gnl(vha, e->u.fcport.fcport); in qla2x00_do_work() 5459 qla_do_iidma_work(vha, e->u.fcport.fcport); in qla2x00_do_work() 5463 e->u.fcport.fcport, false); in qla2x00_do_work() [all …]
|
A D | qla_mr.c | 1178 fcport->old_tgt_id = fcport->tgt_id; in qlafx00_find_all_targets() 1333 fc_port_t *fcport; in qlafx00_abort_isp_cleanup() local 1359 fcport->flags = 0; in qlafx00_abort_isp_cleanup() 1657 fc_port_t *fcport; in qlafx00_get_fcport() local 1665 fcport, fcport->tgt_id, tgt_id); in qlafx00_get_fcport() 1666 return fcport; in qlafx00_get_fcport() 1675 fc_port_t *fcport; in qlafx00_tgt_detach() local 1681 if (!fcport) in qlafx00_tgt_detach() 2252 fc_port_t *fcport; in qlafx00_status_entry() local 2319 fcport = sp->fcport; in qlafx00_status_entry() [all …]
|
A D | qla_isr.c | 1531 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event() 1923 fcport = sp->fcport; in qla2x00_mbx_iocb_entry() 1934 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_mbx_iocb_entry() 1953 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_mbx_iocb_entry() 1982 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_mbx_iocb_entry() 2342 fcport = sp->fcport; in qla24xx_logio_entry() 2353 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla24xx_logio_entry() 2486 fcport = sp->fcport; in qla24xx_tm_iocb_entry() 2557 fcport = sp->fcport; in qla24xx_nvme_iocb_entry() 3242 fcport = sp->fcport; in qla2x00_status_entry() [all …]
|
A D | qla_mbx.c | 1516 fc_port_t *fcport = sp->fcport; in qla2x00_abort_command() local 1574 vha = fcport->vha; in qla2x00_abort_target() 1622 vha = fcport->vha; in qla2x00_lun_reset() 1966 fcport->query = 0; in qla2x00_get_port_database() 2071 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_get_port_database() 2107 fcport->query = 0; in qla2x00_get_port_database() 2713 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_login_local_device() 3234 fc_port_t *fcport = sp->fcport; in qla24xx_abort_command() local 3334 vha = fcport->vha; in __qla24xx_issue_tmf() 4043 if (fcport) { in qla24xx_report_id_acquisition() [all …]
|
A D | qla_bsg.c | 16 struct fc_port *fcport = container_of(work, typeof(*fcport), in qla2xxx_free_fcport_work() local 345 if (!fcport) { in qla2x00_process_els() 351 fcport->vha = vha; in qla2x00_process_els() 358 fcport->loop_id = in qla2x00_process_els() 414 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_process_els() 527 if (!fcport) { in qla2x00_process_ct() 535 fcport->vha = vha; in qla2x00_process_ct() 561 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct() 1348 fcport->port_name, sizeof(fcport->port_name))) in qla24xx_iidma() 2043 if (!fcport) { in qlafx00_mgmt_cmd() [all …]
|
A D | qla_target.c | 553 e->u.nack.fcport = fcport; in qla24xx_post_nack_work() 712 if (!fcport || !fcport->vha || !fcport->vha->hw) in qla24xx_delete_sess_fn() 842 fc_port_t *fcport = pla->fcport; in qlt_plogi_ack_unref() local 1413 return fcport; in qlt_create_sess() 4634 fcport, in qlt_logo_completion_handler() 4635 fcport->port_name, fcport->loop_id, in qlt_logo_completion_handler() 4636 fcport->d_id.b.domain, fcport->d_id.b.area, in qlt_logo_completion_handler() 6157 if (!fcport) { in qlt_get_port_database() 6187 del = fcport; in qlt_get_port_database() 6227 return fcport; in qlt_get_port_database() [all …]
|
A D | qla_gbl.h | 41 extern void qla2x00_clear_loop_id(fc_port_t *fcport); 83 extern void qla2x00_set_fcport_state(fc_port_t *fcport, int state); 127 void qla_do_iidma_work(struct scsi_qla_host *vha, fc_port_t *fcport); 129 void qla_rscn_replay(fc_port_t *fcport); 134 void qla_edif_list_del(fc_port_t *fcport); 146 struct fc_port *fcport); 254 struct edif_sa_ctl *qla_edif_find_sa_ctl_by_index(fc_port_t *fcport, 727 int qla24xx_async_gffid(scsi_qla_host_t *vha, fc_port_t *fcport); 982 void qla_nvme_unregister_remote_port(struct fc_port *fcport); 987 fc_port_t *fcport); [all …]
|
A D | qla_attr.c | 2647 fc_port_t *fcport; in qla2x00_get_starget_node_name() local 2651 if (fcport->rport && in qla2x00_get_starget_node_name() 2666 fc_port_t *fcport; in qla2x00_get_starget_port_name() local 2670 if (fcport->rport && in qla2x00_get_starget_port_name() 2685 fc_port_t *fcport; in qla2x00_get_starget_port_id() local 2689 if (fcport->rport && in qla2x00_get_starget_port_id() 2692 fcport->d_id.b.area << 8 | fcport->d_id.b.al_pa; in qla2x00_get_starget_port_id() 2713 if (!fcport) in qla2x00_dev_loss_tmo_callbk() 2725 fcport->rport = fcport->drport = NULL; in qla2x00_dev_loss_tmo_callbk() 2743 if (!fcport) in qla2x00_terminate_rport_io() [all …]
|
A D | qla_mid.c | 150 fc_port_t *fcport; in qla2x00_mark_vp_devices_dead() local 152 list_for_each_entry(fcport, &vha->vp_fcports, list) { in qla2x00_mark_vp_devices_dead() 155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead() 157 qla2x00_mark_device_lost(vha, fcport, 0); in qla2x00_mark_vp_devices_dead() 158 qla2x00_set_fcport_state(fcport, FCS_UNCONFIGURED); in qla2x00_mark_vp_devices_dead() 167 fc_port_t *fcport; in qla24xx_disable_vp() local 178 list_for_each_entry(fcport, &vha->vp_fcports, list) in qla24xx_disable_vp() 179 fcport->logout_on_delete = 0; in qla24xx_disable_vp() 322 fc_port_t *fcport; in qla2x00_vp_abort_isp() local 332 list_for_each_entry(fcport, &vha->vp_fcports, list) in qla2x00_vp_abort_isp() [all …]
|
A D | qla_def.h | 680 struct fc_port *fcport; member 2457 void *fcport; member 2656 fc_port_t *fcport; member 3491 struct fc_port *fcport; member 3518 fc_port_t *fcport; member 3520 } fcport; member 3522 fc_port_t *fcport; member 3532 fc_port_t *fcport; member 5236 fc_port_t *fcport; member 5351 (NVME_TYPE(fcport) && !FCP_TYPE(fcport)) \ [all …]
|
A D | qla_dfs.c | 289 fc_port_t *fcport = NULL; in qla_dfs_tgt_counters_show() local 371 list_for_each_entry(fcport, &vha->vp_fcports, list) { in qla_dfs_tgt_counters_show() 372 if (!fcport->rport) in qla_dfs_tgt_counters_show() 376 fcport->rport->number, fcport->tgt_short_link_down_cnt); in qla_dfs_tgt_counters_show()
|
/linux/drivers/scsi/qedf/ |
A D | qedf_els.c | 27 if (!fcport) { in qedf_initiate_els() 70 els_req->fcport = fcport; in qedf_initiate_els() 160 fcport = els_req->fcport; in qedf_process_els_compl() 255 fcport = aborted_io_req->fcport; in qedf_send_rrq() 257 if (!fcport) { in qedf_send_rrq() 385 fcport); in qedf_restart_rport() 447 fcport = els_req->fcport; in qedf_l2_els_compl() 638 fcport = orig_io_req->fcport; in qedf_send_srr() 705 fcport = orig_io_req->fcport; in qedf_initiate_seq_cleanup() 777 fcport = orig_io_req->fcport; in qedf_requeue_io_req() [all …]
|
A D | qedf_io.c | 26 fcport = io_req->fcport; in qedf_cmd_timeout() 368 io_req->fcport = fcport; in qedf_alloc_cmd() 437 struct qedf_rport *fcport = io_req->fcport; in qedf_release_cmd() local 680 struct qedf_rport *fcport = io_req->fcport; in qedf_init_mp_task() local 1171 fcport = io_req->fcport; in qedf_scsi_completion() 1434 struct qedf_rport *fcport = io_req->fcport; in qedf_process_warning_compl() local 1670 if (io_req->fcport != fcport) in qedf_flush_active_ios() 1821 io_req->fcport == fcport) { in qedf_flush_active_ios() 2159 fcport = io_req->fcport; in qedf_initiate_cleanup() 2326 io_req->fcport = fcport; in qedf_execute_tmf() [all …]
|
A D | qedf_main.c | 896 fcport, fcport->rdata->ids.port_id); in qedf_wait_for_upload() 1024 return fcport; in qedf_fcport_lookup() 1253 fcport->sq_mem_size = ALIGN(fcport->sq_mem_size, QEDF_PAGE_SIZE); in qedf_alloc_sq() 1254 fcport->sq_pbl_size = (fcport->sq_mem_size / QEDF_PAGE_SIZE) * in qedf_alloc_sq() 1256 fcport->sq_pbl_size = fcport->sq_pbl_size + QEDF_PAGE_SIZE; in qedf_alloc_sq() 1301 fcport->sq_pbl, fcport->sq_pbl_dma); in qedf_free_sq() 1302 if (fcport->sq) in qedf_free_sq() 1304 fcport->sq, fcport->sq_dma); in qedf_free_sq() 1318 &fcport->fw_cid, &fcport->p_doorbell); in qedf_offload_connection() 1328 fcport->fw_cid, fcport->handle); in qedf_offload_connection() [all …]
|
A D | qedf.h | 116 struct qedf_rport *fcport; member 492 extern void qedf_flush_active_ios(struct qedf_rport *fcport, int lun); 498 extern struct qedf_ioreq *qedf_alloc_cmd(struct qedf_rport *fcport, 507 extern u16 qedf_get_sqe_idx(struct qedf_rport *fcport); 508 extern void qedf_ring_doorbell(struct qedf_rport *fcport); 512 extern int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp); 530 extern void qedf_restart_rport(struct qedf_rport *fcport); 532 extern int qedf_post_io_req(struct qedf_rport *fcport,
|
A D | qedf_debugfs.c | 322 struct qedf_rport *fcport; in qedf_driver_stats_show() local 352 list_for_each_entry_rcu(fcport, &qedf->fcports, peers) { in qedf_driver_stats_show() 353 rdata = fcport->rdata; in qedf_driver_stats_show() 360 atomic_read(&fcport->free_sqes), in qedf_driver_stats_show() 361 atomic_read(&fcport->num_active_ios)); in qedf_driver_stats_show()
|