Home
last modified time | relevance | path

Searched refs:copybytes (Results 1 – 2 of 2) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-queue.c13 …py_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes) in ivtv_buf_copy_from_user() argument
15 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()
Divtv-queue.h55 …y_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes);