Lines Matching defs:hdwq

2874 	axchg->hdwq = &phba->sli4_hba.hdwq[0];
4117 pring = phba->sli4_hba.hdwq[i].io_wq->pring;
4148 !phba->sli4_hba.hdwq) {
4159 pring = phba->sli4_hba.hdwq[i].io_wq->pring;
5675 if (sli4_hba->hdwq) {
5678 qp = &sli4_hba->hdwq[qidx];
7304 struct lpfc_sli4_hdw_queue *hdwq;
7310 hdwq = &phba->sli4_hba.hdwq[phba->sli4_hba.cpu_map[i].hdwq];
7311 cq = hdwq->io_cq;
8110 if (sli4_hba->hdwq) {
10130 wq = phba->sli4_hba.hdwq[piocb->hba_wqidx].io_wq;
10267 if (unlikely(!phba->sli4_hba.hdwq))
10277 return phba->sli4_hba.hdwq[piocb->hba_wqidx].io_wq->pring;
10309 eq = phba->sli4_hba.hdwq[piocb->hba_wqidx].hba_eq;
10759 pring = phba->sli4_hba.hdwq[i].io_wq->pring;
11878 phba->sli4_hba.hdwq[iocbq->hba_wqidx].io_wq->pring;
13615 lpfc_sli4_io_xri_aborted(phba, wcqe, cq->hdwq);
13630 cq_event->hdwq = cq->hdwq;
14400 uint32_t qidx = eq->hdwq;
14441 phba->sli4_hba.hdwq[qidx].hba_eq);
14586 if (unlikely(!phba->sli4_hba.hdwq))
15375 * @hdwq: The hardware queue array with the EQ to bind completion queues to.
15397 struct lpfc_sli4_hdw_queue *hdwq, uint32_t type,
15413 if (!cqp || !hdwq || !numcq)
15440 eq = hdwq[idx].hba_eq;
20031 wq = phba->sli4_hba.hdwq[0].io_wq;
20359 qp = &phba->sli4_hba.hdwq[hwqid];
20392 multixri_pool = phba->sli4_hba.hdwq[hwqid].p_multixri_pool;
20428 qp = &phba->sli4_hba.hdwq[hwqid];
20473 qp = &phba->sli4_hba.hdwq[hwqid];
20593 qp = &phba->sli4_hba.hdwq[hwqid];
20617 phba->sli4_hba.hdwq[next_hwqid].p_multixri_pool;
20658 multixri_pool = phba->sli4_hba.hdwq[hwqid].p_multixri_pool;
20874 qp = &phba->sli4_hba.hdwq[hwqid];
20888 lpfc_ncmd->hdwq = qp;
20906 qp = &phba->sli4_hba.hdwq[idx];
20918 lpfc_cmd->hdwq = qp;
20934 * a IO buffer from head of @hdwq io_buf_list and returns to caller.
20951 qp = &phba->sli4_hba.hdwq[hwqid];
20982 * lpfc_get_sgl_per_hdwq - Get one SGL chunk from hdwq's pool
20986 * This routine gets one SGL chunk buffer from hdwq's SGL chunk pool,
20999 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
21000 struct list_head *buf_list = &hdwq->sgl_list;
21003 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21015 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
21017 cpu_to_node(hdwq->io_wq->chann));
21037 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21045 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
21051 * lpfc_put_sgl_per_hdwq - Put one SGL chunk into hdwq pool
21055 * This routine puts one SGL chunk buffer into hdwq's SGL chunk pool.
21067 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
21068 struct list_head *buf_list = &hdwq->sgl_list;
21071 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21084 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
21089 * lpfc_free_sgl_per_hdwq - Free all SGL chunks of hdwq pool
21091 * @hdwq: hdwq to cleanup sgl buff resources on
21093 * This routine frees all SGL chunks of hdwq SGL chunk pool.
21100 struct lpfc_sli4_hdw_queue *hdwq)
21102 struct list_head *buf_list = &hdwq->sgl_list;
21107 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21119 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
21123 * lpfc_get_cmd_rsp_buf_per_hdwq - Get one CMD/RSP buffer from hdwq
21127 * This routine gets one CMD/RSP buffer from hdwq's CMD/RSP pool,
21141 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
21142 struct list_head *buf_list = &hdwq->cmd_rsp_buf_list;
21145 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21158 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
21160 cpu_to_node(hdwq->io_wq->chann));
21185 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21193 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
21199 * lpfc_put_cmd_rsp_buf_per_hdwq - Put one CMD/RSP buffer into hdwq pool
21216 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
21217 struct list_head *buf_list = &hdwq->cmd_rsp_buf_list;
21220 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21233 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
21238 * lpfc_free_cmd_rsp_buf_per_hdwq - Free all CMD/RSP chunks of hdwq pool
21240 * @hdwq: hdwq to cleanup cmd rsp buff resources on
21242 * This routine frees all CMD/RSP buffers of hdwq's CMD/RSP buf pool.
21249 struct lpfc_sli4_hdw_queue *hdwq)
21251 struct list_head *buf_list = &hdwq->cmd_rsp_buf_list;
21256 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
21269 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);