Home
last modified time | relevance | path

Searched refs:driver_command (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/scsi/
D3w-9xxx.c647 TW_Ioctl_Driver_Command driver_command; in twa_chrdev_ioctl() local
667 if (copy_from_user(&driver_command, argp, sizeof(TW_Ioctl_Driver_Command))) in twa_chrdev_ioctl()
671 if (driver_command.buffer_length > TW_MAX_SECTORS * 2048) { in twa_chrdev_ioctl()
677 data_buffer_length_adjusted = (driver_command.buffer_length + 511) & ~511; in twa_chrdev_ioctl()
691 if (copy_from_user(tw_ioctl, argp, sizeof(TW_Ioctl_Buf_Apache) + driver_command.buffer_length)) in twa_chrdev_ioctl()
744 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
752 tw_ioctl->driver_command.status = TW_IOCTL_ERROR_STATUS_AEN_CLOBBER; in twa_chrdev_ioctl()
755 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
758 tw_ioctl->driver_command.status = TW_IOCTL_ERROR_STATUS_NO_MORE_EVENTS; in twa_chrdev_ioctl()
761 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
[all …]
D3w-sas.c721 TW_Ioctl_Driver_Command driver_command; in twl_chrdev_ioctl() local
738 if (copy_from_user(&driver_command, argp, sizeof(TW_Ioctl_Driver_Command))) in twl_chrdev_ioctl()
742 if (driver_command.buffer_length > TW_MAX_SECTORS * 2048) { in twl_chrdev_ioctl()
748 data_buffer_length_adjusted = (driver_command.buffer_length + 511) & ~511; in twl_chrdev_ioctl()
760 if (copy_from_user(tw_ioctl, argp, driver_command.buffer_length + sizeof(TW_Ioctl_Buf_Apache))) in twl_chrdev_ioctl()
818 if (copy_to_user(argp, tw_ioctl, sizeof(TW_Ioctl_Buf_Apache) + driver_command.buffer_length) == 0) in twl_chrdev_ioctl()
D3w-sas.h335 TW_Ioctl_Driver_Command driver_command; member
D3w-9xxx.h607 TW_Ioctl_Driver_Command driver_command; member