/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 166 cdev->kmap.size = num_key_ctx; in chtls_init_kmap() 167 cdev->kmap.available = bsize; in chtls_init_kmap() 168 ksize = sizeof(*cdev->kmap.addr) * bsize; in chtls_init_kmap() 169 cdev->kmap.addr = kvzalloc(ksize, GFP_KERNEL); in chtls_init_kmap() 170 if (!cdev->kmap.addr) in chtls_init_kmap() 173 cdev->kmap.start = lldi->vr->key.start; in chtls_init_kmap() 174 spin_lock_init(&cdev->kmap.lock); in chtls_init_kmap() 189 spin_lock_bh(&cdev->kmap.lock); in get_new_keyid() 190 keyid = find_first_zero_bit(cdev->kmap.addr, cdev->kmap.size); in get_new_keyid() 191 if (keyid < cdev->kmap.size) { in get_new_keyid() [all …]
|
D | chtls.h | 240 struct key_map kmap; member
|
D | chtls_main.c | 166 kvfree(cdev->kmap.addr); in chtls_free_uld()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.h | 19 struct ttm_bo_kmap_obj kmap; member 105 &nvbo->kmap, &is_iomem); in nvbo_kmap_obj_iovirtual()
|
D | nouveau_gem.c | 396 ttm_bo_kunmap(&nvbo->kmap); in validate_fini_no_ticket() 681 if (!nvbo->kmap.virtual) { in nouveau_gem_pushbuf_reloc_apply() 683 &nvbo->kmap); in nouveau_gem_pushbuf_reloc_apply() 869 if (!nvbo->kmap.virtual) { in nouveau_gem_ioctl_pushbuf() 873 &nvbo->kmap); in nouveau_gem_ioctl_pushbuf()
|
D | nouveau_bo.c | 535 ret = ttm_bo_kmap(&nvbo->bo, 0, nvbo->bo.resource->num_pages, &nvbo->kmap); in nouveau_bo_map() 547 ttm_bo_kunmap(&nvbo->kmap); in nouveau_bo_unmap() 662 u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr16() 676 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_rd32() 690 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr32()
|
/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm.c | 353 src = (char *)kmap(bo->page_obj[idx].page) + offset; in load_and_flush_by_kmap() 488 des = (char *)kmap(bo->page_obj[idx].page); in hmm_store() 566 des = (char *)kmap(bo->page_obj[idx].page) + offset; in hmm_set()
|
/drivers/gpu/drm/i915/gt/ |
D | shmem_utils.c | 107 vaddr = kmap(page); in __shmem_rw()
|
/drivers/gpu/drm/gma500/ |
D | mmu.c | 187 v = kmap(pd->dummy_pt); in psb_mmu_alloc_pd() 193 v = kmap(pd->p); in psb_mmu_alloc_pd() 199 clear_page(kmap(pd->dummy_page)); in psb_mmu_alloc_pd()
|
/drivers/gpu/drm/radeon/ |
D | radeon_object.c | 251 r = ttm_bo_kmap(&bo->tbo, 0, bo->tbo.resource->num_pages, &bo->kmap); in radeon_bo_kmap() 255 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in radeon_bo_kmap() 269 ttm_bo_kunmap(&bo->kmap); in radeon_bo_kunmap()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 807 r = ttm_bo_kmap(&bo->tbo, 0, bo->tbo.resource->num_pages, &bo->kmap); in amdgpu_bo_kmap() 830 return ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in amdgpu_bo_kptr() 841 if (bo->kmap.bo) in amdgpu_bo_kunmap() 842 ttm_bo_kunmap(&bo->kmap); in amdgpu_bo_kunmap()
|
D | amdgpu_object.h | 101 struct ttm_bo_kmap_obj kmap; member
|
/drivers/mtd/ |
D | mtd_blkdevs.c | 71 buf = kmap(bio_page(req->bio)) + bio_offset(req->bio); in do_blktrans_request() 86 buf = kmap(bio_page(req->bio)) + bio_offset(req->bio); in do_blktrans_request()
|
/drivers/firmware/efi/ |
D | capsule-loader.c | 200 kbuff = kmap(page); in efi_capsule_write()
|
/drivers/gpu/drm/i915/ |
D | i915_gem.c | 199 vaddr = kmap(page); in shmem_pread() 621 vaddr = kmap(page); in shmem_pwrite()
|
/drivers/xen/ |
D | gntalloc.c | 181 uint8_t *tmp = kmap(gref->page); in __del_gref()
|
/drivers/mmc/host/ |
D | sdricoh_cs.c | 315 buf = kmap(page) + data->sg->offset + (len * i); in sdricoh_request()
|
D | usdhi6rol0.c | 327 host->pg.mapped = kmap(host->pg.page); in usdhi6_blk_bounce() 369 host->pg.mapped = kmap(host->pg.page); in usdhi6_sg_map() 507 host->pg.mapped = kmap(host->pg.page); in usdhi6_sg_advance()
|
/drivers/base/firmware_loader/ |
D | fallback.c | 323 page_data = kmap(fw_priv->pages[page_nr]); in firmware_rw()
|
/drivers/android/ |
D | binder_alloc.c | 773 kptr = kmap(page) + pgoff; in binder_alloc_clear_buf() 1250 kptr = kmap(page) + pgoff; in binder_alloc_copy_user_to_buffer()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_shmem.c | 603 vaddr = kmap(page); in i915_gem_object_create_shmem_from_data()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.c | 387 memcpy((char *)kmap(pages[0]) + in free_pagelist() 395 memcpy((char *)kmap(pages[num_pages - 1]) + in free_pagelist()
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_mman.c | 147 cpu = kmap(p) + offset_in_page(offset); in check_partial_mapping() 240 cpu = kmap(p) + offset_in_page(offset); in check_partial_mappings()
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo_util.c | 323 map->virtual = kmap(map->page); in ttm_bo_kmap_ttm()
|
/drivers/target/ |
D | target_core_rd.c | 162 p = kmap(pg); in rd_allocate_sgl_table()
|