Searched refs:array_buf (Results 1 – 1 of 1) sorted by relevance
3410 void *mbuf = NULL, *array_buf = NULL; in video_usercopy() local3445 array_buf = kvmalloc(array_size, GFP_KERNEL); in video_usercopy()3447 if (array_buf == NULL) in video_usercopy()3450 err = v4l2_compat_get_array_args(file, array_buf, in video_usercopy()3454 err = copy_from_user(array_buf, user_ptr, array_size) ? in video_usercopy()3458 *kernel_ptr = array_buf; in video_usercopy()3498 array_buf, in video_usercopy()3503 } else if (copy_to_user(user_ptr, array_buf, array_size)) { in video_usercopy()3511 kvfree(array_buf); in video_usercopy()