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()
901 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_hba_free_post_buf()
1223 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); in lpfc_hb_timeout_handler()
1791 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_handle_latt()
1792 if (!mp->virt) { in lpfc_handle_latt()
1822 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_handle_latt()
2301 mp1->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &mp1->phys); in lpfc_post_buffer()
2302 if (!mp1 || !mp1->virt) { in lpfc_post_buffer()
2314 mp2->virt = lpfc_mbuf_alloc(phba, MEM_PRI, in lpfc_post_buffer()
2316 if (!mp2 || !mp2->virt) { in lpfc_post_buffer()
2318 lpfc_mbuf_free(phba, mp1->virt, mp1->phys); in lpfc_post_buffer()
2348 lpfc_mbuf_free(phba, mp1->virt, mp1->phys); in lpfc_post_buffer()
2352 lpfc_mbuf_free(phba, mp2->virt, mp2->phys); in lpfc_post_buffer()
3116 sglq_entry->virt = lpfc_mbuf_alloc(phba, 0, in lpfc_sli4_xri_sgl_update()
3118 if (sglq_entry->virt == NULL) { in lpfc_sli4_xri_sgl_update()
3126 sglq_entry->sgl = sglq_entry->virt; in lpfc_sli4_xri_sgl_update()
3153 lpfc_mbuf_free(phba, sglq_entry->virt, in lpfc_sli4_xri_sgl_update()
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()
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()
5790 lpfc_mbuf_free(phba, sglq_entry->virt, sglq_entry->phys); in lpfc_free_sgl_list()
5976 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, in lpfc_sli4_create_rpi_hdr()
5979 if (!dmabuf->virt) { in lpfc_sli4_create_rpi_hdr()
6013 dmabuf->virt, dmabuf->phys); in lpfc_sli4_create_rpi_hdr()
6040 rpi_hdr->dmabuf->virt, rpi_hdr->dmabuf->phys); in lpfc_sli4_remove_rpi_hdrs()
6372 phba->slim2p.virt = dma_zalloc_coherent(&pdev->dev, SLI2_SLIM_SIZE, in lpfc_sli_pci_mem_setup()
6374 if (!phba->slim2p.virt) in lpfc_sli_pci_mem_setup()
6377 phba->mbox = phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, mbx); in lpfc_sli_pci_mem_setup()
6378 phba->mbox_ext = (phba->slim2p.virt + in lpfc_sli_pci_mem_setup()
6380 phba->pcb = (phba->slim2p.virt + offsetof(struct lpfc_sli2_slim, pcb)); in lpfc_sli_pci_mem_setup()
6381 phba->IOCBs = (phba->slim2p.virt + in lpfc_sli_pci_mem_setup()
6384 phba->hbqslimp.virt = dma_alloc_coherent(&pdev->dev, in lpfc_sli_pci_mem_setup()
6388 if (!phba->hbqslimp.virt) in lpfc_sli_pci_mem_setup()
6392 ptr = phba->hbqslimp.virt; in lpfc_sli_pci_mem_setup()
6402 memset(phba->hbqslimp.virt, 0, lpfc_sli_hbq_size()); in lpfc_sli_pci_mem_setup()
6416 phba->slim2p.virt, phba->slim2p.phys); in lpfc_sli_pci_mem_setup()
6445 phba->hbqslimp.virt, phba->hbqslimp.phys); in lpfc_sli_pci_mem_unset()
6447 phba->slim2p.virt, phba->slim2p.phys); in lpfc_sli_pci_mem_unset()
6741 dmabuf->virt = dma_zalloc_coherent(&phba->pcidev->dev, bmbx_size, in lpfc_create_bootstrap_mbox()
6743 if (!dmabuf->virt) { in lpfc_create_bootstrap_mbox()
6758 phba->sli4_hba.bmbx.avirt = PTR_ALIGN(dmabuf->virt, in lpfc_create_bootstrap_mbox()
6799 phba->sli4_hba.bmbx.dmabuf->virt, in lpfc_destroy_bootstrap_mbox()
9743 phba->hbqslimp.virt, phba->hbqslimp.phys); in lpfc_pci_remove_one_s3()
9747 phba->slim2p.virt, phba->slim2p.phys); in lpfc_pci_remove_one_s3()
10172 dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, in lpfc_write_firmware()
10176 if (!dmabuf->virt) { in lpfc_write_firmware()
10187 memcpy(dmabuf->virt, in lpfc_write_firmware()
10193 memcpy(dmabuf->virt, fw->data + temp_offset, in lpfc_write_firmware()
10209 dmabuf->virt, dmabuf->phys); in lpfc_write_firmware()