Lines Matching refs:virt

138 			lpfc_mbuf_free(phba, mlast->virt, mlast->phys);
141 lpfc_mbuf_free(phba, mlist->virt, mlist->phys);
175 mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys));
177 if (!mp->virt) {
238 dma_address = mp->virt + dma_offset;
358 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
424 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys);
425 if (!bmp->virt) {
432 bpl = (struct ulp_bde64 *) bmp->virt;
517 if (bmp->virt)
518 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
600 prsp->virt,
703 cmdiocbq->cmd_dmabuf->virt,
871 if (mlast->dma.virt)
874 mlast->dma.virt,
916 ct_req = (struct lpfc_sli_ct_request *)bdeBuf1->virt;
1014 dmabuf->virt, size);
1141 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header));
1418 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
1600 bmp->virt = lpfc_mbuf_alloc(phba, 0, &bmp->phys);
1601 if (!bmp->virt) {
1607 bpl = (struct ulp_bde64 *) bmp->virt;
1628 if (bmp->virt)
1629 lpfc_mbuf_free(phba, bmp->virt, bmp->phys);
2522 lpfc_mbuf_free(phba, dmabuff->virt, dmabuff->phys);
2534 lpfc_mbuf_free(phba, dmabuff->virt, dmabuff->phys);
2619 dmabuf->virt = lpfc_mbuf_alloc(phba, 0, &dmabuf->phys);
2620 if (dmabuf->virt) {
2622 bpl = (struct ulp_bde64 *) dmabuf->virt;
2639 dmabuf->virt == NULL) {
2697 if (dmabuf->virt)
2698 lpfc_mbuf_free(phba, dmabuf->virt, dmabuf->phys);
2730 dmabuf->virt = dma_alloc_coherent(&pcidev->dev, BSG_MBOX_SIZE,
2733 if (!dmabuf->virt) {
2757 if (dmabuf->virt)
2759 dmabuf->virt, dmabuf->phys);
2832 dmp->dma.virt = dma_alloc_coherent(&pcidev->dev,
2837 if (!dmp->dma.virt)
2845 memset((uint8_t *)dmp->dma.virt, 0, cnt);
2901 rxbmp->virt = lpfc_mbuf_alloc(phba, 0, &rxbmp->phys);
2902 if (rxbmp->virt) {
2904 rxbpl = (struct ulp_bde64 *) rxbmp->virt;
2992 if (rxbmp->virt)
2993 lpfc_mbuf_free(phba, rxbmp->virt, rxbmp->phys);
3153 txbmp->virt = lpfc_mbuf_alloc(phba, 0, &txbmp->phys);
3154 if (txbmp->virt) {
3156 txbpl = (struct ulp_bde64 *) txbmp->virt;
3162 if (!cmdiocbq || !txbmp || !txbpl || !txbuffer || !txbmp->virt) {
3183 ctreq = curr->virt;
3196 memcpy(curr->virt + segment_offset,
3298 lpfc_mbuf_free(phba, txbmp->virt, txbmp->phys);
3579 sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt;
3582 pmbx = (uint8_t *)dmabuf->virt;
3713 sli_cfg_mbx = (struct lpfc_sli_config_mbox *)mbx_dmabuf->virt;
3829 sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt;
3926 pmbx = (uint8_t *)dmabuf->virt;
4017 sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt;
4106 mbx = (uint8_t *)dmabuf->virt;
4176 sli_cfg_mbx = (struct lpfc_sli_config_mbox *)dmabuf->virt;
4328 phba->mbox_ext_buf_ctx.mbx_dmabuf->virt;
4354 pbuf = (uint8_t *)dmabuf->virt;
4403 pbuf = (uint8_t *)dmabuf->virt;
4453 pbuf = (uint8_t *)phba->mbox_ext_buf_ctx.mbx_dmabuf->virt;
4687 if (!dmabuf || !dmabuf->virt) {
4693 pmbx = (uint8_t *)dmabuf->virt;
5218 if (!ras_fwlog->lwpd.virt) {
5226 lwpd_ptr = (uint32_t *)(ras_fwlog->lwpd.virt);
5310 src = dmabuf->virt + offset;
5427 if (!phba->cgn_i || !phba->cgn_i->virt) {
5432 cp = phba->cgn_i->virt;