Lines Matching refs:iocb

77 	/* job waiting for this iocb to finish */
101 /* job waiting for this iocb to finish */
113 struct lpfc_bsg_iocb iocb;
147 * @cmdiocbq: Pointer to command iocb.
148 * @rspiocbq: Pointer to response iocb.
156 * This function copies the contents of the response iocb to the
157 * response iocb memory object provided by the caller of
159 * sleeps for the iocb completion.
171 struct lpfc_bsg_iocb *iocb;
183 iocb = &dd_data->context_un.iocb;
184 job = iocb->set_job;
187 bmp = iocb->bmp;
188 rsp = &rspiocbq->iocb;
288 cmd = &cmdiocbq->iocb;
349 dd_data->context_un.iocb.cmdiocbq = cmdiocbq;
350 dd_data->context_un.iocb.set_job = job;
351 dd_data->context_un.iocb.bmp = bmp;
372 /* iocb failed so cleanup */
398 * @cmdiocbq: Pointer to command iocb.
399 * @rspiocbq: Pointer to response iocb.
407 * This function copies the contents of the response iocb to the
408 * response iocb memory object provided by the caller of
410 * sleeps for the iocb completion.
437 memcpy(&((struct lpfc_iocbq *)cmdiocbq->context2)->iocb,
438 &rspiocbq->iocb, sizeof(IOCB_t));
440 job = dd_data->context_un.iocb.set_job;
441 cmdiocbq = dd_data->context_un.iocb.cmdiocbq;
442 rspiocbq = dd_data->context_un.iocb.rspiocbq;
443 rsp = &rspiocbq->iocb;
444 ndlp = dd_data->context_un.iocb.ndlp;
543 rsp = &rspiocbq->iocb;
553 /* prep els iocb set context1 to the ndlp, context2 to the command
590 cmdiocbq->iocb.un.elsreq64.bdl.bdeSize =
593 cmdiocbq->iocb.ulpContext = phba->sli4_hba.rpi_ids[rpi];
595 cmdiocbq->iocb.ulpContext = rpi;
604 dd_data->context_un.iocb.cmdiocbq = cmdiocbq;
605 dd_data->context_un.iocb.rspiocbq = rspiocbq;
606 dd_data->context_un.iocb.set_job = job;
607 dd_data->context_un.iocb.bmp = NULL;
608 dd_data->context_un.iocb.ndlp = ndlp;
798 if (piocbq->iocb.ulpBdeCount == 0 ||
799 piocbq->iocb.un.cont64[0].tus.f.bdeSize == 0)
809 dma_addr = getPaddr(piocbq->iocb.un.cont64[0].addrHigh,
810 piocbq->iocb.un.cont64[0].addrLow);
843 evt_dat->len = iocbq->iocb.unsli3.rcvsli3.acc_len;
846 for (i = 0; i < iocbq->iocb.ulpBdeCount; i++)
848 iocbq->iocb.un.cont64[i].tus.f.bdeSize;
871 for (i = 0; i < iocbq->iocb.ulpBdeCount; i++) {
876 &iocbq->iocb.un.ulpWord[0];
881 &iocbq->iocb.unsli3.
889 size = iocbq->iocb.un.cont64[i].
891 bde = &iocbq->iocb.un.cont64[i];
970 piocbq->iocb.ulpContext;
972 piocbq->iocb.unsli3.rcvsli3.ox_id;
974 piocbq->iocb.un.rcvels.remoteID;
977 evt_dat->immed_dat = piocbq->iocb.ulpContext;
1191 * @cmdiocbq: Pointer to command iocb.
1192 * @rspiocbq: Pointer to response iocb.
1200 * This function copy the contents of the response iocb to the
1201 * response iocb memory object provided by the caller of
1203 * sleeps for the iocb completion.
1226 job = dd_data->context_un.iocb.set_job;
1227 bmp = dd_data->context_un.iocb.bmp;
1228 rsp = &rspiocbq->iocb;
1229 ndlp = dd_data->context_un.iocb.ndlp;
1295 /* Allocate buffer for command iocb */
1302 icmd = &ctiocb->iocb;
1313 /* Fill in rest of iocb */
1374 dd_data->context_un.iocb.cmdiocbq = ctiocb;
1375 dd_data->context_un.iocb.rspiocbq = NULL;
1376 dd_data->context_un.iocb.set_job = job;
1377 dd_data->context_un.iocb.bmp = bmp;
1378 dd_data->context_un.iocb.ndlp = ndlp;
2396 cmd = &cmdiocbq->iocb;
2397 rsp = &rspiocbq->iocb;
2684 cmd = &cmdiocbq->iocb;
2744 /* The iocb was freed by lpfc_sli_issue_iocb */
2752 cmd = &cmdiocbq->iocb;
2783 * 7. The cmd iocb FsType is set to elx loopback and the CmdRsp to looppback.
2941 cmd = &cmdiocbq->iocb;
2943 rsp = &rspiocbq->iocb;
2972 /* Build the XMIT_SEQUENCE iocb */
3008 "3126 Failed loopback test issue iocb: "
4733 * @cmdiocbq: Pointer to command iocb.
4734 * @rspiocbq: Pointer to response iocb.
4742 * This function copies the contents of the response iocb to the
4743 * response iocb memory object provided by the caller of
4745 * sleeps for the iocb completion.
4775 memcpy(&((struct lpfc_iocbq *)cmdiocbq->context2)->iocb,
4776 &rspiocbq->iocb, sizeof(IOCB_t));
4781 rsp = &rspiocbq->iocb;
4918 rsp = &rspiocbq->iocb;
4952 cmd = &cmdiocbq->iocb;
4999 /* iocb failed so cleanup */
5121 struct lpfc_bsg_iocb *iocb;
5138 iocb = &dd_data->context_un.iocb;
5139 cmdiocb = iocb->cmdiocbq;