Searched refs:data_buffer_length (Results 1 – 2 of 2) sorted by relevance
879 unsigned int data_buffer_length = 0; in tw_chrdev_ioctl() local900 if (copy_from_user(&data_buffer_length, argp, sizeof(unsigned int))) in tw_chrdev_ioctl()904 if (data_buffer_length > TW_MAX_IOCTL_SECTORS * 512) { in tw_chrdev_ioctl()910 data_buffer_length_adjusted = (data_buffer_length + 511) & ~511; in tw_chrdev_ioctl()922 if (copy_from_user(tw_ioctl, argp, data_buffer_length + sizeof(TW_New_Ioctl) - 1)) in tw_chrdev_ioctl()934 memset(tw_ioctl->data_buffer, 0, data_buffer_length); in tw_chrdev_ioctl()1018 if (copy_to_user(argp, tw_ioctl, sizeof(TW_New_Ioctl) + data_buffer_length - 1)) in tw_chrdev_ioctl()
348 unsigned int data_buffer_length; member