Lines Matching refs:qdesc

8114 	struct lpfc_queue *qdesc;  in lpfc_alloc_nvme_wq_cq()  local
8116 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_nvme_wq_cq()
8119 if (!qdesc) { in lpfc_alloc_nvme_wq_cq()
8125 qdesc->qe_valid = 1; in lpfc_alloc_nvme_wq_cq()
8126 phba->sli4_hba.nvme_cq[wqidx] = qdesc; in lpfc_alloc_nvme_wq_cq()
8128 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_nvme_wq_cq()
8130 if (!qdesc) { in lpfc_alloc_nvme_wq_cq()
8136 phba->sli4_hba.nvme_wq[wqidx] = qdesc; in lpfc_alloc_nvme_wq_cq()
8137 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_alloc_nvme_wq_cq()
8144 struct lpfc_queue *qdesc; in lpfc_alloc_fcp_wq_cq() local
8150 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_fcp_wq_cq()
8155 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_alloc_fcp_wq_cq()
8158 if (!qdesc) { in lpfc_alloc_fcp_wq_cq()
8163 qdesc->qe_valid = 1; in lpfc_alloc_fcp_wq_cq()
8164 phba->sli4_hba.fcp_cq[wqidx] = qdesc; in lpfc_alloc_fcp_wq_cq()
8171 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_fcp_wq_cq()
8175 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_alloc_fcp_wq_cq()
8179 if (!qdesc) { in lpfc_alloc_fcp_wq_cq()
8185 phba->sli4_hba.fcp_wq[wqidx] = qdesc; in lpfc_alloc_fcp_wq_cq()
8186 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_alloc_fcp_wq_cq()
8207 struct lpfc_queue *qdesc; in lpfc_sli4_queue_create() local
8349 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8352 if (!qdesc) { in lpfc_sli4_queue_create()
8357 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
8358 phba->sli4_hba.hba_eq[idx] = qdesc; in lpfc_sli4_queue_create()
8373 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
8377 if (!qdesc) { in lpfc_sli4_queue_create()
8383 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
8384 phba->sli4_hba.nvmet_cqset[idx] = qdesc; in lpfc_sli4_queue_create()
8393 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8396 if (!qdesc) { in lpfc_sli4_queue_create()
8401 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
8402 phba->sli4_hba.mbx_cq = qdesc; in lpfc_sli4_queue_create()
8405 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8408 if (!qdesc) { in lpfc_sli4_queue_create()
8413 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
8414 phba->sli4_hba.els_cq = qdesc; in lpfc_sli4_queue_create()
8423 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8426 if (!qdesc) { in lpfc_sli4_queue_create()
8431 phba->sli4_hba.mbx_wq = qdesc; in lpfc_sli4_queue_create()
8438 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8441 if (!qdesc) { in lpfc_sli4_queue_create()
8446 phba->sli4_hba.els_wq = qdesc; in lpfc_sli4_queue_create()
8447 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_sli4_queue_create()
8451 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8454 if (!qdesc) { in lpfc_sli4_queue_create()
8459 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
8460 phba->sli4_hba.nvmels_cq = qdesc; in lpfc_sli4_queue_create()
8463 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8466 if (!qdesc) { in lpfc_sli4_queue_create()
8471 phba->sli4_hba.nvmels_wq = qdesc; in lpfc_sli4_queue_create()
8472 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_sli4_queue_create()
8480 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8483 if (!qdesc) { in lpfc_sli4_queue_create()
8488 phba->sli4_hba.hdr_rq = qdesc; in lpfc_sli4_queue_create()
8491 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
8494 if (!qdesc) { in lpfc_sli4_queue_create()
8499 phba->sli4_hba.dat_rq = qdesc; in lpfc_sli4_queue_create()
8504 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
8508 if (!qdesc) { in lpfc_sli4_queue_create()
8514 phba->sli4_hba.nvmet_mrq_hdr[idx] = qdesc; in lpfc_sli4_queue_create()
8517 qdesc->rqbp = kzalloc(sizeof(struct lpfc_rqb), in lpfc_sli4_queue_create()
8519 if (qdesc->rqbp == NULL) { in lpfc_sli4_queue_create()
8527 INIT_LIST_HEAD(&qdesc->rqbp->rqb_buffer_list); in lpfc_sli4_queue_create()
8530 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
8534 if (!qdesc) { in lpfc_sli4_queue_create()
8540 phba->sli4_hba.nvmet_mrq_data[idx] = qdesc; in lpfc_sli4_queue_create()
12497 struct lpfc_queue *qdesc; in lpfc_fof_queue_create() local
12501 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_fof_queue_create()
12504 if (!qdesc) in lpfc_fof_queue_create()
12507 qdesc->qe_valid = 1; in lpfc_fof_queue_create()
12508 phba->sli4_hba.fof_eq = qdesc; in lpfc_fof_queue_create()
12514 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_fof_queue_create()
12519 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_fof_queue_create()
12523 if (!qdesc) in lpfc_fof_queue_create()
12526 qdesc->qe_valid = 1; in lpfc_fof_queue_create()
12527 phba->sli4_hba.oas_cq = qdesc; in lpfc_fof_queue_create()
12533 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_fof_queue_create()
12538 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_fof_queue_create()
12543 if (!qdesc) in lpfc_fof_queue_create()
12546 phba->sli4_hba.oas_wq = qdesc; in lpfc_fof_queue_create()
12547 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_fof_queue_create()