Lines Matching refs:bmp
297 struct lpfc_dmabuf *bmp, *cmp, *rmp;
325 bmp = cmdiocbq->bpl_dmabuf;
358 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
359 kfree(bmp);
388 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL;
419 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL);
420 if (!bmp) {
424 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys);
425 if (!bmp->virt) {
430 INIT_LIST_HEAD(&bmp->list);
432 bpl = (struct ulp_bde64 *) bmp->virt;
459 lpfc_sli_prep_gen_req(phba, cmdiocbq, bmp, ulp_context, num_entry,
465 cmdiocbq->bpl_dmabuf = bmp;
517 if (bmp->virt)
518 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
519 kfree(bmp);
1363 struct lpfc_dmabuf *bmp, *cmp;
1387 bmp = cmdiocbq->bpl_dmabuf;
1418 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
1419 kfree(bmp);
1440 * @bmp: Pointer to a bmp dma buffer descriptor.
1445 struct lpfc_dmabuf *cmp, struct lpfc_dmabuf *bmp,
1488 lpfc_sli_prep_xmit_seq64(phba, ctiocb, bmp,
1498 lpfc_sli_prep_xmit_seq64(phba, ctiocb, bmp, 0, tag, num_entry,
1516 ctiocb->bpl_dmabuf = bmp;
1579 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL;
1594 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL);
1595 if (!bmp) {
1600 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys);
1601 if (!bmp->virt) {
1606 INIT_LIST_HEAD(&bmp->list);
1607 bpl = (struct ulp_bde64 *) bmp->virt;
1618 rc = lpfc_issue_ct_rsp(phba, job, tag, cmp, bmp, bpl_entries);
1628 if (bmp->virt)
1629 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
1630 kfree(bmp);