Lines Matching refs:from
303 static inline void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() argument
308 vfrom = kmap_local_page(from); in copy_user_highpage()
320 static inline void copy_highpage(struct page *to, struct page *from) in copy_highpage() argument
324 vfrom = kmap_local_page(from); in copy_highpage()
327 kmsan_copy_page_meta(to, from); in copy_highpage()
341 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() argument
347 vfrom = kmap_local_page(from); in copy_mc_user_highpage()
356 memory_failure_queue(page_to_pfn(from), 0); in copy_mc_user_highpage()
361 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() argument
366 vfrom = kmap_local_page(from); in copy_mc_highpage()
370 kmsan_copy_page_meta(to, from); in copy_mc_highpage()
375 memory_failure_queue(page_to_pfn(from), 0); in copy_mc_highpage()
380 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() argument
383 copy_user_highpage(to, from, vaddr, vma); in copy_mc_user_highpage()
387 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() argument
389 copy_highpage(to, from); in copy_mc_highpage()
420 char *from = kmap_local_page(page); in memcpy_from_page() local
423 memcpy(to, from + offset, len); in memcpy_from_page()
424 kunmap_local(from); in memcpy_from_page()
428 const char *from, size_t len) in memcpy_to_page() argument
433 memcpy(to + offset, from, len); in memcpy_to_page()
461 const char *from = kmap_local_folio(folio, offset); in memcpy_from_folio() local
467 memcpy(to, from, chunk); in memcpy_from_folio()
468 kunmap_local(from); in memcpy_from_folio()
484 const char *from, size_t len) in memcpy_to_folio() argument
495 memcpy(to, from, chunk); in memcpy_to_folio()
498 from += chunk; in memcpy_to_folio()
557 const char *from, size_t len) in folio_fill_tail() argument
567 memcpy(to, from, max); in folio_fill_tail()
570 from += max; in folio_fill_tail()
577 memcpy(to, from, len); in folio_fill_tail()
598 char *from = kmap_local_folio(folio, offset); in memcpy_from_file_folio() local
606 memcpy(to, from, len); in memcpy_from_file_folio()
607 kunmap_local(from); in memcpy_from_file_folio()