Lines Matching refs:mp2
2786 struct lpfc_dmabuf *mp1, *mp2; in lpfc_sli3_post_buffer() local
2815 mp2 = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL); in lpfc_sli3_post_buffer()
2816 if (mp2) in lpfc_sli3_post_buffer()
2817 mp2->virt = lpfc_mbuf_alloc(phba, MEM_PRI, in lpfc_sli3_post_buffer()
2818 &mp2->phys); in lpfc_sli3_post_buffer()
2819 if (!mp2 || !mp2->virt) { in lpfc_sli3_post_buffer()
2820 kfree(mp2); in lpfc_sli3_post_buffer()
2828 INIT_LIST_HEAD(&mp2->list); in lpfc_sli3_post_buffer()
2830 mp2 = NULL; in lpfc_sli3_post_buffer()
2838 if (mp2) { in lpfc_sli3_post_buffer()
2839 icmd->un.cont64[1].addrHigh = putPaddrHigh(mp2->phys); in lpfc_sli3_post_buffer()
2840 icmd->un.cont64[1].addrLow = putPaddrLow(mp2->phys); in lpfc_sli3_post_buffer()
2854 if (mp2) { in lpfc_sli3_post_buffer()
2855 lpfc_mbuf_free(phba, mp2->virt, mp2->phys); in lpfc_sli3_post_buffer()
2856 kfree(mp2); in lpfc_sli3_post_buffer()
2864 if (mp2) in lpfc_sli3_post_buffer()
2865 lpfc_sli_ringpostbuf_put(phba, pring, mp2); in lpfc_sli3_post_buffer()