Searched refs:returned_size (Results 1 – 1 of 1) sorted by relevance
107 size_t returned_size, size; in vbg_misc_device_ioctl() local158 returned_size = ((struct vbg_ioctl_hdr *)buf)->size_out; in vbg_misc_device_ioctl()159 if (returned_size > size) { in vbg_misc_device_ioctl()161 __func__, returned_size, size); in vbg_misc_device_ioctl()162 returned_size = size; in vbg_misc_device_ioctl()164 if (copy_to_user((void *)arg, buf, returned_size) != 0) in vbg_misc_device_ioctl()