Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
Dv4l2-ioctl.c3346 void *mbuf = NULL, *array_buf = NULL; in video_usercopy() local
3381 array_buf = kvmalloc(array_size, GFP_KERNEL); in video_usercopy()
3383 if (array_buf == NULL) in video_usercopy()
3386 err = v4l2_compat_get_array_args(file, array_buf, in video_usercopy()
3390 err = copy_from_user(array_buf, user_ptr, array_size) ? in video_usercopy()
3394 *kernel_ptr = array_buf; in video_usercopy()
3424 array_buf, in video_usercopy()
3429 } else if (copy_to_user(user_ptr, array_buf, array_size)) { in video_usercopy()
3437 kvfree(array_buf); in video_usercopy()