Searched refs:fcp_cmnd (Results 1 - 25 of 26) sorted by relevance

12

/linux-master/drivers/scsi/lpfc/
H A Dlpfc_scsi.c259 (sizeof(struct fcp_cmnd) + sizeof(struct fcp_rsp));
264 (int)sizeof(struct fcp_cmnd),
275 * struct fcp_cmnd, struct fcp_rsp and the number of bde's
296 psb->fcp_cmnd = psb->data;
297 psb->fcp_rsp = psb->data + sizeof(struct fcp_cmnd);
298 psb->dma_sgl = psb->data + sizeof(struct fcp_cmnd) +
304 pdma_phys_fcp_rsp = psb->dma_handle + sizeof(struct fcp_cmnd);
305 pdma_phys_sgl = psb->dma_handle + sizeof(struct fcp_cmnd) +
315 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd);
336 iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd);
781 lpfc_fcpcmd_to_iocb(u8 *data, struct fcp_cmnd *fcp_cmnd) argument
810 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; local
2494 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; local
3046 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; local
3294 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; local
4614 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; local
4690 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; local
4805 struct fcp_cmnd *fcp_cmnd = lpfc_cmd->fcp_cmnd; local
4853 struct fcp_cmnd *fcp_cmnd; local
4913 struct fcp_cmnd *fcp_cmnd; local
[all...]
H A Dlpfc_scsi.h118 struct fcp_cmnd { struct
H A Dlpfc_sli.h471 struct fcp_cmnd *fcp_cmnd; member in struct:lpfc_io_buf::__anon113::__anon114
H A Dlpfc_hw4.h2167 struct fcp_cmnd *fcp_cmnd; member in struct:fcp_cmd_rsp_buf
H A Dlpfc_sli.c10588 struct fcp_cmnd *fcp_cmnd; local
10591 fcp_cmnd = lpfc_cmd->fcp_cmnd;
10605 memcpy(ptr, fcp_cmnd, sgl->sge_len);
12637 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id))
22458 tmp->fcp_cmnd = dma_pool_zalloc(phba->lpfc_cmd_rsp_buf_pool,
22462 if (!tmp->fcp_cmnd) {
22471 tmp->fcp_rsp = (struct fcp_rsp *)((uint8_t *)tmp->fcp_cmnd +
22553 list_entry->fcp_cmnd,
[all...]
/linux-master/drivers/scsi/elx/efct/
H A Defct_unsol.c146 if (seq->payload->dma.len < sizeof(struct fcp_cmnd)) {
152 seq->payload->dma.len, sizeof(struct fcp_cmnd));
159 efct_populate_io_fcp_cmd(struct efct_io *io, struct fcp_cmnd *cmnd,
181 efct_get_flags_fcp_cmd(struct fcp_cmnd *cmnd)
317 struct fcp_cmnd *fcpcmd = seq->payload->dma.virt;
343 struct fcp_cmnd *cmnd = NULL;
/linux-master/drivers/s390/scsi/
H A Dzfcp_fc.h225 * @fcp: fcp_cmnd to setup
229 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi)
260 void zfcp_fc_fcp_tm(struct fcp_cmnd *fcp, struct scsi_device *dev, u8 tm_flags)
H A Dzfcp_fsf.h346 struct fcp_cmnd iu;
347 } fcp_cmnd; member in struct:fsf_qtcb_bottom_io
H A Dzfcp_fsf.c2562 struct fcp_cmnd *fcp_cmnd; local
2613 BUILD_BUG_ON(sizeof(struct fcp_cmnd) > FSF_FCP_CMND_SIZE);
2614 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu;
2615 zfcp_fc_scsi_to_fcp(fcp_cmnd, scsi_cmnd);
2680 struct fcp_cmnd *fcp_cmnd; local
2712 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd
[all...]
/linux-master/include/scsi/fc/
H A Dfc_fcp.h37 struct fcp_cmnd { struct
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c593 mp_req->req_len = sizeof(struct fcp_cmnd);
671 struct fcp_cmnd *fcp_cmnd; local
738 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf);
739 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf;
740 int_to_scsilun(tm_lun, &fcp_cmnd->fc_lun);
741 memset(fcp_cmnd->fc_cdb, 0, BNX2FC_MAX_CMD_LEN);
742 fcp_cmnd->fc_dl = 0;
1745 struct fcp_cmnd *fcp_cmn
1744 bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req, struct fcp_cmnd *fcp_cmnd) argument
[all...]
H A Dbnx2fc_hwi.c1712 struct fcp_cmnd *fcp_cmnd; local
1782 fcp_cmnd = (struct fcp_cmnd *)&tmp_fcp_cmnd;
1783 bnx2fc_build_fcp_cmnd(io_req, fcp_cmnd);
1784 int_to_scsilun(sc_cmd->device->lun, &fcp_cmnd->fc_lun);
1785 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len);
1789 /* swap fcp_cmnd */
1790 cnt = sizeof(struct fcp_cmnd) / sizeof(u64);
H A Dbnx2fc.h575 struct fcp_cmnd *fcp_cmnd);
/linux-master/drivers/scsi/qedf/
H A Dqedf_io.c549 struct fcp_cmnd *fcp_cmnd)
553 /* fcp_cmnd is 32 bytes */
554 memset(fcp_cmnd, 0, FCP_CMND_LEN);
559 (struct scsi_lun *)&fcp_cmnd->fc_lun);
562 (struct scsi_lun *)&fcp_cmnd->fc_lun);
565 fcp_cmnd->fc_pri_ta = 0;
566 fcp_cmnd->fc_tm_flags = io_req->tm_flags;
567 fcp_cmnd->fc_flags = io_req->io_req_flags;
568 fcp_cmnd
548 qedf_build_fcp_cmnd(struct qedf_ioreq *io_req, struct fcp_cmnd *fcp_cmnd) argument
597 u8 fcp_cmnd[32]; local
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_scsi.c165 struct fcp_cmnd *fcp_cmnd = (struct fcp_cmnd *)addr; local
170 int_to_scsilun(scmnd->device->lun, &fcp_cmnd->fc_lun);
171 fcp_cmnd->fc_tm_flags = 0;
172 fcp_cmnd->fc_cmdref = 0;
174 memcpy(fcp_cmnd->fc_cdb, scmnd->cmnd, 16);
175 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE;
176 fcp_cmnd->fc_dl = cpu_to_be32(scsi_bufflen(scmnd));
180 fcp_cmnd
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_iocb.c1352 struct fcp_cmnd *fcp_cmnd; local
1422 fcp_cmnd = &crc_ctx_pkt->fcp_cmnd;
1424 fcp_cmnd->additional_cdb_len = additional_fcpcdb_len;
1426 fcp_cmnd->additional_cdb_len |= 1;
1428 fcp_cmnd->additional_cdb_len |= 2;
1430 int_to_scsilun(cmd->device->lun, &fcp_cmnd->lun);
1431 memcpy(fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len);
1435 fcp_cmnd
[all...]
H A Dqla_target.h351 struct atio7_fcp_cmnd fcp_cmnd; member in struct:atio_from_isp::__anon2796::__anon2798
380 atio->u.isp24.fcp_cmnd.add_cdb_len = 0;
385 int len = atio->u.isp24.fcp_cmnd.add_cdb_len;
387 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]);
H A Dqla_nx.h854 struct fcp_cmnd { struct
876 struct fcp_cmnd *fcp_cmnd; member in struct:ct6_dsd
H A Dqla_edif.c3056 "Failed to allocate buf for fcp_cmnd for cmd=%p.\n", cmd);
3062 ctx->fcp_cmnd = sp->u.scmd.buf_dsc.buf;
3160 int_to_scsilun(cmd->device->lun, &ctx->fcp_cmnd->lun);
3161 ctx->fcp_cmnd->additional_cdb_len = additional_cdb_len;
3164 ctx->fcp_cmnd->additional_cdb_len |= 1;
3166 ctx->fcp_cmnd->additional_cdb_len |= 2;
3170 ctx->fcp_cmnd->task_attribute |=
3173 memcpy(ctx->fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len);
3175 fcp_dl = (__be32 *)(ctx->fcp_cmnd->cdb + 16 +
H A Dqla_target.c2022 (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun);
2033 (struct scsi_lun *)&cmd->atio.u.isp24.fcp_cmnd.lun);
4177 cdb = &atio->u.isp24.fcp_cmnd.cdb[0];
4180 if (atio->u.isp24.fcp_cmnd.rddata &&
4181 atio->u.isp24.fcp_cmnd.wrdata) {
4184 } else if (atio->u.isp24.fcp_cmnd.rddata)
4186 else if (atio->u.isp24.fcp_cmnd.wrdata)
4192 atio->u.isp24.fcp_cmnd.task_attr);
4364 (struct scsi_lun *)&atio->u.isp24.fcp_cmnd.lun);
4437 if (cmd->atio.u.isp24.fcp_cmnd
[all...]
H A Dqla_def.h2129 struct fcp_cmnd fcp_cmnd; member in struct:crc_context
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))
H A Dqla_os.c754 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd,
840 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd,
/linux-master/drivers/target/tcm_fc/
H A Dtfc_cmd.c332 struct fcp_cmnd *fcp;
489 struct fcp_cmnd *fcp;
/linux-master/include/scsi/
H A Dlibfc.h342 struct fcp_cmnd cdb_cmd;
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.c898 struct fcp_cmnd *fcp;

Completed in 455 milliseconds

12