Lines Matching refs:parg
2788 static int check_array_args(unsigned int cmd, void *parg, size_t *array_size, in check_array_args() argument
2798 struct v4l2_buffer *buf = parg; in check_array_args()
2815 struct v4l2_edid *edid = parg; in check_array_args()
2833 struct v4l2_ext_controls *ctrls = parg; in check_array_args()
2859 void *parg = (void *)arg; in video_usercopy() local
2870 parg = sbuf; in video_usercopy()
2876 parg = mbuf; in video_usercopy()
2898 if (copy_from_user(parg, (void __user *)arg, n)) in video_usercopy()
2903 memset((u8 *)parg + n, 0, _IOC_SIZE(cmd) - n); in video_usercopy()
2906 memset(parg, 0, _IOC_SIZE(cmd)); in video_usercopy()
2910 err = check_array_args(cmd, parg, &array_size, &user_ptr, &kernel_ptr); in video_usercopy()
2933 err = func(file, cmd, parg); in video_usercopy()
2941 trace_v4l2_dqbuf(video_devdata(file)->minor, parg); in video_usercopy()
2943 trace_v4l2_qbuf(video_devdata(file)->minor, parg); in video_usercopy()
2964 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) in video_usercopy()