/Linux-v5.15/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 330 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp)); in lpfc_new_scsi_buf_s3() 335 (int)sizeof(struct fcp_cmnd), in lpfc_new_scsi_buf_s3() 367 psb->fcp_cmnd = psb->data; in lpfc_new_scsi_buf_s3() 368 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 369 psb->dma_sgl = psb->data + sizeof(struct fcp_cmnd) + in lpfc_new_scsi_buf_s3() 375 pdma_phys_fcp_rsp = psb->dma_handle + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 376 pdma_phys_sgl = psb->dma_handle + sizeof(struct fcp_cmnd) + in lpfc_new_scsi_buf_s3() 386 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 407 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 696 lpfc_cmd->fcp_cmnd = tmp->fcp_cmnd; in lpfc_get_scsi_buf_s4() [all …]
|
D | lpfc_scsi.h | 102 struct fcp_cmnd { struct
|
D | lpfc_sli.h | 435 struct fcp_cmnd *fcp_cmnd; member
|
D | lpfc_sli.c | 10554 struct fcp_cmnd *fcp_cmnd; in lpfc_sli4_iocb2wqe() local 10561 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe() 10575 memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); in lpfc_sli4_iocb2wqe() 10618 struct fcp_cmnd *fcp_cmnd; in lpfc_sli4_iocb2wqe() local 10625 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe() 10639 memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); in lpfc_sli4_iocb2wqe() 10675 struct fcp_cmnd *fcp_cmnd; in lpfc_sli4_iocb2wqe() local 10682 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe() 10696 memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); in lpfc_sli4_iocb2wqe() 10976 struct fcp_cmnd *fcp_cmnd; in __lpfc_sli_issue_fcp_io_s4() local [all …]
|
D | lpfc_hw4.h | 2120 struct fcp_cmnd *fcp_cmnd; member
|
D | lpfc_init.c | 7643 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup() 7658 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup() 7696 sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup() 8066 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli4_driver_resource_setup() 8088 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli4_driver_resource_setup() 8149 sizeof(struct fcp_cmnd) + in lpfc_sli4_driver_resource_setup()
|
/Linux-v5.15/drivers/scsi/elx/efct/ |
D | efct_unsol.c | 146 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-v5.15/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 595 mp_req->req_len = sizeof(struct fcp_cmnd); in bnx2fc_init_mp_req() 675 struct fcp_cmnd *fcp_cmnd; in bnx2fc_initiate_tmf() local 743 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf); in bnx2fc_initiate_tmf() 744 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf; in bnx2fc_initiate_tmf() 745 memset(fcp_cmnd->fc_cdb, 0, sc_cmd->cmd_len); in bnx2fc_initiate_tmf() 746 fcp_cmnd->fc_dl = 0; in bnx2fc_initiate_tmf() 1741 struct fcp_cmnd *fcp_cmnd) in bnx2fc_build_fcp_cmnd() argument 1745 memset(fcp_cmnd, 0, sizeof(struct fcp_cmnd)); in bnx2fc_build_fcp_cmnd() 1747 int_to_scsilun(sc_cmd->device->lun, &fcp_cmnd->fc_lun); in bnx2fc_build_fcp_cmnd() 1749 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len); in bnx2fc_build_fcp_cmnd() [all …]
|
D | bnx2fc.h | 569 struct fcp_cmnd *fcp_cmnd);
|
D | bnx2fc_hwi.c | 1712 u64 *fcp_cmnd; in bnx2fc_init_task() local 1781 fcp_cmnd = (u64 *) in bnx2fc_init_task() 1783 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)&tmp_fcp_cmnd); in bnx2fc_init_task() 1786 cnt = sizeof(struct fcp_cmnd) / sizeof(u64); in bnx2fc_init_task() 1789 *fcp_cmnd = cpu_to_be64(tmp_fcp_cmnd[i]); in bnx2fc_init_task() 1790 fcp_cmnd++; in bnx2fc_init_task()
|
/Linux-v5.15/drivers/scsi/qedf/ |
D | qedf_io.c | 549 struct fcp_cmnd *fcp_cmnd) in qedf_build_fcp_cmnd() argument 554 memset(fcp_cmnd, 0, FCP_CMND_LEN); in qedf_build_fcp_cmnd() 558 (struct scsi_lun *)&fcp_cmnd->fc_lun); in qedf_build_fcp_cmnd() 561 fcp_cmnd->fc_pri_ta = 0; in qedf_build_fcp_cmnd() 562 fcp_cmnd->fc_tm_flags = io_req->tm_flags; in qedf_build_fcp_cmnd() 563 fcp_cmnd->fc_flags = io_req->io_req_flags; in qedf_build_fcp_cmnd() 564 fcp_cmnd->fc_cmdref = 0; in qedf_build_fcp_cmnd() 568 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA; in qedf_build_fcp_cmnd() 571 fcp_cmnd->fc_flags |= FCP_CFL_WRDATA; in qedf_build_fcp_cmnd() 573 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA; in qedf_build_fcp_cmnd() [all …]
|
/Linux-v5.15/drivers/scsi/csiostor/ |
D | csio_scsi.c | 165 struct fcp_cmnd *fcp_cmnd = (struct fcp_cmnd *)addr; in csio_scsi_fcp_cmnd() local 170 int_to_scsilun(scmnd->device->lun, &fcp_cmnd->fc_lun); in csio_scsi_fcp_cmnd() 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() [all …]
|
/Linux-v5.15/drivers/s390/scsi/ |
D | zfcp_fc.h | 227 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) in zfcp_fc_scsi_to_fcp() 258 void zfcp_fc_fcp_tm(struct fcp_cmnd *fcp, struct scsi_device *dev, u8 tm_flags) in zfcp_fc_fcp_tm()
|
D | zfcp_fsf.c | 2559 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_cmnd() local 2609 BUILD_BUG_ON(sizeof(struct fcp_cmnd) > FSF_FCP_CMND_SIZE); in zfcp_fsf_fcp_cmnd() 2610 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_cmnd() 2611 zfcp_fc_scsi_to_fcp(fcp_cmnd, scsi_cmnd); in zfcp_fsf_fcp_cmnd() 2676 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_task_mgmt() local 2708 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_task_mgmt() 2709 zfcp_fc_fcp_tm(fcp_cmnd, sdev, tm_flags); in zfcp_fsf_fcp_task_mgmt()
|
D | zfcp_fsf.h | 346 struct fcp_cmnd iu; 347 } fcp_cmnd; member
|
/Linux-v5.15/include/scsi/fc/ |
D | fc_fcp.h | 37 struct fcp_cmnd { struct
|
/Linux-v5.15/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 1352 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() 1424 fcp_cmnd->additional_cdb_len = additional_fcpcdb_len; 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() 1430 int_to_scsilun(cmd->device->lun, &fcp_cmnd->lun); in qla24xx_build_scsi_crc_2_iocbs() 1431 memcpy(fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); 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() 1496 fcp_dl = (__be32 *)(crc_ctx_pkt->fcp_cmnd.cdb + 16 + in qla24xx_build_scsi_crc_2_iocbs() [all …]
|
D | qla_target.h | 351 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()
|
D | qla_nx.h | 850 struct fcp_cmnd { struct 870 struct fcp_cmnd *fcp_cmnd; argument
|
D | qla_edif.c | 2829 ctx->fcp_cmnd = dma_pool_zalloc(ha->fcp_cmnd_dma_pool, in qla28xx_start_scsi_edif() 2831 if (!ctx->fcp_cmnd) { in qla28xx_start_scsi_edif() 2936 int_to_scsilun(cmd->device->lun, &ctx->fcp_cmnd->lun); in qla28xx_start_scsi_edif() 2937 ctx->fcp_cmnd->additional_cdb_len = additional_cdb_len; in qla28xx_start_scsi_edif() 2940 ctx->fcp_cmnd->additional_cdb_len |= 1; in qla28xx_start_scsi_edif() 2942 ctx->fcp_cmnd->additional_cdb_len |= 2; in qla28xx_start_scsi_edif() 2946 ctx->fcp_cmnd->task_attribute |= in qla28xx_start_scsi_edif() 2949 memcpy(ctx->fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); in qla28xx_start_scsi_edif() 2951 fcp_dl = (__be32 *)(ctx->fcp_cmnd->cdb + 16 + in qla28xx_start_scsi_edif() 2990 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx->fcp_cmnd, ctx->fcp_cmnd_dma); in qla28xx_start_scsi_edif()
|
D | qla_target.c | 2034 (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); in abort_cmds_for_lun() 2045 (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); in abort_cmds_for_lun() 2056 (struct scsi_lun *)&cmd->atio.u.isp24.fcp_cmnd.lun); in abort_cmds_for_lun() 4196 cdb = &atio->u.isp24.fcp_cmnd.cdb[0]; in __qlt_do_work() 4199 if (atio->u.isp24.fcp_cmnd.rddata && in __qlt_do_work() 4200 atio->u.isp24.fcp_cmnd.wrdata) { in __qlt_do_work() 4203 } else if (atio->u.isp24.fcp_cmnd.rddata) in __qlt_do_work() 4205 else if (atio->u.isp24.fcp_cmnd.wrdata) in __qlt_do_work() 4211 atio->u.isp24.fcp_cmnd.task_attr); in __qlt_do_work() 4383 (struct scsi_lun *)&atio->u.isp24.fcp_cmnd.lun); in qlt_get_tag() [all …]
|
D | qla_def.h | 2064 struct fcp_cmnd fcp_cmnd; member 2079 #define CRC_CONTEXT_LEN_FW (offsetof(struct crc_context, fcp_cmnd.lun)) 2080 #define CRC_CONTEXT_FCPCMND_OFF (offsetof(struct crc_context, fcp_cmnd.lun))
|
/Linux-v5.15/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 337 struct fcp_cmnd *fcp; in ft_send_tm() 494 struct fcp_cmnd *fcp; in ft_send_work()
|
/Linux-v5.15/include/scsi/ |
D | libfc.h | 336 struct fcp_cmnd cdb_cmd;
|
/Linux-v5.15/drivers/scsi/fcoe/ |
D | fcoe.c | 897 struct fcp_cmnd *fcp; in fcoe_oem_match()
|