/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 397 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp)); in lpfc_new_scsi_buf_s3() 402 (int)sizeof(struct fcp_cmnd), in lpfc_new_scsi_buf_s3() 436 psb->fcp_cmnd = psb->data; in lpfc_new_scsi_buf_s3() 437 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 438 psb->fcp_bpl = psb->data + sizeof(struct fcp_cmnd) + in lpfc_new_scsi_buf_s3() 444 pdma_phys_fcp_rsp = psb->dma_handle + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 445 pdma_phys_bpl = psb->dma_handle + sizeof(struct fcp_cmnd) + in lpfc_new_scsi_buf_s3() 455 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 476 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3() 641 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp)); in lpfc_sli4_post_scsi_sgl_list() [all …]
|
D | lpfc_scsi.h | 100 struct fcp_cmnd { struct 157 struct fcp_cmnd *fcp_cmnd; member
|
D | lpfc_sli.c | 8467 struct fcp_cmnd *fcp_cmnd; in lpfc_sli4_iocb2wqe() local 8475 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe() 8488 memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); in lpfc_sli4_iocb2wqe() 8526 struct fcp_cmnd *fcp_cmnd; in lpfc_sli4_iocb2wqe() local 8534 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe() 8547 memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); in lpfc_sli4_iocb2wqe() 8584 struct fcp_cmnd *fcp_cmnd; in lpfc_sli4_iocb2wqe() local 8592 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe() 8605 memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); in lpfc_sli4_iocb2wqe() 10168 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()
|
D | lpfc_init.c | 5086 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup() 5101 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup() 5279 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli4_driver_resource_setup() 5293 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli4_driver_resource_setup()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 594 mp_req->req_len = sizeof(struct fcp_cmnd); in bnx2fc_init_mp_req() 674 struct fcp_cmnd *fcp_cmnd; in bnx2fc_initiate_tmf() local 742 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf); in bnx2fc_initiate_tmf() 743 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf; in bnx2fc_initiate_tmf() 744 memset(fcp_cmnd->fc_cdb, 0, sc_cmd->cmd_len); in bnx2fc_initiate_tmf() 745 fcp_cmnd->fc_dl = 0; in bnx2fc_initiate_tmf() 1675 struct fcp_cmnd *fcp_cmnd) in bnx2fc_build_fcp_cmnd() argument 1679 memset(fcp_cmnd, 0, sizeof(struct fcp_cmnd)); in bnx2fc_build_fcp_cmnd() 1681 int_to_scsilun(sc_cmd->device->lun, &fcp_cmnd->fc_lun); in bnx2fc_build_fcp_cmnd() 1683 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len); in bnx2fc_build_fcp_cmnd() [all …]
|
D | bnx2fc.h | 563 struct fcp_cmnd *fcp_cmnd);
|
D | bnx2fc_hwi.c | 1693 u64 *fcp_cmnd; in bnx2fc_init_task() local 1762 fcp_cmnd = (u64 *) in bnx2fc_init_task() 1764 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)&tmp_fcp_cmnd); in bnx2fc_init_task() 1767 cnt = sizeof(struct fcp_cmnd) / sizeof(u64); in bnx2fc_init_task() 1770 *fcp_cmnd = cpu_to_be64(tmp_fcp_cmnd[i]); in bnx2fc_init_task() 1771 fcp_cmnd++; in bnx2fc_init_task()
|
/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 …]
|
/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 1227 struct fcp_cmnd *fcp_cmnd; in qla24xx_build_scsi_crc_2_iocbs() local 1302 fcp_cmnd = &crc_ctx_pkt->fcp_cmnd; in qla24xx_build_scsi_crc_2_iocbs() 1304 fcp_cmnd->additional_cdb_len = additional_fcpcdb_len; in qla24xx_build_scsi_crc_2_iocbs() 1306 fcp_cmnd->additional_cdb_len |= 1; in qla24xx_build_scsi_crc_2_iocbs() 1308 fcp_cmnd->additional_cdb_len |= 2; in qla24xx_build_scsi_crc_2_iocbs() 1310 int_to_scsilun(cmd->device->lun, &fcp_cmnd->lun); in qla24xx_build_scsi_crc_2_iocbs() 1311 memcpy(fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); in qla24xx_build_scsi_crc_2_iocbs() 1317 fcp_cmnd->task_management = 0; in qla24xx_build_scsi_crc_2_iocbs() 1318 fcp_cmnd->task_attribute = TSK_SIMPLE; in qla24xx_build_scsi_crc_2_iocbs() 1378 fcp_dl = (uint32_t *)(crc_ctx_pkt->fcp_cmnd.cdb + 16 + in qla24xx_build_scsi_crc_2_iocbs() [all …]
|
D | qla_target.c | 1524 (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); in abort_cmds_for_lun() 1534 (struct scsi_lun *)&cmd->atio.u.isp24.fcp_cmnd.lun); in abort_cmds_for_lun() 2934 cmd->atio.u.isp24.fcp_cmnd.cdb[0], lba, in qlt_handle_dif_error() 3005 cmd->atio.u.isp24.fcp_cmnd.cdb[0], lba, in qlt_handle_dif_error() 3018 cmd->atio.u.isp24.fcp_cmnd.cdb[0], lba, in qlt_handle_dif_error() 3031 cmd->atio.u.isp24.fcp_cmnd.cdb[0], lba, in qlt_handle_dif_error() 3177 &atio->u.isp24.fcp_cmnd.add_cdb[ in __qlt_send_term_exchange() 3178 atio->u.isp24.fcp_cmnd.add_cdb_len]); in __qlt_send_term_exchange() 3792 cdb = &atio->u.isp24.fcp_cmnd.cdb[0]; in __qlt_do_work() 3795 (struct scsi_lun *)&atio->u.isp24.fcp_cmnd.lun); in __qlt_do_work() [all …]
|
D | qla_nx.h | 864 struct fcp_cmnd { struct 884 struct fcp_cmnd *fcp_cmnd; argument
|
D | qla_target.h | 425 struct atio7_fcp_cmnd fcp_cmnd; member 454 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio()
|
D | qla_def.h | 1742 struct fcp_cmnd fcp_cmnd; member 1750 #define CRC_CONTEXT_LEN_FW (offsetof(struct crc_context, fcp_cmnd.lun)) 1751 #define CRC_CONTEXT_FCPCMND_OFF (offsetof(struct crc_context, fcp_cmnd.lun))
|
D | qla_os.c | 659 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2x00_sp_free_dma()
|
/drivers/s390/scsi/ |
D | zfcp_fsf.c | 2208 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_cmnd() local 2258 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd; in zfcp_fsf_fcp_cmnd() 2259 zfcp_fc_scsi_to_fcp(fcp_cmnd, scsi_cmnd, 0); in zfcp_fsf_fcp_cmnd() 2321 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_task_mgmt() local 2352 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd; in zfcp_fsf_fcp_task_mgmt() 2353 zfcp_fc_scsi_to_fcp(fcp_cmnd, scmnd, tm_flags); in zfcp_fsf_fcp_task_mgmt()
|
D | zfcp_fc.h | 212 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi, in zfcp_fc_scsi_to_fcp()
|
D | zfcp_fsf.h | 315 u8 fcp_cmnd[FSF_FCP_CMND_SIZE]; member
|
/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 360 struct fcp_cmnd *fcp; in ft_send_tm() 516 struct fcp_cmnd *fcp; in ft_send_work()
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 908 struct fcp_cmnd *fcp; in fcoe_oem_match()
|