Lines Matching refs:tvps
2140 struct compat_dtv_properties prop, *tvps = NULL; in dvb_frontend_handle_compat_ioctl() local
2146 tvps = ∝ in dvb_frontend_handle_compat_ioctl()
2152 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_compat_ioctl()
2155 tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2159 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_compat_ioctl()
2170 struct compat_dtv_properties prop, *tvps = NULL; in dvb_frontend_handle_compat_ioctl() local
2177 tvps = ∝ in dvb_frontend_handle_compat_ioctl()
2183 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_compat_ioctl()
2186 tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2203 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_compat_ioctl()
2212 if (copy_to_user((void __user *)compat_ptr(tvps->props), tvp, in dvb_frontend_handle_compat_ioctl()
2213 tvps->num * sizeof(struct compat_dtv_property))) { in dvb_frontend_handle_compat_ioctl()
2342 struct dtv_properties *tvps) in dvb_get_property() argument
2352 __func__, tvps->num); in dvb_get_property()
2354 __func__, tvps->props); in dvb_get_property()
2360 if (!tvps->num || tvps->num > DTV_IOCTL_MAX_MSGS) in dvb_get_property()
2363 tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); in dvb_get_property()
2378 for (i = 0; i < tvps->num; i++) { in dvb_get_property()
2385 if (copy_to_user((void __user *)tvps->props, tvp, in dvb_get_property()
2386 tvps->num * sizeof(struct dtv_property))) { in dvb_get_property()
2426 struct dtv_properties *tvps = parg; in dvb_frontend_handle_ioctl() local
2430 __func__, tvps->num); in dvb_frontend_handle_ioctl()
2432 __func__, tvps->props); in dvb_frontend_handle_ioctl()
2438 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_ioctl()
2441 tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); in dvb_frontend_handle_ioctl()
2445 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_ioctl()