kva 47 arch/arm/include/asm/kvm_asm.h #define kvm_ksym_ref(kva) (kva) kva 17 arch/arm/include/asm/kvm_mmu.h #define kern_hyp_va(kva) (kva) kva 347 drivers/infiniband/hw/cxgb3/iwch_provider.c if (mhp->kva) kva 348 drivers/infiniband/hw/cxgb3/iwch_provider.c kfree((void *) (unsigned long) mhp->kva); kva 78 drivers/infiniband/hw/cxgb3/iwch_provider.h u64 kva; kva 94 drivers/infiniband/hw/cxgb3/iwch_provider.h u64 kva; kva 400 drivers/infiniband/hw/cxgb4/iw_cxgb4.h u64 kva; kva 418 drivers/infiniband/hw/cxgb4/iw_cxgb4.h u64 kva; kva 815 drivers/infiniband/hw/cxgb4/mem.c if (mhp->kva) kva 816 drivers/infiniband/hw/cxgb4/mem.c kfree((void *) (unsigned long) mhp->kva); kva 1942 drivers/infiniband/hw/i40iw/i40iw_verbs.c u64 kva = 0; kva 1944 drivers/infiniband/hw/i40iw/i40iw_verbs.c return i40iw_reg_phys_mr(pd, 0, 0, acc, &kva); kva 104 drivers/infiniband/sw/siw/siw_qp_rx.c static int siw_rx_kva(struct siw_rx_stream *srx, void *kva, int len) kva 108 drivers/infiniband/sw/siw/siw_qp_rx.c siw_dbg_qp(rx_qp(srx), "kva: 0x%pK, len: %u\n", kva, len); kva 110 drivers/infiniband/sw/siw/siw_qp_rx.c rv = skb_copy_bits(srx->skb, srx->skb_offset, kva, len); kva 113 drivers/infiniband/sw/siw/siw_qp_rx.c qp_id(rx_qp(srx)), __func__, len, kva, rv); kva 118 drivers/infiniband/sw/siw/siw_qp_rx.c crypto_shash_update(srx->mpa_crc_hd, (u8 *)kva, len); kva 99 drivers/media/platform/qcom/venus/hfi_venus.c void *kva; /* kernel virtual address */ kva 172 drivers/media/platform/qcom/venus/hfi_venus.c if (!queue->qmem.kva) kva 208 drivers/media/platform/qcom/venus/hfi_venus.c wr_ptr = (u32 *)(queue->qmem.kva + (wr_idx << 2)); kva 217 drivers/media/platform/qcom/venus/hfi_venus.c memcpy(queue->qmem.kva, packet + len, new_wr_idx << 2); kva 242 drivers/media/platform/qcom/venus/hfi_venus.c if (!queue->qmem.kva) kva 275 drivers/media/platform/qcom/venus/hfi_venus.c rd_ptr = (u32 *)(queue->qmem.kva + (rd_idx << 2)); kva 290 drivers/media/platform/qcom/venus/hfi_venus.c memcpy(pkt + len, queue->qmem.kva, new_rd_idx << 2); kva 333 drivers/media/platform/qcom/venus/hfi_venus.c desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, kva 335 drivers/media/platform/qcom/venus/hfi_venus.c if (!desc->kva) kva 345 drivers/media/platform/qcom/venus/hfi_venus.c dma_free_attrs(dev, mem->size, mem->kva, mem->da, mem->attrs); kva 723 drivers/media/platform/qcom/venus/hfi_venus.c queue->qmem.kva = desc.kva + offset; kva 727 drivers/media/platform/qcom/venus/hfi_venus.c IFACEQ_GET_QHDR_START_ADDR(hdev->ifaceq_table.kva, i); kva 741 drivers/media/platform/qcom/venus/hfi_venus.c tbl_hdr = hdev->ifaceq_table.kva; kva 761 drivers/media/platform/qcom/venus/hfi_venus.c sfr = hdev->sfr.kva; kva 962 drivers/media/platform/qcom/venus/hfi_venus.c struct hfi_sfr *sfr = hdev->sfr.kva; kva 72 drivers/media/usb/cpia2/cpia2_core.c unsigned long kva, ret; kva 74 drivers/media/usb/cpia2/cpia2_core.c kva = (unsigned long) page_address(vmalloc_to_page((void *)adr)); kva 75 drivers/media/usb/cpia2/cpia2_core.c kva |= adr & (PAGE_SIZE-1); /* restore the offset */ kva 76 drivers/media/usb/cpia2/cpia2_core.c ret = __pa(kva); kva 29 drivers/misc/mic/cosm/cosm_debugfs.c void *kva; kva 56 drivers/misc/mic/cosm/cosm_debugfs.c kva = kmalloc(size, GFP_KERNEL); kva 57 drivers/misc/mic/cosm/cosm_debugfs.c if (!kva) kva 60 drivers/misc/mic/cosm/cosm_debugfs.c memcpy_fromio(kva, log_buf_va, size); kva 61 drivers/misc/mic/cosm/cosm_debugfs.c seq_write(s, kva, size); kva 62 drivers/misc/mic/cosm/cosm_debugfs.c kfree(kva); kva 75 drivers/net/ethernet/brocade/bna/bfa_cee.c memcpy(cee->attr, cee->attr_dma.kva, kva 95 drivers/net/ethernet/brocade/bna/bfa_cee.c memcpy(cee->stats, cee->stats_dma.kva, kva 141 drivers/net/ethernet/brocade/bna/bfa_cee.c cee->attr_dma.kva = dma_kva; kva 143 drivers/net/ethernet/brocade/bna/bfa_cee.c cee->stats_dma.kva = dma_kva + bfa_cee_attr_meminfo(); kva 2583 drivers/net/ethernet/brocade/bna/bfa_ioc.c ioc->attr_dma.kva = dm_kva; kva 39 drivers/net/ethernet/brocade/bna/bfa_ioc.h void *kva; /* ! Kernel virtual address */ kva 210 drivers/net/ethernet/brocade/bna/bfa_msgq.c dst = (u8 *)cmdq->addr.kva; kva 220 drivers/net/ethernet/brocade/bna/bfa_msgq.c dst = (u8 *)cmdq->addr.kva; kva 282 drivers/net/ethernet/brocade/bna/bfa_msgq.c u8 *addr = (u8 *)cmdq->addr.kva; kva 471 drivers/net/ethernet/brocade/bna/bfa_msgq.c rspq_qe = (u8 *)rspq->addr.kva; kva 590 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa) kva 592 drivers/net/ethernet/brocade/bna/bfa_msgq.c msgq->cmdq.addr.kva = kva; kva 595 drivers/net/ethernet/brocade/bna/bfa_msgq.c kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); kva 598 drivers/net/ethernet/brocade/bna/bfa_msgq.c msgq->rspq.addr.kva = kva; kva 646 drivers/net/ethernet/brocade/bna/bfa_msgq.c src = (u8 *)rspq->addr.kva; kva 657 drivers/net/ethernet/brocade/bna/bfa_msgq.c src = (u8 *)rspq->addr.kva; kva 115 drivers/net/ethernet/brocade/bna/bfa_msgq.h void bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa); kva 1692 drivers/net/ethernet/brocade/bna/bna_enet.c u8 *kva; kva 1706 drivers/net/ethernet/brocade/bna/bna_enet.c kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; kva 1707 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_ioc_mem_claim(&ioceth->ioc, kva, dma); kva 1709 drivers/net/ethernet/brocade/bna/bna_enet.c kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; kva 1710 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_ioc_debug_memclaim(&ioceth->ioc, kva); kva 1718 drivers/net/ethernet/brocade/bna/bna_enet.c kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; kva 1720 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_cee_mem_claim(&bna->cee, kva, dma); kva 1721 drivers/net/ethernet/brocade/bna/bna_enet.c kva += bfa_nw_cee_meminfo(); kva 1725 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_flash_memclaim(&bna->flash, kva, dma); kva 1726 drivers/net/ethernet/brocade/bna/bna_enet.c kva += bfa_nw_flash_meminfo(); kva 1730 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_memclaim(&bna->msgq, kva, dma); kva 1732 drivers/net/ethernet/brocade/bna/bna_enet.c kva += bfa_msgq_meminfo(); kva 1784 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; kva 1811 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; kva 1818 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mdl[0].kva; kva 1973 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].kva; kva 628 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; kva 1861 drivers/net/ethernet/brocade/bna/bna_tx_rx.c u8 *kva; kva 1868 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->qpt.kv_qpt_ptr = qpt_mem->kva; kva 1872 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->rcb->sw_qpt = (void **) swqpt_mem->kva; kva 1873 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->rcb->sw_q = page_mem->kva; kva 1875 drivers/net/ethernet/brocade/bna/bna_tx_rx.c kva = page_mem->kva; kva 1879 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->rcb->sw_qpt[i] = kva; kva 1880 drivers/net/ethernet/brocade/bna/bna_tx_rx.c kva += PAGE_SIZE; kva 1899 drivers/net/ethernet/brocade/bna/bna_tx_rx.c u8 *kva; kva 1906 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.qpt.kv_qpt_ptr = qpt_mem->kva; kva 1910 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.ccb->sw_qpt = (void **) swqpt_mem->kva; kva 1911 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.ccb->sw_q = page_mem->kva; kva 1913 drivers/net/ethernet/brocade/bna/bna_tx_rx.c kva = page_mem->kva; kva 1917 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.ccb->sw_qpt[i] = kva; kva 1918 drivers/net/ethernet/brocade/bna/bna_tx_rx.c kva += PAGE_SIZE; kva 2035 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; kva 2037 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; kva 2039 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; kva 2365 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].kva; kva 2382 drivers/net/ethernet/brocade/bna/bna_tx_rx.c q0->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; kva 2383 drivers/net/ethernet/brocade/bna/bna_tx_rx.c q0->rcb->unmap_q = (void *)dqunmap_mem[dq_idx].kva; kva 2409 drivers/net/ethernet/brocade/bna/bna_tx_rx.c q1->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; kva 2410 drivers/net/ethernet/brocade/bna/bna_tx_rx.c q1->rcb->unmap_q = (void *)hqunmap_mem[hq_idx].kva; kva 2436 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.ccb = (struct bna_ccb *) ccb_mem[i].kva; kva 3166 drivers/net/ethernet/brocade/bna/bna_tx_rx.c u8 *kva; kva 3173 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->qpt.kv_qpt_ptr = qpt_mem->kva; kva 3177 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->tcb->sw_qpt = (void **) swqpt_mem->kva; kva 3178 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->tcb->sw_q = page_mem->kva; kva 3180 drivers/net/ethernet/brocade/bna/bna_tx_rx.c kva = page_mem->kva; kva 3184 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->tcb->sw_qpt[i] = kva; kva 3185 drivers/net/ethernet/brocade/bna/bna_tx_rx.c kva += PAGE_SIZE; kva 3443 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_TCB].res_u.mem_info.mdl[i].kva; kva 3453 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].kva; kva 3468 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_UNMAPQ].res_u.mem_info.mdl[i].kva; kva 3586 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.mdl[0].kva; kva 3588 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.mdl[0].kva; kva 263 drivers/net/ethernet/brocade/bna/bna_types.h void *kva; kva 1321 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl[i].kva != NULL) { kva 1327 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].kva, dma_pa); kva 1329 drivers/net/ethernet/brocade/bna/bnad.c kfree(mem_info->mdl[i].kva); kva 1356 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].kva = kva 1360 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl[i].kva == NULL) kva 1369 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].kva = kzalloc(mem_info->len, kva 1371 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl[i].kva == NULL) kva 38 drivers/scsi/bfa/bfa.h (*(u32 *)((__bfa)->iocfc.req_cq_shadow_ci[__reqq].kva)) kva 47 drivers/scsi/bfa/bfa.h ((void *)((struct bfi_msg_s *)((__bfa)->iocfc.req_cq_ba[__reqq].kva) \ kva 60 drivers/scsi/bfa/bfa.h (*(u32 *)((__bfa)->iocfc.rsp_cq_shadow_pi[__rspq].kva)) kva 64 drivers/scsi/bfa/bfa.h (&((struct bfi_msg_s *)((__bfa)->iocfc.rsp_cq_ba[__rspq].kva))[__ci]) kva 1111 drivers/scsi/bfa/bfa_core.c iocfc->req_cq_ba[i].kva = bfa_mem_dma_virt(reqq_dma); kva 1113 drivers/scsi/bfa/bfa_core.c memset(iocfc->req_cq_ba[i].kva, 0, per_reqq_sz); kva 1116 drivers/scsi/bfa/bfa_core.c iocfc->rsp_cq_ba[i].kva = bfa_mem_dma_virt(rspq_dma); kva 1118 drivers/scsi/bfa/bfa_core.c memset(iocfc->rsp_cq_ba[i].kva, 0, per_rspq_sz); kva 1126 drivers/scsi/bfa/bfa_core.c iocfc->req_cq_shadow_ci[i].kva = dm_kva; kva 1131 drivers/scsi/bfa/bfa_core.c iocfc->rsp_cq_shadow_pi[i].kva = dm_kva; kva 1138 drivers/scsi/bfa/bfa_core.c bfa->iocfc.cfg_info.kva = dm_kva; kva 1145 drivers/scsi/bfa/bfa_core.c bfa->iocfc.cfgrsp_dma.kva = dm_kva; kva 1248 drivers/scsi/bfa/bfa_core.c void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); kva 1252 drivers/scsi/bfa/bfa_core.c r->cpe_q_ci[i] = kva + be32_to_cpu(qreg->cpe_q_ci_off[i]); kva 1253 drivers/scsi/bfa/bfa_core.c r->cpe_q_pi[i] = kva + be32_to_cpu(qreg->cpe_q_pi_off[i]); kva 1254 drivers/scsi/bfa/bfa_core.c r->cpe_q_ctrl[i] = kva + be32_to_cpu(qreg->cpe_qctl_off[i]); kva 1255 drivers/scsi/bfa/bfa_core.c r->rme_q_ci[i] = kva + be32_to_cpu(qreg->rme_q_ci_off[i]); kva 1256 drivers/scsi/bfa/bfa_core.c r->rme_q_pi[i] = kva + be32_to_cpu(qreg->rme_q_pi_off[i]); kva 1257 drivers/scsi/bfa/bfa_core.c r->rme_q_ctrl[i] = kva + be32_to_cpu(qreg->rme_qctl_off[i]); kva 1841 drivers/scsi/bfa/bfa_core.c dma_info->kva_curp = dma_info->kva; kva 1845 drivers/scsi/bfa/bfa_core.c kva_info->kva_curp = kva_info->kva; kva 1849 drivers/scsi/bfa/bfa_core.c dma_elem->kva_curp = dma_elem->kva; kva 1855 drivers/scsi/bfa/bfa_core.c kva_elem->kva_curp = kva_elem->kva; kva 3714 drivers/scsi/bfa/bfa_fcpim.c fcp->snsbase[idx].kva = bfa_mem_dma_virt(seg_ptr); kva 19 drivers/scsi/bfa/bfa_hw_cb.c void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); kva 23 drivers/scsi/bfa/bfa_hw_cb.c bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); kva 24 drivers/scsi/bfa/bfa_hw_cb.c bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); kva 26 drivers/scsi/bfa/bfa_hw_cb.c bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); kva 27 drivers/scsi/bfa/bfa_hw_cb.c bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); kva 29 drivers/scsi/bfa/bfa_hw_ct.c void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); kva 33 drivers/scsi/bfa/bfa_hw_ct.c bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); kva 34 drivers/scsi/bfa/bfa_hw_ct.c bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); kva 36 drivers/scsi/bfa/bfa_hw_ct.c bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); kva 37 drivers/scsi/bfa/bfa_hw_ct.c bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); kva 45 drivers/scsi/bfa/bfa_hw_ct.c void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); kva 47 drivers/scsi/bfa/bfa_hw_ct.c bfa_regs->intr_status = (kva + CT2_HOSTFN_INT_STATUS); kva 48 drivers/scsi/bfa/bfa_hw_ct.c bfa_regs->intr_mask = (kva + CT2_HOSTFN_INTR_MASK); kva 2489 drivers/scsi/bfa/bfa_ioc.c ioc->attr_dma.kva = dm_kva; kva 3296 drivers/scsi/bfa/bfa_ioc.c memcpy(ablk->cfg, ablk->dma_addr.kva, kva 3371 drivers/scsi/bfa/bfa_ioc.c ablk->dma_addr.kva = dma_kva; kva 86 drivers/scsi/bfa/bfa_ioc.h u8 *kva; /* kernel virtual address */ kva 96 drivers/scsi/bfa/bfa_ioc.h u8 *kva; /* kernel virtual address */ kva 162 drivers/scsi/bfa/bfa_ioc.h void *kva; /* ! Kernel virtual address */ kva 91 drivers/scsi/bfa/bfa_port.c memcpy(port->stats, port->stats_dma.kva, kva 205 drivers/scsi/bfa/bfa_port.c port->stats_dma.kva = dma_kva; kva 524 drivers/scsi/bfa/bfa_port.c memcpy(cee->attr, cee->attr_dma.kva, kva 557 drivers/scsi/bfa/bfa_port.c memcpy(cee->stats, cee->stats_dma.kva, kva 622 drivers/scsi/bfa/bfa_port.c cee->attr_dma.kva = dma_kva; kva 624 drivers/scsi/bfa/bfa_port.c cee->stats_dma.kva = dma_kva + BFA_ROUNDUP( kva 536 drivers/scsi/bfa/bfad.c vfree(kva_elem->kva); kva 543 drivers/scsi/bfa/bfad.c dma_elem->mem_len, dma_elem->kva, kva 605 drivers/scsi/bfa/bfad.c kva_elem->kva = vzalloc(kva_elem->mem_len); kva 606 drivers/scsi/bfa/bfad.c if (kva_elem->kva == NULL) { kva 616 drivers/scsi/bfa/bfad.c dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, kva 619 drivers/scsi/bfa/bfad.c if (dma_elem->kva == NULL) { kva 625 drivers/scsi/bfa/bfad.c memset(dma_elem->kva, 0, dma_elem->mem_len);