![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 #include <linux/highmem.h> 0003 #include <linux/crash_dump.h> 0004 #include <linux/uio.h> 0005 0006 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, 0007 size_t csize, unsigned long offset) 0008 { 0009 void *vaddr; 0010 0011 if (!csize) 0012 return 0; 0013 0014 vaddr = kmap_local_pfn(pfn); 0015 csize = copy_to_iter(vaddr + offset, csize, iter); 0016 kunmap_local(vaddr); 0017 0018 return csize; 0019 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |