Lines Matching refs:copy_to_user
382 if (copy_to_user(buffer + retval, &event, sizeof(struct hiddev_event))) { in hiddev_read()
392 … if (copy_to_user(buffer + retval, list->buffer + list->tail, sizeof(struct hiddev_usage_ref))) { in hiddev_read()
470 if (copy_to_user(user_arg, uref, sizeof(*uref))) in hiddev_ioctl_usage()
525 if (copy_to_user(user_arg, uref, sizeof(*uref))) in hiddev_ioctl_usage()
543 if (copy_to_user(user_arg, uref_multi, in hiddev_ioctl_usage()
584 if (copy_to_user(user_arg+sizeof(int), buf, len+1)) { in hiddev_ioctl_string()
654 r = copy_to_user(user_arg, &dinfo, sizeof(dinfo)) ? in hiddev_ioctl()
744 r = copy_to_user(user_arg, &rinfo, sizeof(rinfo)) ? in hiddev_ioctl()
783 r = copy_to_user(user_arg, &finfo, sizeof(finfo)) ? in hiddev_ioctl()
815 r = copy_to_user(user_arg, &cinfo, sizeof(cinfo)) ? in hiddev_ioctl()
827 r = copy_to_user(user_arg, hid->name, len) ? in hiddev_ioctl()
836 r = copy_to_user(user_arg, hid->phys, len) ? in hiddev_ioctl()