Searched refs:array_buf (Results 1 – 1 of 1) sorted by relevance
3346 void *mbuf = NULL, *array_buf = NULL; in video_usercopy() local3381 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()