Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/
D3w-xxxx.c881 unsigned int data_buffer_length = 0; in tw_chrdev_ioctl() local
902 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()
D3w-xxxx.h348 unsigned int data_buffer_length; member