Searched refs:copybytes (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
D | ivtv-queue.c | 13 …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()
|
D | ivtv-queue.h | 55 …y_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes);
|
/kernel/linux/linux-5.10/kernel/ |
D | capability.c | 225 unsigned i, tocopy, copybytes; in SYSCALL_DEFINE2() local 242 copybytes = tocopy * sizeof(struct __user_cap_data_struct); in SYSCALL_DEFINE2() 243 if (copybytes > sizeof(kdata)) in SYSCALL_DEFINE2() 246 if (copy_from_user(&kdata, data, copybytes)) in SYSCALL_DEFINE2()
|