Lines Matching defs:hbqbp
489 struct hbq_dmabuf *hbqbp;
491 hbqbp = kzalloc(sizeof(struct hbq_dmabuf), GFP_KERNEL);
492 if (!hbqbp)
495 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL,
496 &hbqbp->dbuf.phys);
497 if (!hbqbp->dbuf.virt) {
498 kfree(hbqbp);
501 hbqbp->total_size = LPFC_BPL_SIZE;
502 return hbqbp;
508 * @hbqbp: HBQ container returned by lpfc_els_hbq_alloc
518 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp)
520 dma_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys);
521 kfree(hbqbp);