/linux-6.6.21/include/linux/ |
D | highmem.h | 306 char *vfrom, *vto; in copy_user_highpage() local 309 vto = kmap_local_page(to); in copy_user_highpage() 310 copy_user_page(vto, vfrom, vaddr, to); in copy_user_highpage() 312 kunmap_local(vto); in copy_user_highpage() 322 char *vfrom, *vto; in copy_highpage() local 325 vto = kmap_local_page(to); in copy_highpage() 326 copy_page(vto, vfrom); in copy_highpage() 328 kunmap_local(vto); in copy_highpage() 345 char *vfrom, *vto; in copy_mc_user_highpage() local 348 vto = kmap_local_page(to); in copy_mc_user_highpage() [all …]
|
/linux-6.6.21/arch/sh/mm/ |
D | cache.c | 68 void *vto = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK); in copy_to_user_page() local 69 memcpy(vto, src, len); in copy_to_user_page() 70 kunmap_coherent(vto); in copy_to_user_page() 103 void *vfrom, *vto; in copy_user_highpage() local 105 vto = kmap_atomic(to); in copy_user_highpage() 110 copy_page(vto, vfrom); in copy_user_highpage() 114 copy_page(vto, vfrom); in copy_user_highpage() 118 if (pages_do_alias((unsigned long)vto, vaddr & PAGE_MASK) || in copy_user_highpage() 120 __flush_purge_region(vto, PAGE_SIZE); in copy_user_highpage() 122 kunmap_atomic(vto); in copy_user_highpage()
|
/linux-6.6.21/arch/mips/mm/ |
D | init.c | 173 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() 202 void *vto = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK); in copy_to_user_page() local 203 memcpy(vto, src, len); in copy_to_user_page()
|
/linux-6.6.21/arch/nios2/mm/ |
D | cacheflush.c | 242 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr, in copy_user_page() argument 247 copy_page(vto, vfrom); in copy_user_page() 248 __flush_dcache((unsigned long)vto, (unsigned long)vto + PAGE_SIZE); in copy_user_page() 249 __flush_icache((unsigned long)vto, (unsigned long)vto + PAGE_SIZE); in copy_user_page()
|
/linux-6.6.21/arch/loongarch/mm/ |
D | init.c | 44 void *vfrom, *vto; in copy_user_highpage() local 47 vto = kmap_local_page(to); in copy_user_highpage() 48 copy_page(vto, vfrom); in copy_user_highpage() 50 kunmap_local(vto); in copy_user_highpage()
|
/linux-6.6.21/arch/microblaze/include/asm/ |
D | page.h | 52 # define copy_user_page(vto, vfrom, vaddr, topg) \ argument 53 memcpy((vto), (vfrom), PAGE_SIZE)
|
/linux-6.6.21/arch/powerpc/mm/ |
D | cacheflush.c | 190 void copy_user_page(void *vto, void *vfrom, unsigned long vaddr, in copy_user_page() argument 193 copy_page(vto, vfrom); in copy_user_page()
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | page.h | 33 #define clear_user_page(vto, vaddr, page) clear_page_asm(vto) argument
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | page.h | 55 #define copy_user_page(vto, vfrom, vaddr, topg) \ argument 56 memcpy((vto), (vfrom), PAGE_SIZE)
|
/linux-6.6.21/net/sunrpc/ |
D | xdr.c | 270 char *vfrom, *vto; in _shift_data_left_pages() local 300 vto = kmap_atomic(*pgto); in _shift_data_left_pages() 303 memcpy(vto + pgto_base, vfrom + pgfrom_base, copy); in _shift_data_left_pages() 306 memmove(vto + pgto_base, vto + pgfrom_base, copy); in _shift_data_left_pages() 308 kunmap_atomic(vto); in _shift_data_left_pages() 335 char *vfrom, *vto; in _shift_data_right_pages() local 371 vto = kmap_atomic(*pgto); in _shift_data_right_pages() 374 memcpy(vto + pgto_base, vfrom + pgfrom_base, copy); in _shift_data_right_pages() 377 memmove(vto + pgto_base, vto + pgfrom_base, copy); in _shift_data_right_pages() 379 kunmap_atomic(vto); in _shift_data_right_pages() [all …]
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | page.h | 54 extern void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
|
/linux-6.6.21/arch/s390/include/asm/ |
D | vx-insn-asm.h | 369 .macro VLM vfrom, vto, disp, base, hint=3 371 VX_NUM v3, \vto 389 .macro VSTM vfrom, vto, disp, base, hint=3 391 VX_NUM v3, \vto
|
/linux-6.6.21/arch/sparc/mm/ |
D | init_64.c | 3155 char *vfrom, *vto; in copy_user_highpage() local 3158 vto = kmap_atomic(to); in copy_user_highpage() 3159 copy_user_page(vto, vfrom, vaddr, to); in copy_user_highpage() 3160 kunmap_atomic(vto); in copy_user_highpage() 3189 char *vfrom, *vto; in copy_highpage() local 3192 vto = kmap_atomic(to); in copy_highpage() 3193 copy_page(vto, vfrom); in copy_highpage() 3194 kunmap_atomic(vto); in copy_highpage()
|
/linux-6.6.21/fs/ |
D | dax.c | 833 void *vto, *kaddr; in copy_cow_page_dax() local 844 vto = kmap_atomic(vmf->cow_page); in copy_cow_page_dax() 845 copy_user_page(vto, kaddr, vmf->address, vmf->cow_page); in copy_cow_page_dax() 846 kunmap_atomic(vto); in copy_cow_page_dax()
|