Lines Matching refs:mp
378 struct lpfc_dmabuf *mp; in lpfc_config_port_post() local
414 mp = (struct lpfc_dmabuf *) pmb->context1; in lpfc_config_port_post()
416 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_config_port_post()
417 kfree(mp); in lpfc_config_port_post()
421 mp = (struct lpfc_dmabuf *) pmb->context1; in lpfc_config_port_post()
423 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); in lpfc_config_port_post()
424 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_config_port_post()
425 kfree(mp); in lpfc_config_port_post()
884 struct lpfc_dmabuf *mp, *next_mp; in lpfc_hba_free_post_buf() local
898 list_for_each_entry_safe(mp, next_mp, &buflist, list) { in lpfc_hba_free_post_buf()
899 list_del(&mp->list); in lpfc_hba_free_post_buf()
901 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_hba_free_post_buf()
902 kfree(mp); in lpfc_hba_free_post_buf()
1776 struct lpfc_dmabuf *mp; in lpfc_handle_latt() local
1785 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_handle_latt()
1786 if (!mp) { in lpfc_handle_latt()
1791 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_handle_latt()
1792 if (!mp->virt) { in lpfc_handle_latt()
1801 lpfc_read_topology(phba, pmb, mp); in lpfc_handle_latt()
1822 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_handle_latt()
1824 kfree(mp); in lpfc_handle_latt()
3877 struct lpfc_dmabuf *mp; in lpfc_sli4_async_link_evt() local
3894 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_sli4_async_link_evt()
3895 if (!mp) { in lpfc_sli4_async_link_evt()
3900 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_sli4_async_link_evt()
3901 if (!mp->virt) { in lpfc_sli4_async_link_evt()
3917 lpfc_read_topology(phba, pmb, mp); in lpfc_sli4_async_link_evt()
3989 kfree(mp); in lpfc_sli4_async_link_evt()
4006 struct lpfc_dmabuf *mp; in lpfc_sli4_async_fc_evt() local
4051 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_sli4_async_fc_evt()
4052 if (!mp) { in lpfc_sli4_async_fc_evt()
4057 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_sli4_async_fc_evt()
4058 if (!mp->virt) { in lpfc_sli4_async_fc_evt()
4074 lpfc_read_topology(phba, pmb, mp); in lpfc_sli4_async_fc_evt()
4084 kfree(mp); in lpfc_sli4_async_fc_evt()