Lines Matching refs:s_id

1330 static int qla24xx_get_loop_id(struct scsi_qla_host *vha, be_id_t s_id,  in qla24xx_get_loop_id()  argument
1361 if (gid->al_pa == s_id.al_pa && in qla24xx_get_loop_id()
1362 gid->area == s_id.area && in qla24xx_get_loop_id()
1363 gid->domain == s_id.domain) { in qla24xx_get_loop_id()
1823 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id; in qlt_build_abts_resp_iocb()
1824 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id; in qlt_build_abts_resp_iocb()
1896 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.s_id; in qlt_24xx_send_abts_resp()
1898 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id; in qlt_24xx_send_abts_resp()
1899 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id; in qlt_24xx_send_abts_resp()
1966 ctio->initiator_id = entry->fcp_hdr_le.s_id; in qlt_24xx_retry_term_exchange()
2007 static void abort_cmds_for_lun(struct scsi_qla_host *vha, u64 lun, be_id_t s_id) in abort_cmds_for_lun() argument
2014 key = sid_to_key(s_id); in abort_cmds_for_lun()
2020 op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); in abort_cmds_for_lun()
2031 cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id); in abort_cmds_for_lun()
2175 be_id_t s_id; in qlt_24xx_handle_abts() local
2199 "tag=%d, param=%x)\n", vha->vp_idx, abts->fcp_hdr_le.s_id.domain, in qlt_24xx_handle_abts()
2200 abts->fcp_hdr_le.s_id.area, abts->fcp_hdr_le.s_id.al_pa, tag, in qlt_24xx_handle_abts()
2203 s_id = le_id_to_be(abts->fcp_hdr_le.s_id); in qlt_24xx_handle_abts()
2206 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id); in qlt_24xx_handle_abts()
2267 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); in qlt_24xx_send_task_mgmt_ctio()
2324 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); in qlt_send_resp_ctio()
2626 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); in qlt_24xx_build_ctio_pkt()
3152 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); in qlt_build_ctio_crc2_pkt()
3704 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); in __qlt_send_term_exchange()
4390 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id); in qlt_handle_cmd_for_atio()
4394 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, atio->u.isp24.fcp_hdr.s_id); in qlt_handle_cmd_for_atio()
4486 abort_cmds_for_lun(vha, lun, a->u.isp24.fcp_hdr.s_id); in qlt_issue_task_mgmt()
4524 a->u.isp24.fcp_hdr.s_id); in qlt_handle_task_mgmt()
4696 static int abort_cmds_for_s_id(struct scsi_qla_host *vha, port_id_t *s_id) in abort_cmds_for_s_id() argument
4704 key = (((u32)s_id->b.domain << 16) | in abort_cmds_for_s_id()
4705 ((u32)s_id->b.area << 8) | in abort_cmds_for_s_id()
4706 ((u32)s_id->b.al_pa)); in abort_cmds_for_s_id()
4710 uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); in abort_cmds_for_s_id()
4719 uint32_t cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id); in abort_cmds_for_s_id()
5400 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id); in __qlt_send_busy()
5428 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); in __qlt_send_busy()
5494 (vha, atio->u.isp24.fcp_hdr.s_id); in qlt_alloc_qfull_cmd()
6202 be_id_t s_id) in qlt_make_local_sess() argument
6209 if (s_id.domain == 0xFF && s_id.area == 0xFC) { in qlt_make_local_sess()
6216 s_id.domain, s_id.area, s_id.al_pa); in qlt_make_local_sess()
6226 rc = qla24xx_get_loop_id(vha, s_id, &loop_id); in qlt_make_local_sess()
6233 vha->vp_idx, s_id.domain, s_id.area, s_id.al_pa); in qlt_make_local_sess()
6238 logo.id = be_to_port_id(s_id); in qlt_make_local_sess()
6277 be_id_t s_id; in qlt_abort_work() local
6285 s_id = le_id_to_be(prm->abts.fcp_hdr_le.s_id); in qlt_abort_work()
6287 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id); in qlt_abort_work()
6291 sess = qlt_make_local_sess(vha, s_id); in qlt_abort_work()
6821 &pkt->u.isp24.fcp_hdr.s_id, in qlt_24xx_process_atio_queue()