Home
last modified time | relevance | path

Searched refs:fcp_cmnd (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/scsi/lpfc/
A Dlpfc_scsi.c810 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_scsi_prep_dma_buf_s3() local
2494 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_bg_scsi_prep_dma_buf_s3() local
3046 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_scsi_prep_dma_buf_s4() local
3294 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_bg_scsi_prep_dma_buf_s4() local
4614 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_scsi_prep_cmnd_buf_s3() local
4690 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_scsi_prep_cmnd_buf_s4() local
4805 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_scsi_prep_cmnd() local
4853 struct fcp_cmnd *fcp_cmnd; in lpfc_scsi_prep_task_mgmt_cmd_s3() local
4865 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_scsi_prep_task_mgmt_cmd_s3()
4913 struct fcp_cmnd *fcp_cmnd; in lpfc_scsi_prep_task_mgmt_cmd_s4() local
[all …]
A Dlpfc_scsi.h118 struct fcp_cmnd { struct
A Dlpfc_sli.h471 struct fcp_cmnd *fcp_cmnd; member
A Dlpfc_hw4.h2167 struct fcp_cmnd *fcp_cmnd; member
A Dlpfc_sli.c10603 struct fcp_cmnd *fcp_cmnd; in lpfc_prep_embed_io() local
10606 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_prep_embed_io()
10620 lpfc_sli_pcimem_bcopy(fcp_cmnd, ptr, le32_to_cpu(sgl->sge_len)); in lpfc_prep_embed_io()
12656 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()
22504 tmp->fcp_cmnd = dma_pool_zalloc(phba->lpfc_cmd_rsp_buf_pool, in lpfc_get_cmd_rsp_buf_per_hdwq()
22508 if (!tmp->fcp_cmnd) { in lpfc_get_cmd_rsp_buf_per_hdwq()
22517 tmp->fcp_rsp = (struct fcp_rsp *)((uint8_t *)tmp->fcp_cmnd + in lpfc_get_cmd_rsp_buf_per_hdwq()
22599 list_entry->fcp_cmnd, in lpfc_free_cmd_rsp_buf_per_hdwq()
/linux/drivers/scsi/elx/efct/
A Defct_unsol.c146 if (seq->payload->dma.len < sizeof(struct fcp_cmnd)) { in efct_validate_fcp_cmd()
152 seq->payload->dma.len, sizeof(struct fcp_cmnd)); in efct_validate_fcp_cmd()
159 efct_populate_io_fcp_cmd(struct efct_io *io, struct fcp_cmnd *cmnd, in efct_populate_io_fcp_cmd()
181 efct_get_flags_fcp_cmd(struct fcp_cmnd *cmnd) in efct_get_flags_fcp_cmd()
317 struct fcp_cmnd *fcpcmd = seq->payload->dma.virt; in efct_sframe_send_task_set_full_or_busy()
343 struct fcp_cmnd *cmnd = NULL; in efct_dispatch_fcp_cmd()
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_io.c593 mp_req->req_len = sizeof(struct fcp_cmnd); in bnx2fc_init_mp_req()
671 struct fcp_cmnd *fcp_cmnd; in bnx2fc_initiate_tmf() local
739 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf; in bnx2fc_initiate_tmf()
740 int_to_scsilun(tm_lun, &fcp_cmnd->fc_lun); in bnx2fc_initiate_tmf()
742 fcp_cmnd->fc_dl = 0; in bnx2fc_initiate_tmf()
1745 struct fcp_cmnd *fcp_cmnd) in bnx2fc_build_fcp_cmnd() argument
1747 memset(fcp_cmnd, 0, sizeof(struct fcp_cmnd)); in bnx2fc_build_fcp_cmnd()
1750 fcp_cmnd->fc_cmdref = 0; in bnx2fc_build_fcp_cmnd()
1751 fcp_cmnd->fc_pri_ta = 0; in bnx2fc_build_fcp_cmnd()
1753 fcp_cmnd->fc_flags = io_req->io_req_flags; in bnx2fc_build_fcp_cmnd()
[all …]
A Dbnx2fc_hwi.c1712 struct fcp_cmnd *fcp_cmnd; in bnx2fc_init_task() local
1782 fcp_cmnd = (struct fcp_cmnd *)&tmp_fcp_cmnd; in bnx2fc_init_task()
1783 bnx2fc_build_fcp_cmnd(io_req, fcp_cmnd); in bnx2fc_init_task()
1784 int_to_scsilun(sc_cmd->device->lun, &fcp_cmnd->fc_lun); in bnx2fc_init_task()
1785 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len); in bnx2fc_init_task()
1790 cnt = sizeof(struct fcp_cmnd) / sizeof(u64); in bnx2fc_init_task()
A Dbnx2fc.h569 struct fcp_cmnd *fcp_cmnd);
/linux/drivers/scsi/qedf/
A Dqedf_io.c549 struct fcp_cmnd *fcp_cmnd) in qedf_build_fcp_cmnd() argument
554 memset(fcp_cmnd, 0, FCP_CMND_LEN); in qedf_build_fcp_cmnd()
565 fcp_cmnd->fc_pri_ta = 0; in qedf_build_fcp_cmnd()
566 fcp_cmnd->fc_tm_flags = io_req->tm_flags; in qedf_build_fcp_cmnd()
568 fcp_cmnd->fc_cmdref = 0; in qedf_build_fcp_cmnd()
572 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA; in qedf_build_fcp_cmnd()
575 fcp_cmnd->fc_flags |= FCP_CFL_WRDATA; in qedf_build_fcp_cmnd()
577 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA; in qedf_build_fcp_cmnd()
580 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE; in qedf_build_fcp_cmnd()
597 u8 fcp_cmnd[32]; in qedf_init_task() local
[all …]
/linux/drivers/scsi/csiostor/
A Dcsio_scsi.c165 struct fcp_cmnd *fcp_cmnd = (struct fcp_cmnd *)addr; in csio_scsi_fcp_cmnd() local
171 fcp_cmnd->fc_tm_flags = 0; in csio_scsi_fcp_cmnd()
172 fcp_cmnd->fc_cmdref = 0; in csio_scsi_fcp_cmnd()
174 memcpy(fcp_cmnd->fc_cdb, scmnd->cmnd, 16); in csio_scsi_fcp_cmnd()
175 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE; in csio_scsi_fcp_cmnd()
176 fcp_cmnd->fc_dl = cpu_to_be32(scsi_bufflen(scmnd)); in csio_scsi_fcp_cmnd()
180 fcp_cmnd->fc_flags = FCP_CFL_WRDATA; in csio_scsi_fcp_cmnd()
182 fcp_cmnd->fc_flags = FCP_CFL_RDDATA; in csio_scsi_fcp_cmnd()
184 fcp_cmnd->fc_flags = 0; in csio_scsi_fcp_cmnd()
186 memset(fcp_cmnd, 0, sizeof(*fcp_cmnd)); in csio_scsi_fcp_cmnd()
[all …]
/linux/drivers/s390/scsi/
A Dzfcp_fc.h229 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) in zfcp_fc_scsi_to_fcp()
260 void zfcp_fc_fcp_tm(struct fcp_cmnd *fcp, struct scsi_device *dev, u8 tm_flags) in zfcp_fc_fcp_tm()
A Dzfcp_fsf.c2562 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_cmnd() local
2613 BUILD_BUG_ON(sizeof(struct fcp_cmnd) > FSF_FCP_CMND_SIZE); in zfcp_fsf_fcp_cmnd()
2614 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_cmnd()
2615 zfcp_fc_scsi_to_fcp(fcp_cmnd, scsi_cmnd); in zfcp_fsf_fcp_cmnd()
2680 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_task_mgmt() local
2712 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_task_mgmt()
2713 zfcp_fc_fcp_tm(fcp_cmnd, sdev, tm_flags); in zfcp_fsf_fcp_task_mgmt()
A Dzfcp_fsf.h346 struct fcp_cmnd iu;
347 } fcp_cmnd; member
/linux/drivers/scsi/qla2xxx/
A Dqla_iocb.c1352 struct fcp_cmnd *fcp_cmnd; in qla24xx_build_scsi_crc_2_iocbs() local
1422 fcp_cmnd = &crc_ctx_pkt->fcp_cmnd; in qla24xx_build_scsi_crc_2_iocbs()
1426 fcp_cmnd->additional_cdb_len |= 1; in qla24xx_build_scsi_crc_2_iocbs()
1428 fcp_cmnd->additional_cdb_len |= 2; in qla24xx_build_scsi_crc_2_iocbs()
1435 fcp_cmnd->task_management = 0; in qla24xx_build_scsi_crc_2_iocbs()
1436 fcp_cmnd->task_attribute = TSK_SIMPLE; in qla24xx_build_scsi_crc_2_iocbs()
3494 if (!ctx->fcp_cmnd) { in qla82xx_start_scsi()
3555 ctx->fcp_cmnd->task_attribute |= in qla82xx_start_scsi()
4363 if (!ctx->fcp_cmnd) { in qla_start_scsi_type6()
4425 ctx->fcp_cmnd->additional_cdb_len |= 1; in qla_start_scsi_type6()
[all …]
A Dqla_target.h351 struct atio7_fcp_cmnd fcp_cmnd; member
380 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio()
385 int len = atio->u.isp24.fcp_cmnd.add_cdb_len; in get_datalen_for_atio()
387 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]); in get_datalen_for_atio()
A Dqla_nx.h854 struct fcp_cmnd { struct
876 struct fcp_cmnd *fcp_cmnd; argument
A Dqla_edif.c3062 ctx->fcp_cmnd = sp->u.scmd.buf_dsc.buf; in qla28xx_start_scsi_edif()
3160 int_to_scsilun(cmd->device->lun, &ctx->fcp_cmnd->lun); in qla28xx_start_scsi_edif()
3161 ctx->fcp_cmnd->additional_cdb_len = additional_cdb_len; in qla28xx_start_scsi_edif()
3164 ctx->fcp_cmnd->additional_cdb_len |= 1; in qla28xx_start_scsi_edif()
3166 ctx->fcp_cmnd->additional_cdb_len |= 2; in qla28xx_start_scsi_edif()
3170 ctx->fcp_cmnd->task_attribute |= in qla28xx_start_scsi_edif()
3173 memcpy(ctx->fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); in qla28xx_start_scsi_edif()
3175 fcp_dl = (__be32 *)(ctx->fcp_cmnd->cdb + 16 + in qla28xx_start_scsi_edif()
A Dqla_target.c2022 (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); in abort_cmds_for_lun()
2033 (struct scsi_lun *)&cmd->atio.u.isp24.fcp_cmnd.lun); in abort_cmds_for_lun()
4177 cdb = &atio->u.isp24.fcp_cmnd.cdb[0]; in __qlt_do_work()
4180 if (atio->u.isp24.fcp_cmnd.rddata && in __qlt_do_work()
4181 atio->u.isp24.fcp_cmnd.wrdata) { in __qlt_do_work()
4184 } else if (atio->u.isp24.fcp_cmnd.rddata) in __qlt_do_work()
4186 else if (atio->u.isp24.fcp_cmnd.wrdata) in __qlt_do_work()
4192 atio->u.isp24.fcp_cmnd.task_attr); in __qlt_do_work()
4364 (struct scsi_lun *)&atio->u.isp24.fcp_cmnd.lun); in qlt_get_tag()
4437 if (cmd->atio.u.isp24.fcp_cmnd.rddata) in qlt_handle_cmd_for_atio()
[all …]
A Dqla_def.h2129 struct fcp_cmnd fcp_cmnd; member
2144 #define CRC_CONTEXT_LEN_FW (offsetof(struct crc_context, fcp_cmnd.lun))
2145 #define CRC_CONTEXT_FCPCMND_OFF (offsetof(struct crc_context, fcp_cmnd.lun))
A Dqla_os.c754 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2x00_sp_free_dma()
840 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2xxx_qpair_sp_free_dma()
/linux/include/scsi/fc/
A Dfc_fcp.h37 struct fcp_cmnd { struct
/linux/drivers/target/tcm_fc/
A Dtfc_cmd.c332 struct fcp_cmnd *fcp; in ft_send_tm()
489 struct fcp_cmnd *fcp; in ft_send_work()
/linux/include/scsi/
A Dlibfc.h342 struct fcp_cmnd cdb_cmd;
/linux/drivers/scsi/fcoe/
A Dfcoe.c898 struct fcp_cmnd *fcp; in fcoe_oem_match()

Completed in 203 milliseconds

12