Lines Matching refs:lpfc_cmd

1133 	struct lpfc_io_buf *lpfc_cmd;
1146 lpfc_cmd = (struct lpfc_io_buf *) piocbq->context1;
1147 ndlp = lpfc_cmd->rdata->pnode;
9733 struct lpfc_io_buf *lpfc_cmd;
9740 lpfc_cmd = iocbq->context1;
9741 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
9742 fcp_cmnd = lpfc_cmd->fcp_cmnd;
9797 struct lpfc_io_buf *lpfc_cmd;
9804 lpfc_cmd = iocbq->context1;
9805 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
9806 fcp_cmnd = lpfc_cmd->fcp_cmnd;
9854 struct lpfc_io_buf *lpfc_cmd;
9861 lpfc_cmd = iocbq->context1;
9862 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl;
9863 fcp_cmnd = lpfc_cmd->fcp_cmnd;
10264 struct lpfc_io_buf *lpfc_cmd;
10274 lpfc_cmd = (struct lpfc_io_buf *)piocb->context1;
10275 piocb->hba_wqidx = lpfc_cmd->hdwq_no;
11598 struct lpfc_io_buf *lpfc_cmd;
11615 lpfc_cmd = container_of(iocbq, struct lpfc_io_buf, cur_iocbq);
11617 if (lpfc_cmd->pCmd == NULL)
11622 if ((lpfc_cmd->rdata) && (lpfc_cmd->rdata->pnode) &&
11623 (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id) &&
11624 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id))
11628 if ((lpfc_cmd->rdata) && (lpfc_cmd->rdata->pnode) &&
11629 (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id))
11842 struct lpfc_io_buf *lpfc_cmd;
11868 lpfc_cmd = container_of(iocbq, struct lpfc_io_buf, cur_iocbq);
11869 spin_lock(&lpfc_cmd->buf_lock);
11871 if (!lpfc_cmd->pCmd) {
11872 spin_unlock(&lpfc_cmd->buf_lock);
11880 spin_unlock(&lpfc_cmd->buf_lock);
11895 spin_unlock(&lpfc_cmd->buf_lock);
11904 spin_unlock(&lpfc_cmd->buf_lock);
11927 ndlp = lpfc_cmd->rdata->pnode;
11953 spin_unlock(&lpfc_cmd->buf_lock);
11988 struct lpfc_io_buf *lpfc_cmd;
12017 lpfc_cmd = container_of(cmdiocbq, struct lpfc_io_buf,
12020 lpfc_cmd->flags |= LPFC_SBUF_XBUSY;
12022 lpfc_cmd->flags &= ~LPFC_SBUF_XBUSY;
20904 struct lpfc_io_buf *lpfc_cmd, *lpfc_cmd_next;
20907 list_for_each_entry_safe(lpfc_cmd, lpfc_cmd_next,
20910 lpfc_cmd->cur_iocbq.sli4_lxritag))
20913 if (lpfc_cmd->flags & LPFC_SBUF_NOT_POSTED)
20916 list_del_init(&lpfc_cmd->list);
20918 lpfc_cmd->hdwq = qp;
20919 lpfc_cmd->hdwq_no = idx;
20920 return lpfc_cmd;
20949 struct lpfc_io_buf *lpfc_cmd;
20952 lpfc_cmd = NULL;
20955 lpfc_cmd = lpfc_get_io_buf_from_multixri_pools(
20961 lpfc_cmd = lpfc_io_buf(phba, ndlp, hwqid);
20962 if (!lpfc_cmd) {
20973 lpfc_cmd = lpfc_io_buf(phba, ndlp, hwqid);
20978 return lpfc_cmd;