/Linux-v5.10/arch/arc/mm/ |
D | highmem.c | 70 unsigned long kvaddr = (unsigned long)kv; in kunmap_atomic_high() local 72 if (kvaddr >= FIXMAP_BASE && kvaddr < (FIXMAP_BASE + FIXMAP_SIZE)) { in kunmap_atomic_high() 83 WARN_ON(kvaddr != FIXMAP_ADDR(idx)); in kunmap_atomic_high() 85 pte_clear(&init_mm, kvaddr, fixmap_page_table + idx); in kunmap_atomic_high() 86 local_flush_tlb_kernel_range(kvaddr, kvaddr + PAGE_SIZE); in kunmap_atomic_high() 93 static noinline pte_t * __init alloc_kmap_pgtable(unsigned long kvaddr) in alloc_kmap_pgtable() argument 95 pmd_t *pmd_k = pmd_off_k(kvaddr); in alloc_kmap_pgtable()
|
/Linux-v5.10/arch/xtensa/mm/ |
D | highmem.c | 57 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 59 if (kvaddr >= (void *)FIXADDR_START && in kunmap_atomic_high() 60 kvaddr < (void *)FIXADDR_TOP) { in kunmap_atomic_high() 62 DCACHE_ALIAS((unsigned long)kvaddr)); in kunmap_atomic_high() 70 pte_clear(&init_mm, kvaddr, kmap_pte + idx); in kunmap_atomic_high() 71 local_flush_tlb_kernel_range((unsigned long)kvaddr, in kunmap_atomic_high() 72 (unsigned long)kvaddr + PAGE_SIZE); in kunmap_atomic_high()
|
D | cache.c | 63 unsigned long kvaddr; in kmap_invalidate_coherent() local 66 kvaddr = (unsigned long)page_to_virt(page); in kmap_invalidate_coherent() 68 __invalidate_dcache_page(kvaddr); in kmap_invalidate_coherent() 70 kvaddr = TLBTEMP_BASE_1 + in kmap_invalidate_coherent() 74 __invalidate_dcache_page_alias(kvaddr, in kmap_invalidate_coherent() 96 void *kvaddr = coherent_kvaddr(page, TLBTEMP_BASE_1, vaddr, &paddr); in clear_user_highpage() local 101 clear_page_alias(kvaddr, paddr); in clear_user_highpage()
|
/Linux-v5.10/arch/nds32/mm/ |
D | highmem.c | 36 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 38 if (kvaddr >= (void *)FIXADDR_START) { in kunmap_atomic_high() 39 unsigned long vaddr = (unsigned long)kvaddr; in kunmap_atomic_high()
|
/Linux-v5.10/arch/sh/mm/ |
D | kmap.c | 50 void kunmap_coherent(void *kvaddr) in kunmap_coherent() argument 52 if (kvaddr >= (void *)FIXADDR_START) { in kunmap_coherent() 53 unsigned long vaddr = (unsigned long)kvaddr & PAGE_MASK; in kunmap_coherent()
|
D | nommu.c | 86 void kunmap_coherent(void *kvaddr) in kunmap_coherent() argument
|
/Linux-v5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_gem.c | 67 mtk_gem->kvaddr = mtk_gem->cookie; in mtk_drm_gem_create() 238 if (mtk_gem->kvaddr) in mtk_drm_gem_prime_vmap() 239 return mtk_gem->kvaddr; in mtk_drm_gem_prime_vmap() 252 mtk_gem->kvaddr = vmap(mtk_gem->pages, npages, VM_MAP, in mtk_drm_gem_prime_vmap() 258 return mtk_gem->kvaddr; in mtk_drm_gem_prime_vmap() 269 mtk_gem->kvaddr = 0; in mtk_drm_gem_prime_vunmap()
|
D | mtk_drm_gem.h | 28 void *kvaddr; member
|
/Linux-v5.10/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 135 rk_obj->kvaddr = vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, in rockchip_gem_alloc_iommu() 137 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_iommu() 165 rk_obj->kvaddr = dma_alloc_attrs(drm->dev, obj->size, in rockchip_gem_alloc_dma() 168 if (!rk_obj->kvaddr) { in rockchip_gem_alloc_dma() 191 vunmap(rk_obj->kvaddr); in rockchip_gem_free_iommu() 201 dma_free_attrs(drm->dev, obj->size, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_gem_free_dma() 232 return dma_mmap_attrs(drm->dev, vma, rk_obj->kvaddr, rk_obj->dma_addr, in rockchip_drm_gem_object_mmap_dma() 451 ret = dma_get_sgtable_attrs(drm->dev, sgt, rk_obj->kvaddr, in rockchip_gem_prime_get_sg_table() 535 return rk_obj->kvaddr; in rockchip_gem_prime_vmap()
|
D | rockchip_drm_fbdev.c | 94 fbi->screen_base = rk_obj->kvaddr + offset; in rockchip_drm_fbdev_create() 100 rk_obj->kvaddr, in rockchip_drm_fbdev_create()
|
D | rockchip_drm_gem.h | 16 void *kvaddr; member
|
/Linux-v5.10/arch/arm/mm/ |
D | highmem.c | 76 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 78 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high() 81 if (kvaddr >= (void *)FIXADDR_START) { in kunmap_atomic_high()
|
/Linux-v5.10/arch/microblaze/mm/ |
D | highmem.c | 54 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 56 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
|
/Linux-v5.10/arch/powerpc/mm/ |
D | highmem.c | 43 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 45 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
|
/Linux-v5.10/arch/sparc/mm/ |
D | highmem.c | 75 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 77 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
|
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 94 void *kvaddr; /* FIXME: only for pio hack */ member 258 struct page *page, void *kvaddr, in qib_user_sdma_init_frag() argument 268 pkt->addr[i].kvaddr = kvaddr; in qib_user_sdma_init_frag() 299 u16 offset, u16 len, void *kvaddr) in qib_user_sdma_page_to_frags() argument 368 page, kvaddr, /* struct page, virt addr */ in qib_user_sdma_page_to_frags() 385 pkt->addr[pkt->index].kvaddr, in qib_user_sdma_page_to_frags() 439 pbc16 = (__le16 *)pkt->addr[pkt->index].kvaddr; in qib_user_sdma_page_to_frags() 476 pkt->addr[pkt->index].kvaddr, in qib_user_sdma_page_to_frags() 544 kvaddr = NULL; in qib_user_sdma_page_to_frags() 630 if (pkt->addr[i].kvaddr) in qib_user_sdma_free_pkt_frag() [all …]
|
/Linux-v5.10/arch/mips/mm/ |
D | highmem.c | 39 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 41 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
|
/Linux-v5.10/arch/x86/mm/ |
D | highmem_32.c | 33 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 35 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
|
D | iomap_32.c | 89 iounmap_atomic(void __iomem *kvaddr) in iounmap_atomic() argument 91 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in iounmap_atomic()
|
/Linux-v5.10/arch/csky/mm/ |
D | highmem.c | 40 void kunmap_atomic_high(void *kvaddr) in kunmap_atomic_high() argument 42 unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; in kunmap_atomic_high()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | iomap.h | 19 iounmap_atomic(void __iomem *kvaddr);
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | sdma.h | 660 int type, void *kvaddr, struct page *page, 816 void *kvaddr, in sdma_txadd_kvaddr() argument 824 kvaddr, NULL, 0, len); in sdma_txadd_kvaddr() 831 kvaddr, in sdma_txadd_kvaddr()
|
/Linux-v5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.h | 43 void *kvaddr; member
|
D | exynos_drm_fbdev.c | 95 fbi->screen_buffer = exynos_gem->kvaddr + offset; in exynos_drm_fbdev_update()
|
/Linux-v5.10/arch/sh/include/asm/ |
D | cacheflush.h | 97 void kunmap_coherent(void *kvaddr);
|