Lines Matching defs:hbqbp
395 struct hbq_dmabuf *hbqbp;
397 hbqbp = kmalloc(sizeof(struct hbq_dmabuf), GFP_KERNEL);
398 if (!hbqbp)
401 hbqbp->dbuf.virt = pci_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL,
402 &hbqbp->dbuf.phys);
403 if (!hbqbp->dbuf.virt) {
404 kfree(hbqbp);
407 hbqbp->size = LPFC_BPL_SIZE;
408 return hbqbp;
414 * @hbqbp: HBQ container returned by lpfc_els_hbq_alloc
424 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp)
426 pci_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys);
427 kfree(hbqbp);