Searched refs:data_buffer_length (Results 1 – 2 of 2) sorted by relevance
881 unsigned int data_buffer_length = 0; in tw_chrdev_ioctl() local902 if (copy_from_user(&data_buffer_length, argp, sizeof(unsigned int))) in tw_chrdev_ioctl()906 if (data_buffer_length > TW_MAX_IOCTL_SECTORS * 512) { in tw_chrdev_ioctl()912 data_buffer_length_adjusted = (data_buffer_length + 511) & ~511; in tw_chrdev_ioctl()924 if (copy_from_user(tw_ioctl, argp, data_buffer_length + sizeof(TW_New_Ioctl))) in tw_chrdev_ioctl()936 memset(tw_ioctl->data_buffer, 0, data_buffer_length); in tw_chrdev_ioctl()1020 if (copy_to_user(argp, tw_ioctl, sizeof(TW_New_Ioctl) + data_buffer_length)) in tw_chrdev_ioctl()
348 unsigned int data_buffer_length; member