Lines Matching refs:copy
90 * not copy it all out.
106 * @count: amount of data to copy, in bytes
107 * @kbuf: if not %NULL, a kernel-space pointer to copy from
108 * @ubuf: if @kbuf is %NULL, a user-space pointer to copy from
262 unsigned int copy = (end_pos < 0 ? *count
266 memcpy(data, *kbuf, copy);
267 *kbuf += copy;
268 } else if (__copy_from_user(data, *ubuf, copy))
271 *ubuf += copy;
272 *pos += copy;
273 *count -= copy;
289 unsigned int copy = (end_pos < 0 ? *count
292 *kbuf += copy;
294 *ubuf += copy;
295 *pos += copy;
296 *count -= copy;
320 * @size: amount of data to copy, in bytes
321 * @data: user-mode pointer to copy from