Lines Matching refs:mp1
2707 struct lpfc_dmabuf *mp1, *mp2; in lpfc_post_buffer() local
2723 mp1 = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL); in lpfc_post_buffer()
2724 if (mp1) in lpfc_post_buffer()
2725 mp1->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &mp1->phys); in lpfc_post_buffer()
2726 if (!mp1 || !mp1->virt) { in lpfc_post_buffer()
2727 kfree(mp1); in lpfc_post_buffer()
2733 INIT_LIST_HEAD(&mp1->list); in lpfc_post_buffer()
2742 lpfc_mbuf_free(phba, mp1->virt, mp1->phys); in lpfc_post_buffer()
2743 kfree(mp1); in lpfc_post_buffer()
2754 icmd->un.cont64[0].addrHigh = putPaddrHigh(mp1->phys); in lpfc_post_buffer()
2755 icmd->un.cont64[0].addrLow = putPaddrLow(mp1->phys); in lpfc_post_buffer()
2772 lpfc_mbuf_free(phba, mp1->virt, mp1->phys); in lpfc_post_buffer()
2773 kfree(mp1); in lpfc_post_buffer()
2784 lpfc_sli_ringpostbuf_put(phba, pring, mp1); in lpfc_post_buffer()