Lines Matching refs:hbqbp
449 struct hbq_dmabuf *hbqbp; in lpfc_els_hbq_alloc() local
451 hbqbp = kzalloc(sizeof(struct hbq_dmabuf), GFP_KERNEL); in lpfc_els_hbq_alloc()
452 if (!hbqbp) in lpfc_els_hbq_alloc()
455 hbqbp->dbuf.virt = pci_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc()
456 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc()
457 if (!hbqbp->dbuf.virt) { in lpfc_els_hbq_alloc()
458 kfree(hbqbp); in lpfc_els_hbq_alloc()
461 hbqbp->size = LPFC_BPL_SIZE; in lpfc_els_hbq_alloc()
462 return hbqbp; in lpfc_els_hbq_alloc()
478 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp) in lpfc_els_hbq_free() argument
480 pci_pool_free(phba->lpfc_hbq_pool, hbqbp->dbuf.virt, hbqbp->dbuf.phys); in lpfc_els_hbq_free()
481 kfree(hbqbp); in lpfc_els_hbq_free()