Lines Matching refs:mp2
2794 struct lpfc_dmabuf *mp1, *mp2; in lpfc_sli3_post_buffer() local
2823 mp2 = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL); in lpfc_sli3_post_buffer()
2824 if (mp2) in lpfc_sli3_post_buffer()
2825 mp2->virt = lpfc_mbuf_alloc(phba, MEM_PRI, in lpfc_sli3_post_buffer()
2826 &mp2->phys); in lpfc_sli3_post_buffer()
2827 if (!mp2 || !mp2->virt) { in lpfc_sli3_post_buffer()
2828 kfree(mp2); in lpfc_sli3_post_buffer()
2836 INIT_LIST_HEAD(&mp2->list); in lpfc_sli3_post_buffer()
2838 mp2 = NULL; in lpfc_sli3_post_buffer()
2846 if (mp2) { in lpfc_sli3_post_buffer()
2847 icmd->un.cont64[1].addrHigh = putPaddrHigh(mp2->phys); in lpfc_sli3_post_buffer()
2848 icmd->un.cont64[1].addrLow = putPaddrLow(mp2->phys); in lpfc_sli3_post_buffer()
2862 if (mp2) { in lpfc_sli3_post_buffer()
2863 lpfc_mbuf_free(phba, mp2->virt, mp2->phys); in lpfc_sli3_post_buffer()
2864 kfree(mp2); in lpfc_sli3_post_buffer()
2872 if (mp2) in lpfc_sli3_post_buffer()
2873 lpfc_sli_ringpostbuf_put(phba, pring, mp2); in lpfc_sli3_post_buffer()