Lines Matching refs:copy
250 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin() local
254 memcpy(data, *kbuf, copy); in user_regset_copyin()
255 *kbuf += copy; in user_regset_copyin()
256 } else if (__copy_from_user(data, *ubuf, copy)) in user_regset_copyin()
259 *ubuf += copy; in user_regset_copyin()
260 *pos += copy; in user_regset_copyin()
261 *count -= copy; in user_regset_copyin()
277 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore() local
280 *kbuf += copy; in user_regset_copyin_ignore()
282 *ubuf += copy; in user_regset_copyin_ignore()
283 *pos += copy; in user_regset_copyin_ignore()
284 *count -= copy; in user_regset_copyin_ignore()