Lines Matching full:copy
21 * @pages: array of pointers to pages we want to copy
23 * @len: number of bytes to copy
24 * @iter: where to copy to/from locally
25 * @vm_write: 0 means copy from, 1 means copy to
34 /* Do the copy for each page */ in process_vm_rw_pages()
37 size_t copy = PAGE_SIZE - offset; in process_vm_rw_pages() local
40 if (copy > len) in process_vm_rw_pages()
41 copy = len; in process_vm_rw_pages()
44 copied = copy_page_from_iter(page, offset, copy, iter); in process_vm_rw_pages()
46 copied = copy_page_to_iter(page, offset, copy, iter); in process_vm_rw_pages()
49 if (copied < copy && iov_iter_count(iter)) in process_vm_rw_pages()
56 /* Maximum number of pages kmalloc'd to hold struct page's during copy */
62 * @len: size of area to copy to/from
63 * @iter: where to copy to/from locally
68 * @vm_write: 0 means copy from, 1 means copy to
141 * @iter: where to copy to/from locally
142 * @rvec: iovec array specifying where to copy to/from in the other process
223 /* If we have managed to copy any data at all then in process_vm_rw_core()
243 * @lvec: iovec array specifying where to copy to/from locally
245 * @rvec: iovec array specifying where to copy to/from in the other process