Searched refs:hbqbp (Results 1 – 1 of 1) sorted by relevance
505 struct hbq_dmabuf *hbqbp; in lpfc_els_hbq_alloc() local507 hbqbp = kzalloc(sizeof(struct hbq_dmabuf), GFP_KERNEL); in lpfc_els_hbq_alloc()508 if (!hbqbp) in lpfc_els_hbq_alloc()511 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc()512 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc()513 if (!hbqbp->dbuf.virt) { in lpfc_els_hbq_alloc()514 kfree(hbqbp); in lpfc_els_hbq_alloc()517 hbqbp->total_size = LPFC_BPL_SIZE; in lpfc_els_hbq_alloc()518 return hbqbp; in lpfc_els_hbq_alloc()534 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp) in lpfc_els_hbq_free() argument[all …]