Lines Matching refs:tvps

2082 		struct compat_dtv_properties prop, *tvps = NULL;  in dvb_frontend_handle_compat_ioctl()  local
2088 tvps = ∝ in dvb_frontend_handle_compat_ioctl()
2094 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_compat_ioctl()
2097 tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2101 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_compat_ioctl()
2112 struct compat_dtv_properties prop, *tvps = NULL; in dvb_frontend_handle_compat_ioctl() local
2119 tvps = &prop; in dvb_frontend_handle_compat_ioctl()
2125 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_compat_ioctl()
2128 tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2145 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_compat_ioctl()
2154 if (copy_to_user((void __user *)compat_ptr(tvps->props), tvp, in dvb_frontend_handle_compat_ioctl()
2155 tvps->num * sizeof(struct compat_dtv_property))) { in dvb_frontend_handle_compat_ioctl()
2336 struct dtv_properties *tvps = parg; in dvb_frontend_handle_ioctl() local
2340 __func__, tvps->num); in dvb_frontend_handle_ioctl()
2342 __func__, tvps->props); in dvb_frontend_handle_ioctl()
2348 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_ioctl()
2351 tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); in dvb_frontend_handle_ioctl()
2355 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_ioctl()
2369 struct dtv_properties *tvps = parg; in dvb_frontend_handle_ioctl() local
2374 __func__, tvps->num); in dvb_frontend_handle_ioctl()
2376 __func__, tvps->props); in dvb_frontend_handle_ioctl()
2382 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_ioctl()
2385 tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp)); in dvb_frontend_handle_ioctl()
2402 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_ioctl()
2411 if (copy_to_user((void __user *)tvps->props, tvp, in dvb_frontend_handle_ioctl()
2412 tvps->num * sizeof(struct dtv_property))) { in dvb_frontend_handle_ioctl()