Lines Matching refs:mp
308 struct lpfc_dmabuf *mp; in lpfc_config_port_post() local
339 mp = (struct lpfc_dmabuf *) pmb->context1; in lpfc_config_port_post()
341 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_config_port_post()
342 kfree(mp); in lpfc_config_port_post()
346 mp = (struct lpfc_dmabuf *) pmb->context1; in lpfc_config_port_post()
348 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); in lpfc_config_port_post()
349 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_config_port_post()
350 kfree(mp); in lpfc_config_port_post()
601 struct lpfc_dmabuf *mp, *next_mp; in lpfc_hba_down_post() local
612 list_for_each_entry_safe(mp, next_mp, &pring->postbufq, list) { in lpfc_hba_down_post()
613 list_del(&mp->list); in lpfc_hba_down_post()
615 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_hba_down_post()
616 kfree(mp); in lpfc_hba_down_post()
992 struct lpfc_dmabuf *mp; in lpfc_handle_latt() local
1001 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_handle_latt()
1002 if (!mp) { in lpfc_handle_latt()
1007 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_handle_latt()
1008 if (!mp->virt) { in lpfc_handle_latt()
1017 lpfc_read_la(phba, pmb, mp); in lpfc_handle_latt()
1038 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_handle_latt()
1040 kfree(mp); in lpfc_handle_latt()