kmap 33 arch/arc/include/asm/highmem.h extern void *kmap(struct page *page); kmap 60 arch/arc/mm/highmem.c EXPORT_SYMBOL(kmap); kmap 66 arch/arm/include/asm/highmem.h extern void *kmap(struct page *page); kmap 41 arch/arm/mm/highmem.c EXPORT_SYMBOL(kmap); kmap 56 arch/arm/mm/highmem.c void *kmap; kmap 70 arch/arm/mm/highmem.c kmap = NULL; kmap 73 arch/arm/mm/highmem.c kmap = kmap_high_get(page); kmap 74 arch/arm/mm/highmem.c if (kmap) kmap 75 arch/arm/mm/highmem.c return kmap; kmap 36 arch/csky/include/asm/highmem.h extern void *kmap(struct page *page); kmap 28 arch/csky/mm/highmem.c EXPORT_SYMBOL(kmap); kmap 62 arch/m68k/include/asm/mcf_pgalloc.h pte = kmap(page); kmap 44 arch/m68k/include/asm/motorola_pgalloc.h pte = kmap(page); kmap 55 arch/m68k/include/asm/motorola_pgalloc.h cache_page(kmap(page)); kmap 64 arch/m68k/include/asm/motorola_pgalloc.h cache_page(kmap(page)); kmap 52 arch/mips/include/asm/highmem.h extern void *kmap(struct page *page); kmap 27 arch/mips/mm/highmem.c EXPORT_SYMBOL(kmap); kmap 57 arch/nds32/include/asm/highmem.h extern void *kmap(struct page *page); kmap 23 arch/nds32/mm/highmem.c EXPORT_SYMBOL(kmap); kmap 580 arch/powerpc/mm/mem.c maddr = (unsigned long) kmap(page) + (addr & ~PAGE_MASK); kmap 64 arch/x86/include/asm/highmem.h void *kmap(struct page *page); kmap 14 arch/x86/mm/highmem_32.c EXPORT_SYMBOL(kmap); kmap 48 crypto/ahash.c walk->data = kmap(walk->pg); kmap 289 drivers/acpi/osl.c return (void __iomem __force *)kmap(pfn_to_page(pfn)); kmap 1121 drivers/android/binder_alloc.c kptr = kmap(page) + pgoff; kmap 322 drivers/base/firmware_loader/fallback.c page_data = kmap(fw_priv->pages[page_nr]); kmap 407 drivers/base/firmware_loader/main.c xz_buf.out = kmap(page); kmap 1534 drivers/block/drbd/drbd_main.c addr = kmap(page) + offset; kmap 1953 drivers/block/drbd/drbd_receiver.c data = kmap(page); kmap 1994 drivers/block/drbd/drbd_receiver.c data = kmap(page); kmap 2035 drivers/block/drbd/drbd_receiver.c void *mapped = kmap(bvec.bv_page) + bvec.bv_offset; kmap 308 drivers/char/tpm/tpm.h buf->data = kmap(buf->data_page); kmap 149 drivers/crypto/chelsio/chtls/chtls.h struct key_map kmap; kmap 125 drivers/crypto/chelsio/chtls/chtls_hw.c cdev->kmap.size = num_key_ctx; kmap 126 drivers/crypto/chelsio/chtls/chtls_hw.c cdev->kmap.available = bsize; kmap 127 drivers/crypto/chelsio/chtls/chtls_hw.c ksize = sizeof(*cdev->kmap.addr) * bsize; kmap 128 drivers/crypto/chelsio/chtls/chtls_hw.c cdev->kmap.addr = kvzalloc(ksize, GFP_KERNEL); kmap 129 drivers/crypto/chelsio/chtls/chtls_hw.c if (!cdev->kmap.addr) kmap 132 drivers/crypto/chelsio/chtls/chtls_hw.c cdev->kmap.start = lldi->vr->key.start; kmap 133 drivers/crypto/chelsio/chtls/chtls_hw.c spin_lock_init(&cdev->kmap.lock); kmap 148 drivers/crypto/chelsio/chtls/chtls_hw.c spin_lock_bh(&cdev->kmap.lock); kmap 149 drivers/crypto/chelsio/chtls/chtls_hw.c keyid = find_first_zero_bit(cdev->kmap.addr, cdev->kmap.size); kmap 150 drivers/crypto/chelsio/chtls/chtls_hw.c if (keyid < cdev->kmap.size) { kmap 151 drivers/crypto/chelsio/chtls/chtls_hw.c __set_bit(keyid, cdev->kmap.addr); kmap 160 drivers/crypto/chelsio/chtls/chtls_hw.c spin_unlock_bh(&cdev->kmap.lock); kmap 172 drivers/crypto/chelsio/chtls/chtls_hw.c if (!cdev->kmap.addr) kmap 178 drivers/crypto/chelsio/chtls/chtls_hw.c spin_lock_bh(&cdev->kmap.lock); kmap 180 drivers/crypto/chelsio/chtls/chtls_hw.c __clear_bit(hws->rxkey, cdev->kmap.addr); kmap 185 drivers/crypto/chelsio/chtls/chtls_hw.c __clear_bit(hws->txkey, cdev->kmap.addr); kmap 189 drivers/crypto/chelsio/chtls/chtls_hw.c spin_unlock_bh(&cdev->kmap.lock); kmap 328 drivers/crypto/chelsio/chtls/chtls_hw.c kaddr = keyid_to_addr(cdev->kmap.start, keyid); kmap 291 drivers/crypto/chelsio/chtls/chtls_io.c kaddr = keyid_to_addr(cdev->kmap.start, hws->txkey); kmap 165 drivers/crypto/chelsio/chtls/chtls_main.c kvfree(cdev->kmap.addr); kmap 101 drivers/dma-buf/udmabuf.c return kmap(page); kmap 1156 drivers/firewire/net.c ptr = kmap(dev->broadcast_rcv_buffer.pages[u]); kmap 199 drivers/firmware/efi/capsule-loader.c kbuff = kmap(page); kmap 247 drivers/firmware/efi/capsule.c sglist = kmap(sg_pages[i]); kmap 786 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c r = ttm_bo_kmap(&bo->tbo, 0, bo->tbo.num_pages, &bo->kmap); kmap 809 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c return ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); kmap 820 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (bo->kmap.bo) kmap 821 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c ttm_bo_kunmap(&bo->kmap); kmap 86 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h struct ttm_bo_kmap_obj kmap; kmap 2275 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ptr = kmap(page); kmap 2345 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ptr = kmap(p); kmap 2396 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ptr = kmap(p); kmap 153 drivers/gpu/drm/cirrus/cirrus_drv.h struct ttm_bo_kmap_obj kmap; kmap 307 drivers/gpu/drm/drm_gem_vram_helper.c struct ttm_bo_kmap_obj *kmap = &gbo->kmap; kmap 309 drivers/gpu/drm/drm_gem_vram_helper.c if (kmap->virtual || !map) kmap 312 drivers/gpu/drm/drm_gem_vram_helper.c ret = ttm_bo_kmap(&gbo->bo, 0, gbo->bo.num_pages, kmap); kmap 318 drivers/gpu/drm/drm_gem_vram_helper.c return kmap->virtual; kmap 319 drivers/gpu/drm/drm_gem_vram_helper.c if (!kmap->virtual) { kmap 323 drivers/gpu/drm/drm_gem_vram_helper.c return ttm_kmap_obj_virtual(kmap, is_iomem); kmap 333 drivers/gpu/drm/drm_gem_vram_helper.c struct ttm_bo_kmap_obj *kmap = &gbo->kmap; kmap 335 drivers/gpu/drm/drm_gem_vram_helper.c if (!kmap->virtual) kmap 338 drivers/gpu/drm/drm_gem_vram_helper.c ttm_bo_kunmap(kmap); kmap 339 drivers/gpu/drm/drm_gem_vram_helper.c kmap->virtual = NULL; kmap 401 drivers/gpu/drm/gma500/gma_display.c tmp_src = kmap(gt->pages[i]); kmap 195 drivers/gpu/drm/gma500/mmu.c v = kmap(pd->dummy_pt); kmap 201 drivers/gpu/drm/gma500/mmu.c v = kmap(pd->p); kmap 207 drivers/gpu/drm/gma500/mmu.c clear_page(kmap(pd->dummy_page)); kmap 115 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c return kmap(page); kmap 242 drivers/gpu/drm/i915/gem/i915_gem_pages.c return kmap(sg_page(sgt->sgl)); kmap 559 drivers/gpu/drm/i915/gem/i915_gem_shmem.c vaddr = kmap(page); kmap 150 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c cpu = kmap(p) + offset_in_page(offset); kmap 83 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c return kmap(mock->pages[page_num]); kmap 72 drivers/gpu/drm/i915/gvt/scheduler.c shadow_ring_context = kmap(page); kmap 140 drivers/gpu/drm/i915/gvt/scheduler.c shadow_ring_context = kmap(page); kmap 198 drivers/gpu/drm/i915/gvt/scheduler.c dst = kmap(page); kmap 852 drivers/gpu/drm/i915/gvt/scheduler.c src = kmap(page); kmap 863 drivers/gpu/drm/i915/gvt/scheduler.c shadow_ring_context = kmap(page); kmap 250 drivers/gpu/drm/i915/i915_gem.c vaddr = kmap(page); kmap 665 drivers/gpu/drm/i915/i915_gem.c vaddr = kmap(page); kmap 735 drivers/gpu/drm/i915/i915_gem_fence_reg.c vaddr = kmap(page); kmap 523 drivers/gpu/drm/nouveau/nouveau_bo.c ret = ttm_bo_kmap(&nvbo->bo, 0, nvbo->bo.mem.num_pages, &nvbo->kmap); kmap 535 drivers/gpu/drm/nouveau/nouveau_bo.c ttm_bo_kunmap(&nvbo->kmap); kmap 597 drivers/gpu/drm/nouveau/nouveau_bo.c u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); kmap 611 drivers/gpu/drm/nouveau/nouveau_bo.c u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); kmap 625 drivers/gpu/drm/nouveau/nouveau_bo.c u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); kmap 18 drivers/gpu/drm/nouveau/nouveau_bo.h struct ttm_bo_kmap_obj kmap; kmap 102 drivers/gpu/drm/nouveau/nouveau_bo.h &nvbo->kmap, &is_iomem); kmap 37 drivers/gpu/drm/nouveau/nouveau_dma.c u32 *mem = ttm_kmap_obj_virtual(&chan->push.buffer->kmap, &is_iomem); kmap 354 drivers/gpu/drm/nouveau/nouveau_gem.c ttm_bo_kunmap(&nvbo->kmap); kmap 648 drivers/gpu/drm/nouveau/nouveau_gem.c if (!nvbo->kmap.virtual) { kmap 650 drivers/gpu/drm/nouveau/nouveau_gem.c &nvbo->kmap); kmap 819 drivers/gpu/drm/nouveau/nouveau_gem.c if (!nvbo->kmap.virtual) { kmap 823 drivers/gpu/drm/nouveau/nouveau_gem.c &nvbo->kmap); kmap 95 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c return kmap(pages[page_num]); kmap 81 drivers/gpu/drm/qxl/qxl_drv.h struct ttm_bo_kmap_obj kmap; kmap 138 drivers/gpu/drm/qxl/qxl_object.c r = ttm_bo_kmap(&bo->tbo, 0, bo->tbo.num_pages, &bo->kmap); kmap 141 drivers/gpu/drm/qxl/qxl_object.c bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); kmap 190 drivers/gpu/drm/qxl/qxl_object.c ttm_bo_kunmap(&bo->kmap); kmap 494 drivers/gpu/drm/radeon/radeon.h struct ttm_bo_kmap_obj kmap; kmap 287 drivers/gpu/drm/radeon/radeon_object.c r = ttm_bo_kmap(&bo->tbo, 0, bo->tbo.num_pages, &bo->kmap); kmap 291 drivers/gpu/drm/radeon/radeon_object.c bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); kmap 305 drivers/gpu/drm/radeon/radeon_object.c ttm_bo_kunmap(&bo->kmap); kmap 1032 drivers/gpu/drm/radeon/radeon_ttm.c ptr = kmap(page); kmap 110 drivers/gpu/drm/tegra/gem.c .kmap = tegra_bo_kmap, kmap 605 drivers/gpu/drm/ttm/ttm_bo_util.c map->virtual = kmap(map->page); kmap 81 drivers/gpu/drm/virtio/virtgpu_drv.h struct ttm_bo_kmap_obj kmap; kmap 186 drivers/gpu/drm/virtio/virtgpu_object.c ttm_bo_kunmap(&bo->kmap); kmap 196 drivers/gpu/drm/virtio/virtgpu_object.c r = ttm_bo_kmap(&bo->tbo, 0, bo->tbo.num_pages, &bo->kmap); kmap 199 drivers/gpu/drm/virtio/virtgpu_object.c bo->vmap = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); kmap 3134 drivers/infiniband/hw/hfi1/sdma.c kvaddr = kmap(page); kmap 3724 drivers/infiniband/hw/i40iw/i40iw_cm.c iwqp->sc_qp.qp_uk.sq_base = kmap(iwqp->page); kmap 3732 drivers/infiniband/hw/i40iw/i40iw_cm.c iwqp->sc_qp.qp_uk.sq_base = kmap(iwqp->page); kmap 4105 drivers/infiniband/hw/i40iw/i40iw_cm.c iwqp->sc_qp.qp_uk.sq_base = kmap(iwqp->page); kmap 575 drivers/infiniband/hw/qib/qib_user_sdma.c mpage = kmap(page); kmap 79 drivers/infiniband/sw/siw/siw_qp_tx.c buffer = kmap(p); kmap 99 drivers/infiniband/sw/siw/siw_qp_tx.c buffer = kmap(p); kmap 508 drivers/infiniband/sw/siw/siw_qp_tx.c iov[seg].iov_base = kmap(p) + fp_off; kmap 521 drivers/infiniband/sw/siw/siw_qp_tx.c kmap(p) + fp_off, kmap 47 drivers/md/bcache/request.c void *d = kmap(bv.bv_page) + bv.bv_offset; kmap 246 drivers/misc/vmw_vmci/vmci_host.c context->notify = kmap(context->notify_page) + (uva & (PAGE_SIZE - 1)); kmap 346 drivers/misc/vmw_vmci/vmci_queue_pair.c va = kmap(kernel_if->u.h.page[page_index]); kmap 394 drivers/misc/vmw_vmci/vmci_queue_pair.c va = kmap(kernel_if->u.h.page[page_index]); kmap 633 drivers/misc/xilinx_sdfec.c addr = kmap(page[i]); kmap 923 drivers/mmc/host/mmc_spi.c kmap_addr = kmap(sg_page(sg)); kmap 309 drivers/mmc/host/sdricoh_cs.c buf = kmap(page) + data->sg->offset + (len * i); kmap 326 drivers/mmc/host/usdhi6rol0.c host->pg.mapped = kmap(host->pg.page); kmap 368 drivers/mmc/host/usdhi6rol0.c host->pg.mapped = kmap(host->pg.page); kmap 506 drivers/mmc/host/usdhi6rol0.c host->pg.mapped = kmap(host->pg.page); kmap 91 drivers/mtd/mtd_blkdevs.c buf = kmap(bio_page(req->bio)) + bio_offset(req->bio); kmap 106 drivers/mtd/mtd_blkdevs.c buf = kmap(bio_page(req->bio)) + bio_offset(req->bio); kmap 1789 drivers/net/ethernet/intel/igb/igb_ethtool.c data = kmap(rx_buffer->page); kmap 1874 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c data = kmap(rx_buffer->page) + rx_buffer->page_offset; kmap 297 drivers/nvme/target/tcp.c iov->iov_base = kmap(sg_page(sg)) + sg->offset + sg_offset; kmap 208 drivers/s390/block/xpram.c kmap(bvec.bv_page) + bvec.bv_offset; kmap 3916 drivers/scsi/ipr.c kaddr = kmap(page); kmap 3931 drivers/scsi/ipr.c kaddr = kmap(page); kmap 140 drivers/scsi/libiscsi_tcp.c segment->sg_mapped = kmap(sg_page(sg)); kmap 3272 drivers/scsi/pmcraid.c kaddr = kmap(page); kmap 3291 drivers/scsi/pmcraid.c kaddr = kmap(page); kmap 95 drivers/staging/rts5208/rtsx_transport.c unsigned char *ptr = kmap(page); kmap 578 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c memcpy((char *)kmap(pages[0]) + kmap 586 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c memcpy((char *)kmap(pages[num_pages - 1]) + kmap 917 drivers/target/iscsi/iscsi_target.c iov[i].iov_base = kmap(sg_page(sg)) + sg->offset + page_off; kmap 418 drivers/target/target_core_iblock.c buf = kmap(sg_page(sg)) + sg->offset; kmap 162 drivers/target/target_core_rd.c p = kmap(pg); kmap 1648 drivers/target/target_core_transport.c buf = kmap(sg_page(sgl)) + sgl->offset; kmap 2480 drivers/target/target_core_transport.c return kmap(sg_page(sg)) + sg->offset; kmap 187 drivers/xen/gntalloc.c uint8_t *tmp = kmap(gref->page); kmap 132 fs/afs/dir.c dbuf = kmap(page); kmap 182 fs/afs/dir.c dbuf = kmap(req->pages[i]); kmap 486 fs/afs/dir.c dbuf = kmap(page); kmap 221 fs/afs/dir_edit.c meta_page = kmap(page0); kmap 250 fs/afs/dir_edit.c dir_page = kmap(page); kmap 401 fs/afs/dir_edit.c meta_page = kmap(page0); kmap 413 fs/afs/dir_edit.c dir_page = kmap(page); kmap 142 fs/afs/mntpt.c buf = kmap(page); kmap 41 fs/afs/write.c data = kmap(page); kmap 1227 fs/aio.c ev = kmap(page); kmap 2351 fs/binfmt_elf.c void *kaddr = kmap(page); kmap 1511 fs/binfmt_elf_fdpic.c void *kaddr = kmap(page); kmap 1654 fs/btrfs/check-integrity.c block_ctx->datav[i] = kmap(block_ctx->pagev[i]); kmap 2830 fs/btrfs/check-integrity.c mapped_datav[i] = kmap(bvec.bv_page); kmap 1485 fs/btrfs/compression.c in_data = kmap(page); kmap 5125 fs/btrfs/inode.c kaddr = kmap(page); kmap 7001 fs/btrfs/inode.c char *map = kmap(page); kmap 7200 fs/btrfs/inode.c map = kmap(page); kmap 9163 fs/btrfs/inode.c kaddr = kmap(page); kmap 167 fs/btrfs/lzo.c data_in = kmap(in_page); kmap 178 fs/btrfs/lzo.c cpage_out = kmap(out_page); kmap 248 fs/btrfs/lzo.c cpage_out = kmap(out_page); kmap 275 fs/btrfs/lzo.c data_in = kmap(in_page); kmap 285 fs/btrfs/lzo.c cpage_out = kmap(pages[0]); kmap 332 fs/btrfs/lzo.c data_in = kmap(pages_in[0]); kmap 414 fs/btrfs/lzo.c data_in = kmap(pages_in[++page_in_index]); kmap 267 fs/btrfs/raid56.c s = kmap(rbio->bio_pages[i]); kmap 268 fs/btrfs/raid56.c d = kmap(rbio->stripe_pages[i]); kmap 1252 fs/btrfs/raid56.c pointers[stripe] = kmap(p); kmap 1258 fs/btrfs/raid56.c pointers[stripe++] = kmap(p); kmap 1268 fs/btrfs/raid56.c pointers[stripe++] = kmap(p); kmap 1861 fs/btrfs/raid56.c pointers[stripe] = kmap(page); kmap 2415 fs/btrfs/raid56.c pointers[stripe] = kmap(p); kmap 2419 fs/btrfs/raid56.c pointers[stripe++] = kmap(p_page); kmap 2427 fs/btrfs/raid56.c pointers[stripe++] = kmap(q_page); kmap 2439 fs/btrfs/raid56.c parity = kmap(p); kmap 4857 fs/btrfs/send.c addr = kmap(page); kmap 1466 fs/btrfs/volumes.c p = kmap(*page); kmap 125 fs/btrfs/zlib.c data_in = kmap(in_page); kmap 132 fs/btrfs/zlib.c cpage_out = kmap(out_page); kmap 174 fs/btrfs/zlib.c cpage_out = kmap(out_page); kmap 196 fs/btrfs/zlib.c data_in = kmap(in_page); kmap 246 fs/btrfs/zlib.c data_in = kmap(pages_in[page_in_index]); kmap 302 fs/btrfs/zlib.c data_in = kmap(pages_in[page_in_index]); kmap 407 fs/btrfs/zstd.c workspace->in_buf.src = kmap(in_page); kmap 419 fs/btrfs/zstd.c workspace->out_buf.dst = kmap(out_page); kmap 466 fs/btrfs/zstd.c workspace->out_buf.dst = kmap(out_page); kmap 487 fs/btrfs/zstd.c workspace->in_buf.src = kmap(in_page); kmap 526 fs/btrfs/zstd.c workspace->out_buf.dst = kmap(out_page); kmap 573 fs/btrfs/zstd.c workspace->in_buf.src = kmap(pages_in[page_in_index]); kmap 616 fs/btrfs/zstd.c workspace->in_buf.src = kmap(pages_in[page_in_index]); kmap 938 fs/cachefiles/rdwr.c data = kmap(page); kmap 146 fs/ceph/dir.c cache_ctl->dentries = kmap(cache_ctl->page); kmap 1540 fs/ceph/inode.c ctl->dentries = kmap(ctl->page); kmap 85 fs/cifs/cifsencrypt.c kaddr = (char *) kmap(rqst->rq_pages[i]) + offset; kmap 2110 fs/cifs/file.c write_data = kmap(page); kmap 2523 fs/cifs/file.c page_data = kmap(page); kmap 4450 fs/cifs/file.c read_data = kmap(page); kmap 3825 fs/cifs/smb2ops.c dst = (char *) kmap(new_rq[i].rq_pages[j]) + offset; kmap 3826 fs/cifs/smb2ops.c src = (char *) kmap(old_rq[i - 1].rq_pages[j]) + offset; kmap 250 fs/cramfs/inode.c memcpy(data, kmap(page), PAGE_SIZE); kmap 829 fs/cramfs/inode.c pgdata = kmap(page); kmap 487 fs/ecryptfs/crypto.c enc_extent_virt = kmap(enc_extent_page); kmap 536 fs/ecryptfs/crypto.c page_virt = kmap(page); kmap 67 fs/ecryptfs/read_write.c virt = kmap(page_for_lower); kmap 254 fs/ecryptfs/read_write.c virt = kmap(page_for_ecryptfs); kmap 95 fs/erofs/dir.c de = (struct erofs_dirent *)kmap(dentry_page); kmap 99 fs/erofs/xattr.c it.kaddr = kmap(it.page); kmap 81 fs/erofs/zpvec.h kmap_atomic(ctor->curr) : kmap(ctor->curr); kmap 572 fs/exec.c kaddr = kmap(kmapped_page); kmap 821 fs/exec.c char *src = kmap(bprm->page[index]) + offset; kmap 205 fs/ext2/dir.c kmap(page); kmap 2168 fs/f2fs/f2fs.h char *src_kaddr = kmap(src); kmap 2169 fs/f2fs/f2fs.h char *dst_kaddr = kmap(dst); kmap 72 fs/freevxfs/vxfs_immed.c kaddr = kmap(pp); kmap 75 fs/freevxfs/vxfs_subr.c kmap(pp); kmap 539 fs/fuse/readdir.c addr = kmap(page); kmap 70 fs/gfs2/bmap.c void *kaddr = kmap(page); kmap 266 fs/gfs2/ops_fstype.c p = kmap(page); kmap 26 fs/hfs/bnode.c memcpy(buf, kmap(page) + off, len); kmap 68 fs/hfs/bnode.c memcpy(kmap(page) + off, buf, len); kmap 93 fs/hfs/bnode.c memset(kmap(page) + off, 0, len); kmap 111 fs/hfs/bnode.c memcpy(kmap(dst_page) + dst, kmap(src_page) + src, len); kmap 128 fs/hfs/bnode.c ptr = kmap(page); kmap 338 fs/hfs/bnode.c desc = (struct hfs_bnode_desc *)(kmap(node->page[0]) + node->page_offset); kmap 428 fs/hfs/bnode.c memset(kmap(*pagep) + node->page_offset, 0, kmap 433 fs/hfs/bnode.c memset(kmap(*++pagep), 0, PAGE_SIZE); kmap 83 fs/hfs/btree.c head = (struct hfs_btree_header_rec *)(kmap(page) + sizeof(struct hfs_bnode_desc)); kmap 172 fs/hfs/btree.c head = (struct hfs_btree_header_rec *)(kmap(page) + sizeof(struct hfs_bnode_desc)); kmap 271 fs/hfs/btree.c data = kmap(*pagep); kmap 294 fs/hfs/btree.c data = kmap(*++pagep); kmap 316 fs/hfs/btree.c data = kmap(*pagep); kmap 363 fs/hfs/btree.c data = kmap(page); kmap 42 fs/hfsplus/bitmap.c pptr = kmap(page); kmap 87 fs/hfsplus/bitmap.c curr = pptr = kmap(page); kmap 138 fs/hfsplus/bitmap.c pptr = kmap(page); kmap 188 fs/hfsplus/bitmap.c pptr = kmap(page); kmap 222 fs/hfsplus/bitmap.c pptr = kmap(page); kmap 32 fs/hfsplus/bnode.c memcpy(buf, kmap(*pagep) + off, l); kmap 38 fs/hfsplus/bnode.c memcpy(buf, kmap(*++pagep), l); kmap 85 fs/hfsplus/bnode.c memcpy(kmap(*pagep) + off, buf, l); kmap 92 fs/hfsplus/bnode.c memcpy(kmap(*++pagep), buf, l); kmap 115 fs/hfsplus/bnode.c memset(kmap(*pagep) + off, 0, l); kmap 121 fs/hfsplus/bnode.c memset(kmap(*++pagep), 0, l); kmap 145 fs/hfsplus/bnode.c memcpy(kmap(*dst_page) + src, kmap(*src_page) + src, l); kmap 152 fs/hfsplus/bnode.c memcpy(kmap(*++dst_page), kmap(*++src_page), l); kmap 161 fs/hfsplus/bnode.c src_ptr = kmap(*src_page) + src; kmap 162 fs/hfsplus/bnode.c dst_ptr = kmap(*dst_page) + dst; kmap 205 fs/hfsplus/bnode.c memmove(kmap(*dst_page), kmap(*src_page), src); kmap 215 fs/hfsplus/bnode.c memmove(kmap(*dst_page) + src, kmap 216 fs/hfsplus/bnode.c kmap(*src_page) + src, len); kmap 224 fs/hfsplus/bnode.c src_ptr = kmap(*src_page) + src; kmap 225 fs/hfsplus/bnode.c dst_ptr = kmap(*dst_page) + dst; kmap 254 fs/hfsplus/bnode.c memmove(kmap(*dst_page) + src, kmap 255 fs/hfsplus/bnode.c kmap(*src_page) + src, l); kmap 262 fs/hfsplus/bnode.c memmove(kmap(*++dst_page), kmap 263 fs/hfsplus/bnode.c kmap(*++src_page), l); kmap 272 fs/hfsplus/bnode.c src_ptr = kmap(*src_page) + src; kmap 273 fs/hfsplus/bnode.c dst_ptr = kmap(*dst_page) + dst; kmap 505 fs/hfsplus/bnode.c desc = (struct hfs_bnode_desc *)(kmap(node->page[0]) + kmap 596 fs/hfsplus/bnode.c memset(kmap(*pagep) + node->page_offset, 0, kmap 601 fs/hfsplus/bnode.c memset(kmap(*++pagep), 0, PAGE_SIZE); kmap 166 fs/hfsplus/btree.c head = (struct hfs_btree_header_rec *)(kmap(page) + kmap 294 fs/hfsplus/btree.c head = (struct hfs_btree_header_rec *)(kmap(page) + kmap 397 fs/hfsplus/btree.c data = kmap(*pagep); kmap 421 fs/hfsplus/btree.c data = kmap(*++pagep); kmap 443 fs/hfsplus/btree.c data = kmap(*pagep); kmap 493 fs/hfsplus/btree.c data = kmap(page); kmap 414 fs/hostfs/hostfs_kern.c buffer = kmap(page); kmap 442 fs/hostfs/hostfs_kern.c buffer = kmap(page); kmap 485 fs/hostfs/hostfs_kern.c buffer = kmap(page); kmap 1362 fs/io_uring.c iovec.iov_base = kmap(iter->bvec->bv_page) kmap 347 fs/isofs/compress.c kmap(pages[i]); kmap 91 fs/jffs2/file.c pg_buf = kmap(pg); kmap 290 fs/jffs2/file.c kmap(pg); kmap 1338 fs/jffs2/gc.c pg_ptr = kmap(page); kmap 102 fs/jfs/jfs_metapage.c kmap(page); kmap 156 fs/jfs/jfs_metapage.c kmap(page); kmap 72 fs/minix/dir.c kmap(page); kmap 216 fs/nfs/dir.c struct nfs_cache_array *array = kmap(page); kmap 327 fs/nfs/dir.c array = kmap(desc->page); kmap 575 fs/nfs/dir.c array = kmap(page); kmap 642 fs/nfs/dir.c array = kmap(page); kmap 771 fs/nfs/dir.c array = kmap(desc->page); kmap 527 fs/nilfs2/alloc.c desc_kaddr = kmap(desc_bh->b_page); kmap 539 fs/nilfs2/alloc.c bitmap_kaddr = kmap(bitmap_bh->b_page); kmap 608 fs/nilfs2/alloc.c desc_kaddr = kmap(req->pr_desc_bh->b_page); kmap 611 fs/nilfs2/alloc.c bitmap_kaddr = kmap(req->pr_bitmap_bh->b_page); kmap 649 fs/nilfs2/alloc.c desc_kaddr = kmap(req->pr_desc_bh->b_page); kmap 652 fs/nilfs2/alloc.c bitmap_kaddr = kmap(req->pr_bitmap_bh->b_page); kmap 757 fs/nilfs2/alloc.c bitmap_kaddr = kmap(bitmap_bh->b_page); kmap 238 fs/nilfs2/cpfile.c kaddr = kmap(cp_bh->b_page); kmap 195 fs/nilfs2/dir.c kmap(page); kmap 24 fs/nilfs2/ifile.h void *kaddr = kmap(ibh->b_page); kmap 1105 fs/ntfs/aops.c kaddr = kmap(page); kmap 78 fs/ntfs/aops.h kmap(page); kmap 574 fs/ntfs/compress.c kmap(page); kmap 32 fs/qnx6/dir.c kmap(page); kmap 58 fs/qnx6/dir.c kmap(*p = page); kmap 191 fs/qnx6/inode.c kmap(page); kmap 558 fs/qnx6/inode.c kmap(page); kmap 400 fs/reiserfs/inode.c p = (char *)kmap(bh_result->b_page); kmap 2399 fs/reiserfs/inode.c kmap(bh_result->b_page); kmap 4200 fs/reiserfs/journal.c addr = kmap(page); kmap 245 fs/reiserfs/tail_conversion.c tail = (char *)kmap(page); /* this can schedule */ kmap 444 fs/reiserfs/xattr.c kmap(page); kmap 110 fs/romfs/super.c buf = kmap(page); kmap 793 fs/splice.c data = kmap(buf->page); kmap 60 fs/sysv/dir.c kmap(page); kmap 262 fs/sysv/dir.c kmap(page); kmap 114 fs/ubifs/file.c addr = kmap(page); kmap 619 fs/ubifs/file.c addr = zaddr = kmap(page); kmap 921 fs/ubifs/file.c addr = kmap(page); kmap 194 fs/ufs/dir.c kmap(page); kmap 562 fs/ufs/dir.c kmap(page); kmap 40 include/drm/drm_gem_vram_helper.h struct ttm_bo_kmap_obj kmap; kmap 71 include/linux/host1x.h void *(*kmap)(struct host1x_bo *bo, unsigned int pagenum); kmap 118 include/linux/host1x.h return bo->ops->kmap(bo, pagenum); kmap 812 kernel/kexec_core.c ptr = kmap(page); kmap 876 kernel/kexec_core.c ptr = kmap(page); kmap 209 lib/iov_iter.c kaddr = kmap(page); kmap 293 lib/iov_iter.c kaddr = kmap(page); kmap 1708 lib/iov_iter.c w.iov_base = kmap(v.bv_page) + v.bv_offset; kmap 780 lib/scatterlist.c miter->addr = kmap(miter->page) + miter->__offset; kmap 6529 lib/test_bpf.c ptr = kmap(page); kmap 4355 mm/memory.c maddr = kmap(page); kmap 4626 mm/memory.c page_kaddr = kmap(dst_page + i); kmap 3171 mm/swapfile.c swap_header = kmap(page); kmap 566 mm/userfaultfd.c page_kaddr = kmap(page); kmap 1545 net/ceph/messenger.c kaddr = kmap(page); kmap 70 net/ceph/pagelist.c pl->mapped_tail = kmap(page); kmap 167 net/ceph/pagelist.c pl->mapped_tail = kmap(page); kmap 448 net/core/datagram.c u8 *vaddr = kmap(page); kmap 2742 net/core/sock.c char *kaddr = kmap(page); kmap 2757 net/core/sock.c char *kaddr = kmap(page); kmap 947 net/ipv4/ip_output.c kaddr = kmap(page); kmap 924 net/sunrpc/cache.c kaddr = kmap(page); kmap 1407 net/sunrpc/xdr.c c = kmap(*ppages) + base; kmap 1485 net/sunrpc/xdr.c c = kmap(*ppages); kmap 552 net/tls/tls_device.c char *kaddr = kmap(page); kmap 482 samples/vfio-mdev/mbochs.c map = kmap(pg); kmap 899 samples/vfio-mdev/mbochs.c return kmap(page); kmap 33 tools/perf/arch/x86/util/event.c struct kmap *kmap; kmap 39 tools/perf/arch/x86/util/event.c kmap = map__kmap(pos); kmap 42 tools/perf/arch/x86/util/event.c PERF_ALIGN(strlen(kmap->name) + 1, sizeof(u64)) + kmap 65 tools/perf/arch/x86/util/event.c strlcpy(event->mmap.filename, kmap->name, PATH_MAX); kmap 527 tools/perf/builtin-report.c struct kmap *kernel_kmap = kernel_map ? map__kmap(kernel_map) : NULL; kmap 964 tools/perf/util/machine.c struct kmap *kmap; kmap 974 tools/perf/util/machine.c kmap = map__kmap(map); kmap 976 tools/perf/util/machine.c kmap->kmaps = &machine->kmaps; kmap 977 tools/perf/util/machine.c strlcpy(kmap->name, xm->name, KMAP_NAME_LEN); kmap 982 tools/perf/util/machine.c kmap->name, map->start, map->end); kmap 1036 tools/perf/util/machine.c struct kmap *kmap = __map__kmap(map); kmap 1039 tools/perf/util/machine.c if (!kmap || !is_entry_trampoline(kmap->name)) kmap 1087 tools/perf/util/machine.c struct kmap *kmap; kmap 1099 tools/perf/util/machine.c kmap = map__kmap(map); kmap 1100 tools/perf/util/machine.c if (!kmap) kmap 1103 tools/perf/util/machine.c kmap->kmaps = &machine->kmaps; kmap 1111 tools/perf/util/machine.c struct kmap *kmap; kmap 1117 tools/perf/util/machine.c kmap = map__kmap(map); kmap 1119 tools/perf/util/machine.c if (kmap && kmap->ref_reloc_sym) { kmap 1120 tools/perf/util/machine.c zfree((char **)&kmap->ref_reloc_sym->name); kmap 1121 tools/perf/util/machine.c zfree(&kmap->ref_reloc_sym); kmap 236 tools/perf/util/map.c (dso->kernel ? sizeof(struct kmap) : 0))); kmap 263 tools/perf/util/map.c struct kmap *kmap = __map__kmap((struct map *)map); kmap 265 tools/perf/util/map.c return kmap && kmap->name[0]; kmap 515 tools/perf/util/map.c struct kmap *kmap = __map__kmap(map); kmap 522 tools/perf/util/map.c if (kmap && is_entry_trampoline(kmap->name) && kmap->kmaps && kmap->kmaps->machine) { kmap 523 tools/perf/util/map.c struct map *kernel_map = machine__kernel_map(kmap->kmaps->machine); kmap 1019 tools/perf/util/map.c struct kmap *__map__kmap(struct map *map) kmap 1023 tools/perf/util/map.c return (struct kmap *)(map + 1); kmap 1026 tools/perf/util/map.c struct kmap *map__kmap(struct map *map) kmap 1028 tools/perf/util/map.c struct kmap *kmap = __map__kmap(map); kmap 1030 tools/perf/util/map.c if (!kmap) kmap 1032 tools/perf/util/map.c return kmap; kmap 1037 tools/perf/util/map.c struct kmap *kmap = map__kmap(map); kmap 1039 tools/perf/util/map.c if (!kmap || !kmap->kmaps) { kmap 1043 tools/perf/util/map.c return kmap->kmaps; kmap 49 tools/perf/util/map.h struct kmap; kmap 51 tools/perf/util/map.h struct kmap *__map__kmap(struct map *map); kmap 52 tools/perf/util/map.h struct kmap *map__kmap(struct map *map); kmap 108 tools/perf/util/probe-event.c struct kmap *kmap; kmap 114 tools/perf/util/probe-event.c kmap = map__kmap(map); kmap 115 tools/perf/util/probe-event.c if (!kmap) kmap 117 tools/perf/util/probe-event.c return kmap->ref_reloc_sym; kmap 2240 tools/perf/util/session.c struct kmap *kmap; kmap 2258 tools/perf/util/session.c kmap = map__kmap(map); kmap 2259 tools/perf/util/session.c if (kmap) kmap 2260 tools/perf/util/session.c kmap->ref_reloc_sym = ref; kmap 819 tools/perf/util/symbol-elf.c static bool ref_reloc_sym_not_found(struct kmap *kmap) kmap 821 tools/perf/util/symbol-elf.c return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && kmap 822 tools/perf/util/symbol-elf.c !kmap->ref_reloc_sym->unrelocated_addr; kmap 833 tools/perf/util/symbol-elf.c static u64 ref_reloc(struct kmap *kmap) kmap 835 tools/perf/util/symbol-elf.c if (kmap && kmap->ref_reloc_sym && kmap 836 tools/perf/util/symbol-elf.c kmap->ref_reloc_sym->unrelocated_addr) kmap 837 tools/perf/util/symbol-elf.c return kmap->ref_reloc_sym->addr - kmap 838 tools/perf/util/symbol-elf.c kmap->ref_reloc_sym->unrelocated_addr; kmap 847 tools/perf/util/symbol-elf.c struct map_groups *kmaps, struct kmap *kmap, kmap 871 tools/perf/util/symbol-elf.c map->start = shdr->sh_addr + ref_reloc(kmap); kmap 900 tools/perf/util/symbol-elf.c if (!kmap) kmap 924 tools/perf/util/symbol-elf.c curr_map->start = shdr->sh_addr + ref_reloc(kmap); kmap 952 tools/perf/util/symbol-elf.c struct kmap *kmap = dso->kernel ? map__kmap(map) : NULL; kmap 953 tools/perf/util/symbol-elf.c struct map_groups *kmaps = kmap ? map__kmaps(map) : NULL; kmap 970 tools/perf/util/symbol-elf.c if (kmap && !kmaps) kmap 1037 tools/perf/util/symbol-elf.c if (ref_reloc_sym_not_found(kmap)) { kmap 1041 tools/perf/util/symbol-elf.c if (strcmp(elf_name, kmap->ref_reloc_sym->name)) kmap 1043 tools/perf/util/symbol-elf.c kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; kmap 1044 tools/perf/util/symbol-elf.c map->reloc = kmap->ref_reloc_sym->addr - kmap 1045 tools/perf/util/symbol-elf.c kmap->ref_reloc_sym->unrelocated_addr; kmap 1057 tools/perf/util/symbol-elf.c dso->adjust_symbols = runtime_ss->adjust_symbols || ref_reloc(kmap); kmap 1125 tools/perf/util/symbol-elf.c if (dso__process_kernel_symbol(dso, map, &sym, &shdr, kmaps, kmap, &curr_dso, &curr_map, kmap 1160 tools/perf/util/symbol-elf.c if (kmap) { kmap 1143 tools/perf/util/symbol.c struct kmap *kmap = map__kmap(map); kmap 1145 tools/perf/util/symbol.c if (!kmap) kmap 1148 tools/perf/util/symbol.c if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { kmap 1152 tools/perf/util/symbol.c kmap->ref_reloc_sym->name, &start)) kmap 1154 tools/perf/util/symbol.c if (start != kmap->ref_reloc_sym->addr) kmap 1415 tools/perf/util/symbol.c static int kallsyms__delta(struct kmap *kmap, const char *filename, u64 *delta) kmap 1419 tools/perf/util/symbol.c if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) kmap 1422 tools/perf/util/symbol.c if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr)) kmap 1425 tools/perf/util/symbol.c *delta = addr - kmap->ref_reloc_sym->addr; kmap 1432 tools/perf/util/symbol.c struct kmap *kmap = map__kmap(map); kmap 1438 tools/perf/util/symbol.c if (!kmap || !kmap->kmaps) kmap 1444 tools/perf/util/symbol.c if (kallsyms__delta(kmap, filename, &delta)) kmap 1456 tools/perf/util/symbol.c return map_groups__split_kallsyms_for_kcore(kmap->kmaps, dso); kmap 1458 tools/perf/util/symbol.c return map_groups__split_kallsyms(kmap->kmaps, dso, delta, map); kmap 819 tools/perf/util/synthetic-events.c struct kmap *kmap; kmap 826 tools/perf/util/synthetic-events.c kmap = map__kmap(map); kmap 827 tools/perf/util/synthetic-events.c if (!kmap->ref_reloc_sym) kmap 853 tools/perf/util/synthetic-events.c "%s%s", machine->mmap_name, kmap->ref_reloc_sym->name) + 1; kmap 858 tools/perf/util/synthetic-events.c event->mmap.pgoff = kmap->ref_reloc_sym->addr; kmap 1878 virt/kvm/kvm_main.c hva = kmap(page);