Lines Matching refs:UserCommand

5964 					    unsigned char *UserCommand)  in DAC960_V1_ExecuteUserCommand()  argument
5979 if (strcmp(UserCommand, "flush-cache") == 0) in DAC960_V1_ExecuteUserCommand()
5985 else if (strncmp(UserCommand, "kill", 4) == 0 && in DAC960_V1_ExecuteUserCommand()
5986 DAC960_ParsePhysicalDevice(Controller, &UserCommand[4], in DAC960_V1_ExecuteUserCommand()
5999 else if (strncmp(UserCommand, "make-online", 11) == 0 && in DAC960_V1_ExecuteUserCommand()
6000 DAC960_ParsePhysicalDevice(Controller, &UserCommand[11], in DAC960_V1_ExecuteUserCommand()
6014 else if (strncmp(UserCommand, "make-standby", 12) == 0 && in DAC960_V1_ExecuteUserCommand()
6015 DAC960_ParsePhysicalDevice(Controller, &UserCommand[12], in DAC960_V1_ExecuteUserCommand()
6029 else if (strncmp(UserCommand, "rebuild", 7) == 0 && in DAC960_V1_ExecuteUserCommand()
6030 DAC960_ParsePhysicalDevice(Controller, &UserCommand[7], in DAC960_V1_ExecuteUserCommand()
6071 else if (strncmp(UserCommand, "check-consistency", 17) == 0 && in DAC960_V1_ExecuteUserCommand()
6072 DAC960_ParseLogicalDrive(Controller, &UserCommand[17], in DAC960_V1_ExecuteUserCommand()
6122 else if (strcmp(UserCommand, "cancel-rebuild") == 0 || in DAC960_V1_ExecuteUserCommand()
6123 strcmp(UserCommand, "cancel-consistency-check") == 0) in DAC960_V1_ExecuteUserCommand()
6163 Controller, UserCommand); in DAC960_V1_ExecuteUserCommand()
6226 unsigned char *UserCommand) in DAC960_V2_ExecuteUserCommand() argument
6245 if (strcmp(UserCommand, "flush-cache") == 0) in DAC960_V2_ExecuteUserCommand()
6253 else if (strncmp(UserCommand, "kill", 4) == 0 && in DAC960_V2_ExecuteUserCommand()
6254 DAC960_ParsePhysicalDevice(Controller, &UserCommand[4], in DAC960_V2_ExecuteUserCommand()
6272 else if (strncmp(UserCommand, "make-online", 11) == 0 && in DAC960_V2_ExecuteUserCommand()
6273 DAC960_ParsePhysicalDevice(Controller, &UserCommand[11], in DAC960_V2_ExecuteUserCommand()
6291 else if (strncmp(UserCommand, "make-standby", 12) == 0 && in DAC960_V2_ExecuteUserCommand()
6292 DAC960_ParsePhysicalDevice(Controller, &UserCommand[12], in DAC960_V2_ExecuteUserCommand()
6310 else if (strncmp(UserCommand, "rebuild", 7) == 0 && in DAC960_V2_ExecuteUserCommand()
6311 DAC960_ParsePhysicalDevice(Controller, &UserCommand[7], in DAC960_V2_ExecuteUserCommand()
6327 else if (strncmp(UserCommand, "cancel-rebuild", 14) == 0 && in DAC960_V2_ExecuteUserCommand()
6328 DAC960_ParsePhysicalDevice(Controller, &UserCommand[14], in DAC960_V2_ExecuteUserCommand()
6344 else if (strncmp(UserCommand, "check-consistency", 17) == 0 && in DAC960_V2_ExecuteUserCommand()
6345 DAC960_ParseLogicalDrive(Controller, &UserCommand[17], in DAC960_V2_ExecuteUserCommand()
6364 else if (strncmp(UserCommand, "cancel-consistency-check", 24) == 0 && in DAC960_V2_ExecuteUserCommand()
6365 DAC960_ParseLogicalDrive(Controller, &UserCommand[24], in DAC960_V2_ExecuteUserCommand()
6382 else if (strcmp(UserCommand, "perform-discovery") == 0) in DAC960_V2_ExecuteUserCommand()
6423 else if (strcmp(UserCommand, "suppress-enclosure-messages") == 0) in DAC960_V2_ExecuteUserCommand()
6426 Controller, UserCommand); in DAC960_V2_ExecuteUserCommand()
6676 DAC960_V1_UserCommand_T UserCommand; in DAC960_gam_ioctl() local
6692 if (copy_from_user(&UserCommand, UserSpaceUserCommand, in DAC960_gam_ioctl()
6697 ControllerNumber = UserCommand.ControllerNumber; in DAC960_gam_ioctl()
6708 CommandOpcode = UserCommand.CommandMailbox.Common.CommandOpcode; in DAC960_gam_ioctl()
6709 DataTransferLength = UserCommand.DataTransferLength; in DAC960_gam_ioctl()
6714 if (copy_from_user(&DCDB, UserCommand.DCDB, in DAC960_gam_ioctl()
6757 UserCommand.DataTransferBuffer, in DAC960_gam_ioctl()
6782 memcpy(&Command->V1.CommandMailbox, &UserCommand.CommandMailbox, in DAC960_gam_ioctl()
6796 memcpy(&Command->V1.CommandMailbox, &UserCommand.CommandMailbox, in DAC960_gam_ioctl()
6809 if (copy_to_user(UserCommand.DataTransferBuffer, in DAC960_gam_ioctl()
6823 if (copy_to_user(UserCommand.DCDB, DCDB_IOBUF, in DAC960_gam_ioctl()
6843 DAC960_V2_UserCommand_T UserCommand; in DAC960_gam_ioctl() local
6859 if (copy_from_user(&UserCommand, UserSpaceUserCommand, in DAC960_gam_ioctl()
6865 ControllerNumber = UserCommand.ControllerNumber; in DAC960_gam_ioctl()
6876 DataTransferLength = UserCommand.DataTransferLength; in DAC960_gam_ioctl()
6893 UserCommand.DataTransferBuffer, in DAC960_gam_ioctl()
6899 RequestSenseLength = UserCommand.RequestSenseLength; in DAC960_gam_ioctl()
6918 memcpy(CommandMailbox, &UserCommand.CommandMailbox, in DAC960_gam_ioctl()
6965 if (RequestSenseLength > UserCommand.RequestSenseLength) in DAC960_gam_ioctl()
6966 RequestSenseLength = UserCommand.RequestSenseLength; in DAC960_gam_ioctl()
6980 if (copy_to_user(UserCommand.DataTransferBuffer, in DAC960_gam_ioctl()
6988 if (copy_to_user(UserCommand.RequestSenseBuffer, in DAC960_gam_ioctl()