Lines Matching refs:bmp
541 lpfc_nvme_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, in lpfc_nvme_gen_req() argument
565 genwqe->context3 = (uint8_t *)bmp; in lpfc_nvme_gen_req()
580 bpl = (struct ulp_bde64 *)bmp->virt; in lpfc_nvme_gen_req()
667 genwqe, pnvme_lsreq, bmp, xmit_len, first_len); in lpfc_nvme_gen_req()
693 struct lpfc_dmabuf *bmp; in __lpfc_nvme_ls_req() local
732 bmp = kmalloc(sizeof(*bmp), GFP_KERNEL); in __lpfc_nvme_ls_req()
733 if (!bmp) { in __lpfc_nvme_ls_req()
741 bmp->virt = lpfc_mbuf_alloc(vport->phba, MEM_PRI, &(bmp->phys)); in __lpfc_nvme_ls_req()
742 if (!bmp->virt) { in __lpfc_nvme_ls_req()
747 kfree(bmp); in __lpfc_nvme_ls_req()
751 INIT_LIST_HEAD(&bmp->list); in __lpfc_nvme_ls_req()
753 bpl = (struct ulp_bde64 *)bmp->virt; in __lpfc_nvme_ls_req()
774 ret = lpfc_nvme_gen_req(vport, bmp, pnvme_lsreq->rqstaddr, in __lpfc_nvme_ls_req()
782 lpfc_mbuf_free(vport->phba, bmp->virt, bmp->phys); in __lpfc_nvme_ls_req()
783 kfree(bmp); in __lpfc_nvme_ls_req()