Lines Matching defs: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 */
36 size_t copy = PAGE_SIZE - offset;
39 if (copy > len)
40 copy = len;
43 copied = copy_page_from_iter(page, offset, copy, iter);
45 copied = copy_page_to_iter(page, offset, copy, iter);
48 if (copied < copy && iov_iter_count(iter))
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
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