Lines Matching defs:hbqbp
505 struct hbq_dmabuf *hbqbp;
507 hbqbp = kzalloc(sizeof(struct hbq_dmabuf), GFP_KERNEL);
508 if (!hbqbp)
511 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL,
512 &hbqbp->dbuf.phys);
513 if (!hbqbp->dbuf.virt) {
514 kfree(hbqbp);
517 hbqbp->total_size = LPFC_BPL_SIZE;
518 return hbqbp;
524 * @hbqbp: HBQ container returned by lpfc_els_hbq_alloc
534 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp)
536 dma_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys);
537 kfree(hbqbp);