Home
last modified time | relevance | path

Searched refs:vto (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/nds32/mm/
Dcacheflush.c156 unsigned long vto, flags; in flush_cache_page() local
159 vto = kremap0(addr, pfn << PAGE_SHIFT); in flush_cache_page()
160 cpu_cache_wbinval_page(vto, vma->vm_flags & VM_EXEC); in flush_cache_page()
161 kunmap01(vto); in flush_cache_page()
177 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr, in copy_user_page() argument
182 copy_page(vto, vfrom); in copy_user_page()
183 cpu_dcache_wbinval_page((unsigned long)vto); in copy_user_page()
184 cpu_icache_inval_page((unsigned long)vto); in copy_user_page()
199 unsigned long vto, vfrom, flags, kto, kfrom, pfrom, pto; in copy_user_highpage() local
208 vto = kremap0(vaddr, pto); in copy_user_highpage()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dhighmem.h324 char *vfrom, *vto; in copy_user_highpage() local
327 vto = kmap_atomic(to); in copy_user_highpage()
328 copy_user_page(vto, vfrom, vaddr, to); in copy_user_highpage()
329 kunmap_atomic(vto); in copy_user_highpage()
339 char *vfrom, *vto; in copy_highpage() local
342 vto = kmap_atomic(to); in copy_highpage()
343 copy_page(vto, vfrom); in copy_highpage()
344 kunmap_atomic(vto); in copy_highpage()
/kernel/linux/linux-5.10/arch/sh/mm/
Dcache.c66 void *vto = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK); in copy_to_user_page() local
67 memcpy(vto, src, len); in copy_to_user_page()
68 kunmap_coherent(vto); in copy_to_user_page()
98 void *vfrom, *vto; in copy_user_highpage() local
100 vto = kmap_atomic(to); in copy_user_highpage()
105 copy_page(vto, vfrom); in copy_user_highpage()
109 copy_page(vto, vfrom); in copy_user_highpage()
113 if (pages_do_alias((unsigned long)vto, vaddr & PAGE_MASK) || in copy_user_highpage()
115 __flush_purge_region(vto, PAGE_SIZE); in copy_user_highpage()
117 kunmap_atomic(vto); in copy_user_highpage()
/kernel/linux/linux-5.10/block/
Dbounce.c78 unsigned char *vto; in bounce_copy_vec() local
80 vto = kmap_atomic(to->bv_page); in bounce_copy_vec()
81 memcpy(vto + to->bv_offset, vfrom, to->bv_len); in bounce_copy_vec()
82 kunmap_atomic(vto); in bounce_copy_vec()
332 char *vto, *vfrom; in __blk_queue_bounce() local
336 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce()
338 memcpy(vto, vfrom, to->bv_len); in __blk_queue_bounce()
/kernel/linux/linux-5.10/arch/nios2/mm/
Dcacheflush.c233 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr, in copy_user_page() argument
238 copy_page(vto, vfrom); in copy_user_page()
239 __flush_dcache((unsigned long)vto, (unsigned long)vto + PAGE_SIZE); in copy_user_page()
240 __flush_icache((unsigned long)vto, (unsigned long)vto + PAGE_SIZE); in copy_user_page()
/kernel/linux/linux-5.10/arch/mips/mm/
Dinit.c173 void *vfrom, *vto; in copy_user_highpage() local
175 vto = kmap_atomic(to); in copy_user_highpage()
179 copy_page(vto, vfrom); in copy_user_highpage()
183 copy_page(vto, vfrom); in copy_user_highpage()
187 pages_do_alias((unsigned long)vto, vaddr & PAGE_MASK)) in copy_user_highpage()
188 flush_data_cache_page((unsigned long)vto); in copy_user_highpage()
189 kunmap_atomic(vto); in copy_user_highpage()
200 void *vto = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK); in copy_to_user_page() local
201 memcpy(vto, src, len); in copy_to_user_page()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dpage.h32 #define clear_user_page(vto, vaddr, page) clear_page_asm(vto) argument
33 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
/kernel/linux/linux-5.10/fs/erofs/
Ddata.c183 void *vsrc, *vto; in erofs_read_raw_page() local
196 vto = kmap_atomic(page); in erofs_read_raw_page()
197 memcpy(vto, vsrc + blkoff, map.m_plen); in erofs_read_raw_page()
198 memset(vto + map.m_plen, 0, PAGE_SIZE - map.m_plen); in erofs_read_raw_page()
199 kunmap_atomic(vto); in erofs_read_raw_page()
/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c226 char *vfrom, *vto; in _shift_data_left_pages() local
253 vto = kmap_atomic(*pgto); in _shift_data_left_pages()
256 memcpy(vto + pgto_base, vfrom + pgfrom_base, copy); in _shift_data_left_pages()
259 memmove(vto + pgto_base, vto + pgfrom_base, copy); in _shift_data_left_pages()
261 kunmap_atomic(vto); in _shift_data_left_pages()
308 char *vfrom, *vto; in _shift_data_right_pages() local
341 vto = kmap_atomic(*pgto); in _shift_data_right_pages()
344 memcpy(vto + pgto_base, vfrom + pgfrom_base, copy); in _shift_data_right_pages()
347 memmove(vto + pgto_base, vto + pgfrom_base, copy); in _shift_data_right_pages()
349 kunmap_atomic(vto); in _shift_data_right_pages()
[all …]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dpage.h54 #define copy_user_page(vto, vfrom, vaddr, topg) \ argument
55 memcpy((vto), (vfrom), PAGE_SIZE)
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dpage.h79 # define copy_user_page(vto, vfrom, vaddr, topg) \ argument
80 memcpy((vto), (vfrom), PAGE_SIZE)
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dpage.h30 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dvx-insn.h366 .macro VLM vfrom, vto, disp, base, hint=3
368 VX_NUM v3, \vto
376 .macro VSTM vfrom, vto, disp, base, hint=3
378 VX_NUM v3, \vto
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dpage.h54 extern void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmem.c556 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr, in copy_user_page() argument
559 copy_page(vto, vfrom); in copy_user_page()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_64.c3121 char *vfrom, *vto; in copy_user_highpage() local
3124 vto = kmap_atomic(to); in copy_user_highpage()
3125 copy_user_page(vto, vfrom, vaddr, to); in copy_user_highpage()
3126 kunmap_atomic(vto); in copy_user_highpage()
3155 char *vfrom, *vto; in copy_highpage() local
3158 vto = kmap_atomic(to); in copy_highpage()
3159 copy_page(vto, vfrom); in copy_highpage()
3160 kunmap_atomic(vto); in copy_highpage()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dcache.c466 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr, in copy_user_page() argument
475 copy_page_asm(vto, vfrom); in copy_user_page()
/kernel/linux/linux-5.10/fs/
Ddax.c715 void *vto, *kaddr; in copy_cow_page_dax() local
730 vto = kmap_atomic(to); in copy_cow_page_dax()
731 copy_user_page(vto, (void __force *)kaddr, vaddr, to); in copy_cow_page_dax()
732 kunmap_atomic(vto); in copy_cow_page_dax()