Searched refs:copybytes (Results 1 – 2 of 2) sorted by relevance
25 …py_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes) in ivtv_buf_copy_from_user() argument27 if (s->buf_size - buf->bytesused < copybytes) in ivtv_buf_copy_from_user()28 copybytes = s->buf_size - buf->bytesused; in ivtv_buf_copy_from_user()29 if (copy_from_user(buf->buf + buf->bytesused, src, copybytes)) { in ivtv_buf_copy_from_user()32 buf->bytesused += copybytes; in ivtv_buf_copy_from_user()33 return copybytes; in ivtv_buf_copy_from_user()
67 …y_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes);