Home
last modified time | relevance | path

Searched refs:ucontrols (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c901 struct v4l2_ext_control32 __user *ucontrols; in get_v4l2_ext_controls32() local
921 ucontrols = compat_ptr(p); in get_v4l2_ext_controls32()
922 if (!access_ok(VERIFY_READ, ucontrols, count * sizeof(*ucontrols))) in get_v4l2_ext_controls32()
933 if (copy_in_user(kcontrols, ucontrols, sizeof(*ucontrols))) in get_v4l2_ext_controls32()
942 if (get_user(p, &ucontrols->string)) in get_v4l2_ext_controls32()
948 ucontrols++; in get_v4l2_ext_controls32()
958 struct v4l2_ext_control32 __user *ucontrols; in put_v4l2_ext_controls32() local
981 if (!count || count > (U32_MAX/sizeof(*ucontrols))) in put_v4l2_ext_controls32()
985 ucontrols = compat_ptr(p); in put_v4l2_ext_controls32()
986 if (!access_ok(VERIFY_WRITE, ucontrols, count * sizeof(*ucontrols))) in put_v4l2_ext_controls32()
[all …]