Home
last modified time | relevance | path

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

/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c260 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp)); in lpfc_new_scsi_buf_s3()
265 (int)sizeof(struct fcp_cmnd), in lpfc_new_scsi_buf_s3()
297 psb->fcp_cmnd = psb->data; in lpfc_new_scsi_buf_s3()
298 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
299 psb->dma_sgl = psb->data + sizeof(struct fcp_cmnd) + in lpfc_new_scsi_buf_s3()
305 pdma_phys_fcp_rsp = psb->dma_handle + sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
306 pdma_phys_sgl = psb->dma_handle + sizeof(struct fcp_cmnd) + in lpfc_new_scsi_buf_s3()
316 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
337 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
652 lpfc_cmd->fcp_cmnd = tmp->fcp_cmnd; in lpfc_get_scsi_buf_s4()
[all …]
H A Dlpfc_scsi.h118 struct fcp_cmnd { struct
H A Dlpfc_sli.h471 struct fcp_cmnd *fcp_cmnd; member
H A Dlpfc_sli.c10633 struct fcp_cmnd *fcp_cmnd; in lpfc_prep_embed_io() local
10636 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_prep_embed_io()
10650 lpfc_sli_pcimem_bcopy(fcp_cmnd, ptr, le32_to_cpu(sgl->sge_len)); in lpfc_prep_embed_io()
12678 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()
22554 tmp->fcp_cmnd = dma_pool_zalloc(phba->lpfc_cmd_rsp_buf_pool, in lpfc_get_cmd_rsp_buf_per_hdwq()
22558 if (!tmp->fcp_cmnd) { in lpfc_get_cmd_rsp_buf_per_hdwq()
22567 tmp->fcp_rsp = (struct fcp_rsp *)((uint8_t *)tmp->fcp_cmnd + in lpfc_get_cmd_rsp_buf_per_hdwq()
22649 list_entry->fcp_cmnd, in lpfc_free_cmd_rsp_buf_per_hdwq()
H A Dlpfc_init.c7804 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup()
7819 phba->cfg_sg_dma_buf_size = sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup()
7857 sizeof(struct fcp_cmnd) + in lpfc_sli_driver_resource_setup()
/linux/drivers/scsi/elx/efct/
H 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/
H A Dbnx2fc_io.c591 mp_req->req_len = sizeof(struct fcp_cmnd); in bnx2fc_init_mp_req()
669 struct fcp_cmnd *fcp_cmnd; in bnx2fc_initiate_tmf() local
736 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf); in bnx2fc_initiate_tmf()
737 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf; in bnx2fc_initiate_tmf()
738 int_to_scsilun(tm_lun, &fcp_cmnd->fc_lun); in bnx2fc_initiate_tmf()
739 memset(fcp_cmnd->fc_cdb, 0, BNX2FC_MAX_CMD_LEN); in bnx2fc_initiate_tmf()
740 fcp_cmnd->fc_dl = 0; in bnx2fc_initiate_tmf()
1743 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 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len); in bnx2fc_build_fcp_cmnd()
[all …]
H 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()
/linux/drivers/scsi/qedf/
H A Dqedf_io.c545 struct fcp_cmnd *fcp_cmnd) in qedf_build_fcp_cmnd() argument
550 memset(fcp_cmnd, 0, FCP_CMND_LEN); in qedf_build_fcp_cmnd()
555 (struct scsi_lun *)&fcp_cmnd->fc_lun); 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()
[all …]
/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.c165 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/drivers/s390/scsi/
H 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()
H A Dzfcp_fsf.c2561 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_cmnd() local
2612 BUILD_BUG_ON(sizeof(struct fcp_cmnd) > FSF_FCP_CMND_SIZE); in zfcp_fsf_fcp_cmnd()
2613 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_cmnd()
2614 zfcp_fc_scsi_to_fcp(fcp_cmnd, scsi_cmnd); in zfcp_fsf_fcp_cmnd()
2679 struct fcp_cmnd *fcp_cmnd; in zfcp_fsf_fcp_task_mgmt() local
2711 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_task_mgmt()
2712 zfcp_fc_fcp_tm(fcp_cmnd, sdev, tm_flags); in zfcp_fsf_fcp_task_mgmt()
/linux/include/scsi/fc/
H A Dfc_fcp.h37 struct fcp_cmnd { struct
/linux/drivers/scsi/qla2xxx/
H A Dqla_target.h352 struct atio7_fcp_cmnd fcp_cmnd; member
381 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio()
386 int len = atio->u.isp24.fcp_cmnd.add_cdb_len; in get_datalen_for_atio()
388 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]); in get_datalen_for_atio()
/linux/drivers/target/tcm_fc/
H A Dtfc_cmd.c332 struct fcp_cmnd *fcp; in ft_send_tm()
489 struct fcp_cmnd *fcp; in ft_send_work()
/linux/Documentation/scsi/
H A DChangeLog.lpfc1026 * Changed FCP_CMND to struct fcp_cmnd.