Lines Matching refs:UserCommand
5608 DAC960_V1_UserCommand_T UserCommand; in DAC960_UserIOCTL() local
5618 if (copy_from_user(&UserCommand, UserSpaceUserCommand, in DAC960_UserIOCTL()
5623 ControllerNumber = UserCommand.ControllerNumber; in DAC960_UserIOCTL()
5630 CommandOpcode = UserCommand.CommandMailbox.Common.CommandOpcode; in DAC960_UserIOCTL()
5631 DataTransferLength = UserCommand.DataTransferLength; in DAC960_UserIOCTL()
5635 if (copy_from_user(&DCDB, UserCommand.DCDB, in DAC960_UserIOCTL()
5666 UserCommand.DataTransferBuffer, in DAC960_UserIOCTL()
5691 memcpy(&Command->V1.CommandMailbox, &UserCommand.CommandMailbox, in DAC960_UserIOCTL()
5705 memcpy(&Command->V1.CommandMailbox, &UserCommand.CommandMailbox, in DAC960_UserIOCTL()
5718 if (copy_to_user(UserCommand.DataTransferBuffer, in DAC960_UserIOCTL()
5727 if (copy_to_user(UserCommand.DCDB, &DCDB, in DAC960_UserIOCTL()
5743 DAC960_V2_UserCommand_T UserCommand; in DAC960_UserIOCTL() local
5754 if (copy_from_user(&UserCommand, UserSpaceUserCommand, in DAC960_UserIOCTL()
5759 ControllerNumber = UserCommand.ControllerNumber; in DAC960_UserIOCTL()
5766 DataTransferLength = UserCommand.DataTransferLength; in DAC960_UserIOCTL()
5778 UserCommand.DataTransferBuffer, in DAC960_UserIOCTL()
5784 RequestSenseLength = UserCommand.RequestSenseLength; in DAC960_UserIOCTL()
5802 memcpy(CommandMailbox, &UserCommand.CommandMailbox, in DAC960_UserIOCTL()
5850 if (RequestSenseLength > UserCommand.RequestSenseLength) in DAC960_UserIOCTL()
5851 RequestSenseLength = UserCommand.RequestSenseLength; in DAC960_UserIOCTL()
5865 if (copy_to_user(UserCommand.DataTransferBuffer, in DAC960_UserIOCTL()
5873 if (copy_to_user(UserCommand.RequestSenseBuffer, in DAC960_UserIOCTL()
6412 unsigned char *UserCommand) in DAC960_V1_ExecuteUserCommand() argument
6426 if (strcmp(UserCommand, "flush-cache") == 0) in DAC960_V1_ExecuteUserCommand()
6432 else if (strncmp(UserCommand, "kill", 4) == 0 && in DAC960_V1_ExecuteUserCommand()
6433 DAC960_ParsePhysicalDevice(Controller, &UserCommand[4], in DAC960_V1_ExecuteUserCommand()
6446 else if (strncmp(UserCommand, "make-online", 11) == 0 && in DAC960_V1_ExecuteUserCommand()
6447 DAC960_ParsePhysicalDevice(Controller, &UserCommand[11], in DAC960_V1_ExecuteUserCommand()
6461 else if (strncmp(UserCommand, "make-standby", 12) == 0 && in DAC960_V1_ExecuteUserCommand()
6462 DAC960_ParsePhysicalDevice(Controller, &UserCommand[12], in DAC960_V1_ExecuteUserCommand()
6476 else if (strncmp(UserCommand, "rebuild", 7) == 0 && in DAC960_V1_ExecuteUserCommand()
6477 DAC960_ParsePhysicalDevice(Controller, &UserCommand[7], in DAC960_V1_ExecuteUserCommand()
6518 else if (strncmp(UserCommand, "check-consistency", 17) == 0 && in DAC960_V1_ExecuteUserCommand()
6519 DAC960_ParseLogicalDrive(Controller, &UserCommand[17], in DAC960_V1_ExecuteUserCommand()
6569 else if (strcmp(UserCommand, "cancel-rebuild") == 0 || in DAC960_V1_ExecuteUserCommand()
6570 strcmp(UserCommand, "cancel-consistency-check") == 0) in DAC960_V1_ExecuteUserCommand()
6593 Controller, UserCommand); in DAC960_V1_ExecuteUserCommand()
6651 unsigned char *UserCommand) in DAC960_V2_ExecuteUserCommand() argument
6669 if (strcmp(UserCommand, "flush-cache") == 0) in DAC960_V2_ExecuteUserCommand()
6677 else if (strncmp(UserCommand, "kill", 4) == 0 && in DAC960_V2_ExecuteUserCommand()
6678 DAC960_ParsePhysicalDevice(Controller, &UserCommand[4], in DAC960_V2_ExecuteUserCommand()
6696 else if (strncmp(UserCommand, "make-online", 11) == 0 && in DAC960_V2_ExecuteUserCommand()
6697 DAC960_ParsePhysicalDevice(Controller, &UserCommand[11], in DAC960_V2_ExecuteUserCommand()
6715 else if (strncmp(UserCommand, "make-standby", 12) == 0 && in DAC960_V2_ExecuteUserCommand()
6716 DAC960_ParsePhysicalDevice(Controller, &UserCommand[12], in DAC960_V2_ExecuteUserCommand()
6734 else if (strncmp(UserCommand, "rebuild", 7) == 0 && in DAC960_V2_ExecuteUserCommand()
6735 DAC960_ParsePhysicalDevice(Controller, &UserCommand[7], in DAC960_V2_ExecuteUserCommand()
6751 else if (strncmp(UserCommand, "cancel-rebuild", 14) == 0 && in DAC960_V2_ExecuteUserCommand()
6752 DAC960_ParsePhysicalDevice(Controller, &UserCommand[14], in DAC960_V2_ExecuteUserCommand()
6768 else if (strncmp(UserCommand, "check-consistency", 17) == 0 && in DAC960_V2_ExecuteUserCommand()
6769 DAC960_ParseLogicalDrive(Controller, &UserCommand[17], in DAC960_V2_ExecuteUserCommand()
6788 else if (strncmp(UserCommand, "cancel-consistency-check", 24) == 0 && in DAC960_V2_ExecuteUserCommand()
6789 DAC960_ParseLogicalDrive(Controller, &UserCommand[24], in DAC960_V2_ExecuteUserCommand()
6806 else if (strcmp(UserCommand, "perform-discovery") == 0) in DAC960_V2_ExecuteUserCommand()
6843 else if (strcmp(UserCommand, "suppress-enclosure-messages") == 0) in DAC960_V2_ExecuteUserCommand()
6846 Controller, UserCommand); in DAC960_V2_ExecuteUserCommand()