Home
last modified time | relevance | path

Searched refs:hbqbp (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_mem.c489 struct hbq_dmabuf *hbqbp; in lpfc_els_hbq_alloc() local
491 hbqbp = kzalloc(sizeof(struct hbq_dmabuf), GFP_KERNEL); in lpfc_els_hbq_alloc()
492 if (!hbqbp) in lpfc_els_hbq_alloc()
495 hbqbp->dbuf.virt = dma_pool_alloc(phba->lpfc_hbq_pool, GFP_KERNEL, in lpfc_els_hbq_alloc()
496 &hbqbp->dbuf.phys); in lpfc_els_hbq_alloc()
497 if (!hbqbp->dbuf.virt) { in lpfc_els_hbq_alloc()
498 kfree(hbqbp); in lpfc_els_hbq_alloc()
501 hbqbp->total_size = LPFC_BPL_SIZE; in lpfc_els_hbq_alloc()
502 return hbqbp; in lpfc_els_hbq_alloc()
518 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp) in lpfc_els_hbq_free() argument
[all …]