Lines Matching defs:copy
109 unsigned long copy;
114 copy = min_t(unsigned long, len, iov->iov_len);
117 if (__copy_from_user_inatomic(to, iov->iov_base, copy))
120 if (copy_from_user(to, iov->iov_base, copy))
123 to += copy;
124 len -= copy;
125 iov->iov_base += copy;
126 iov->iov_len -= copy;
135 unsigned long copy;
140 copy = min_t(unsigned long, len, iov->iov_len);
143 if (__copy_to_user_inatomic(iov->iov_base, from, copy))
146 if (copy_to_user(iov->iov_base, from, copy))
149 from += copy;
150 len -= copy;
151 iov->iov_base += copy;
152 iov->iov_len -= copy;
1118 * Allocate a new array of pipe buffers and copy the info over. Returns the