Lines Matching full:copy
20 * @pages: array of pointers to pages we want to copy
22 * @len: number of bytes to copy
23 * @iter: where to copy to/from locally
24 * @vm_write: 0 means copy from, 1 means copy to
33 /* Do the copy for each page */ in process_vm_rw_pages()
36 size_t copy = PAGE_SIZE - offset; in process_vm_rw_pages() local
39 if (copy > len) in process_vm_rw_pages()
40 copy = len; in process_vm_rw_pages()
43 copied = copy_page_from_iter(page, offset, copy, iter); in process_vm_rw_pages()
45 copied = copy_page_to_iter(page, offset, copy, iter); in process_vm_rw_pages()
48 if (copied < copy && iov_iter_count(iter)) in process_vm_rw_pages()
55 /* Maximum number of pages kmalloc'd to hold struct page's during copy */
61 * @len: size of area to copy to/from
62 * @iter: where to copy to/from locally
67 * @vm_write: 0 means copy from, 1 means copy to
140 * @iter: where to copy to/from locally
141 * @rvec: iovec array specifying where to copy to/from in the other process
222 /* If we have managed to copy any data at all then in process_vm_rw_core()
242 * @lvec: iovec array specifying where to copy to/from locally
244 * @rvec: iovec array specifying where to copy to/from in the other process