Lines Matching defs: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 */
37 size_t copy = PAGE_SIZE - offset;
40 if (copy > len)
41 copy = len;
44 copied = copy_page_from_iter(page, offset, copy, iter);
46 copied = copy_page_to_iter(page, offset, copy, iter);
49 if (copied < copy && iov_iter_count(iter))
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
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