Searched refs:copybytes (Results 1 – 2 of 2) sorted by relevance
13 …py_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes) in ivtv_buf_copy_from_user() argument15 if (s->buf_size - buf->bytesused < copybytes) in ivtv_buf_copy_from_user()16 copybytes = s->buf_size - buf->bytesused; in ivtv_buf_copy_from_user()17 if (copy_from_user(buf->buf + buf->bytesused, src, copybytes)) { in ivtv_buf_copy_from_user()20 buf->bytesused += copybytes; in ivtv_buf_copy_from_user()21 return copybytes; in ivtv_buf_copy_from_user()
55 …y_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes);