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