Lines Matching refs:virt

416 		lpfc_mbuf_free(phba, mp->virt, mp->phys);  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()
903 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_hba_free_post_buf()
1225 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); in lpfc_hb_timeout_handler()
1793 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_handle_latt()
1794 if (!mp->virt) { in lpfc_handle_latt()
1824 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_handle_latt()
2308 mp1->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &mp1->phys); in lpfc_post_buffer()
2309 if (!mp1 || !mp1->virt) { in lpfc_post_buffer()
2321 mp2->virt = lpfc_mbuf_alloc(phba, MEM_PRI, in lpfc_post_buffer()
2323 if (!mp2 || !mp2->virt) { in lpfc_post_buffer()
2325 lpfc_mbuf_free(phba, mp1->virt, mp1->phys); in lpfc_post_buffer()
2355 lpfc_mbuf_free(phba, mp1->virt, mp1->phys); in lpfc_post_buffer()
2359 lpfc_mbuf_free(phba, mp2->virt, mp2->phys); in lpfc_post_buffer()
3124 sglq_entry->virt = lpfc_mbuf_alloc(phba, 0, in lpfc_sli4_xri_sgl_update()
3126 if (sglq_entry->virt == NULL) { in lpfc_sli4_xri_sgl_update()
3134 sglq_entry->sgl = sglq_entry->virt; in lpfc_sli4_xri_sgl_update()
3161 lpfc_mbuf_free(phba, sglq_entry->virt, in lpfc_sli4_xri_sgl_update()
3914 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_sli4_async_link_evt()
3915 if (!mp->virt) { in lpfc_sli4_async_link_evt()
4071 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_sli4_async_fc_evt()
4072 if (!mp->virt) { in lpfc_sli4_async_fc_evt()
5809 lpfc_mbuf_free(phba, sglq_entry->virt, sglq_entry->phys); in lpfc_free_sgl_list()
5995 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, in lpfc_sli4_create_rpi_hdr()
5998 if (!dmabuf->virt) { in lpfc_sli4_create_rpi_hdr()
6032 dmabuf->virt, dmabuf->phys); in lpfc_sli4_create_rpi_hdr()
6059 rpi_hdr->dmabuf->virt, rpi_hdr->dmabuf->phys); in lpfc_sli4_remove_rpi_hdrs()
6391 phba->slim2p.virt = dma_zalloc_coherent(&pdev->dev, SLI2_SLIM_SIZE, in lpfc_sli_pci_mem_setup()
6393 if (!phba->slim2p.virt) in lpfc_sli_pci_mem_setup()
6396 phba->mbox = phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, mbx); in lpfc_sli_pci_mem_setup()
6397 phba->mbox_ext = (phba->slim2p.virt + in lpfc_sli_pci_mem_setup()
6399 phba->pcb = (phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, pcb)); in lpfc_sli_pci_mem_setup()
6400 phba->IOCBs = (phba->slim2p.virt + in lpfc_sli_pci_mem_setup()
6403 phba->hbqslimp.virt = dma_alloc_coherent(&pdev->dev, in lpfc_sli_pci_mem_setup()
6407 if (!phba->hbqslimp.virt) in lpfc_sli_pci_mem_setup()
6411 ptr = phba->hbqslimp.virt; in lpfc_sli_pci_mem_setup()
6421 memset(phba->hbqslimp.virt, 0, lpfc_sli_hbq_size()); in lpfc_sli_pci_mem_setup()
6435 phba->slim2p.virt, phba->slim2p.phys); in lpfc_sli_pci_mem_setup()
6464 phba->hbqslimp.virt, phba->hbqslimp.phys); in lpfc_sli_pci_mem_unset()
6466 phba->slim2p.virt, phba->slim2p.phys); in lpfc_sli_pci_mem_unset()
6760 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, bmbx_size, in lpfc_create_bootstrap_mbox()
6762 if (!dmabuf->virt) { in lpfc_create_bootstrap_mbox()
6777 phba->sli4_hba.bmbx.avirt = PTR_ALIGN(dmabuf->virt, in lpfc_create_bootstrap_mbox()
6818 phba->sli4_hba.bmbx.dmabuf->virt, in lpfc_destroy_bootstrap_mbox()
9761 phba->hbqslimp.virt, phba->hbqslimp.phys); in lpfc_pci_remove_one_s3()
9765 phba->slim2p.virt, phba->slim2p.phys); in lpfc_pci_remove_one_s3()
10190 dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, in lpfc_write_firmware()
10194 if (!dmabuf->virt) { in lpfc_write_firmware()
10205 memcpy(dmabuf->virt, in lpfc_write_firmware()
10211 memcpy(dmabuf->virt, fw->data + temp_offset, in lpfc_write_firmware()
10227 dmabuf->virt, dmabuf->phys); in lpfc_write_firmware()