Lines Matching refs:LogicalDriveNumber
1067 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReadControllerConfiguration() local
1247 for (LogicalDriveNumber = 0; in DAC960_V1_ReadControllerConfiguration()
1248 LogicalDriveNumber < Controller->LogicalDriveCount; in DAC960_V1_ReadControllerConfiguration()
1249 LogicalDriveNumber++) in DAC960_V1_ReadControllerConfiguration()
1251 [LogicalDriveNumber].LogicalDriveState != in DAC960_V1_ReadControllerConfiguration()
1253 Controller->LogicalDriveInitiallyAccessible[LogicalDriveNumber] = true; in DAC960_V1_ReadControllerConfiguration()
1668 int LogicalDriveNumber, Channel, TargetID; in DAC960_V1_ReportDeviceConfiguration() local
1734 for (LogicalDriveNumber = 0; in DAC960_V1_ReportDeviceConfiguration()
1735 LogicalDriveNumber < Controller->LogicalDriveCount; in DAC960_V1_ReportDeviceConfiguration()
1736 LogicalDriveNumber++) in DAC960_V1_ReportDeviceConfiguration()
1739 &Controller->V1.LogicalDriveInformation[LogicalDriveNumber]; in DAC960_V1_ReportDeviceConfiguration()
1741 Controller, Controller->ControllerNumber, LogicalDriveNumber, in DAC960_V1_ReportDeviceConfiguration()
1765 int PhysicalDeviceIndex, LogicalDriveNumber; in DAC960_V2_ReportDeviceConfiguration() local
1855 for (LogicalDriveNumber = 0; in DAC960_V2_ReportDeviceConfiguration()
1856 LogicalDriveNumber < DAC960_MaxLogicalDrives; in DAC960_V2_ReportDeviceConfiguration()
1857 LogicalDriveNumber++) in DAC960_V2_ReportDeviceConfiguration()
1860 Controller->V2.LogicalDeviceInformation[LogicalDriveNumber]; in DAC960_V2_ReportDeviceConfiguration()
1888 Controller, Controller->ControllerNumber, LogicalDriveNumber, in DAC960_V2_ReportDeviceConfiguration()
2122 int LogicalDriveNumber, i; in DAC960_ComputeGenericDiskInfo() local
2123 for (LogicalDriveNumber = 0; in DAC960_ComputeGenericDiskInfo()
2124 LogicalDriveNumber < DAC960_MaxLogicalDrives; in DAC960_ComputeGenericDiskInfo()
2125 LogicalDriveNumber++) in DAC960_ComputeGenericDiskInfo()
2127 int MinorNumber = DAC960_MinorNumber(LogicalDriveNumber, 0); in DAC960_ComputeGenericDiskInfo()
2130 if (LogicalDriveNumber < Controller->LogicalDriveCount) in DAC960_ComputeGenericDiskInfo()
2133 [LogicalDriveNumber].LogicalDriveSize; in DAC960_ComputeGenericDiskInfo()
2139 Controller->V2.LogicalDeviceInformation[LogicalDriveNumber]; in DAC960_ComputeGenericDiskInfo()
2159 int LogicalDriveNumber) in DAC960_RegisterDisk() argument
2163 if (LogicalDriveNumber > Controller->LogicalDriveCount - 1) return; in DAC960_RegisterDisk()
2166 LogicalDriveNumber, 0), in DAC960_RegisterDisk()
2170 [LogicalDriveNumber].LogicalDriveSize); in DAC960_RegisterDisk()
2175 Controller->V2.LogicalDeviceInformation[LogicalDriveNumber]; in DAC960_RegisterDisk()
2179 LogicalDriveNumber, 0), in DAC960_RegisterDisk()
2759 int LogicalDriveNumber; in DAC960_Initialize() local
2763 for (LogicalDriveNumber = 0; in DAC960_Initialize()
2764 LogicalDriveNumber < DAC960_MaxLogicalDrives; in DAC960_Initialize()
2765 LogicalDriveNumber++) in DAC960_Initialize()
2766 DAC960_RegisterDisk(Controller, LogicalDriveNumber); in DAC960_Initialize()
2823 CommandMailbox->Type5.LD.LogicalDriveNumber = Command->LogicalDriveNumber; in DAC960_V1_QueueReadWriteCommand()
2840 CommandMailbox->Type5.LD.LogicalDriveNumber = Command->LogicalDriveNumber; in DAC960_V1_QueueReadWriteCommand()
2889 Controller->V2.LogicalDriveToVirtualDevice[Command->LogicalDriveNumber]; in DAC960_V2_QueueReadWriteCommand()
2990 Command->LogicalDriveNumber = DAC960_LogicalDriveNumber(Request->rq_dev); in DAC960_ProcessRequest()
3102 Command->LogicalDriveNumber, Command->BlockNumber, in DAC960_V1_ReadWriteError()
3107 Command->LogicalDriveNumber, in DAC960_V1_ReadWriteError()
3255 int LogicalDriveNumber = Controller->LogicalDriveCount - 1; in DAC960_V1_ProcessCompletedCommand() local
3256 while (++LogicalDriveNumber < NewEnquiry->NumberOfLogicalDrives) in DAC960_V1_ProcessCompletedCommand()
3259 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3261 LogicalDriveNumber); in DAC960_V1_ProcessCompletedCommand()
3267 int LogicalDriveNumber = NewEnquiry->NumberOfLogicalDrives - 1; in DAC960_V1_ProcessCompletedCommand() local
3268 while (++LogicalDriveNumber < Controller->LogicalDriveCount) in DAC960_V1_ProcessCompletedCommand()
3271 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3273 LogicalDriveNumber); in DAC960_V1_ProcessCompletedCommand()
3517 int LogicalDriveNumber; in DAC960_V1_ProcessCompletedCommand() local
3518 for (LogicalDriveNumber = 0; in DAC960_V1_ProcessCompletedCommand()
3519 LogicalDriveNumber < Controller->LogicalDriveCount; in DAC960_V1_ProcessCompletedCommand()
3520 LogicalDriveNumber++) in DAC960_V1_ProcessCompletedCommand()
3523 &Controller->V1.LogicalDriveInformation[LogicalDriveNumber]; in DAC960_V1_ProcessCompletedCommand()
3525 &Controller->V1.NewLogicalDriveInformation[LogicalDriveNumber]; in DAC960_V1_ProcessCompletedCommand()
3530 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3532 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3543 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3545 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3555 unsigned int LogicalDriveNumber = in DAC960_V1_ProcessCompletedCommand() local
3556 Controller->V1.RebuildProgress.LogicalDriveNumber; in DAC960_V1_ProcessCompletedCommand()
3571 Controller, LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3573 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3616 unsigned int LogicalDriveNumber = in DAC960_V1_ProcessCompletedCommand() local
3617 Controller->V1.RebuildProgress.LogicalDriveNumber; in DAC960_V1_ProcessCompletedCommand()
3628 Controller, LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3630 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3638 unsigned int LogicalDriveNumber = in DAC960_V1_ProcessCompletedCommand() local
3639 Controller->V1.BackgroundInitializationStatus.LogicalDriveNumber; in DAC960_V1_ProcessCompletedCommand()
3659 LogicalDriveNumber == in DAC960_V1_ProcessCompletedCommand()
3661 .LogicalDriveNumber) in DAC960_V1_ProcessCompletedCommand()
3667 Controller, LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3669 LogicalDriveNumber, in DAC960_V1_ProcessCompletedCommand()
3966 Command->LogicalDriveNumber, Command->BlockNumber, in DAC960_V2_ReadWriteError()
3971 Command->LogicalDriveNumber, in DAC960_V2_ReadWriteError()
4711 int LogicalDriveNumber; in DAC960_V2_ProcessCompletedCommand() local
4712 for (LogicalDriveNumber = 0; in DAC960_V2_ProcessCompletedCommand()
4713 LogicalDriveNumber < DAC960_MaxLogicalDrives; in DAC960_V2_ProcessCompletedCommand()
4714 LogicalDriveNumber++) in DAC960_V2_ProcessCompletedCommand()
4717 Controller->V2.LogicalDeviceInformation[LogicalDriveNumber]; in DAC960_V2_ProcessCompletedCommand()
4720 [LogicalDriveNumber]) in DAC960_V2_ProcessCompletedCommand()
4724 LogicalDriveNumber, in DAC960_V2_ProcessCompletedCommand()
4726 LogicalDriveNumber); in DAC960_V2_ProcessCompletedCommand()
4728 [LogicalDriveNumber] = NULL; in DAC960_V2_ProcessCompletedCommand()
4731 [LogicalDriveNumber] = false; in DAC960_V2_ProcessCompletedCommand()
4831 int LogicalDriveNumber; in DAC960_V2_ProcessCompletedCommand() local
4832 for (LogicalDriveNumber = 0; in DAC960_V2_ProcessCompletedCommand()
4833 LogicalDriveNumber < DAC960_MaxLogicalDrives; in DAC960_V2_ProcessCompletedCommand()
4834 LogicalDriveNumber++) in DAC960_V2_ProcessCompletedCommand()
4836 [LogicalDriveNumber] = false; in DAC960_V2_ProcessCompletedCommand()
5304 int LogicalDriveNumber; in DAC960_MonitoringTimerFunction() local
5305 for (LogicalDriveNumber = 0; in DAC960_MonitoringTimerFunction()
5306 LogicalDriveNumber < DAC960_MaxLogicalDrives; in DAC960_MonitoringTimerFunction()
5307 LogicalDriveNumber++) in DAC960_MonitoringTimerFunction()
5310 Controller->V2.LogicalDeviceInformation[LogicalDriveNumber]; in DAC960_MonitoringTimerFunction()
5371 int LogicalDriveNumber = DAC960_LogicalDriveNumber(Inode->i_rdev); in DAC960_Open() local
5373 if (ControllerNumber == 0 && LogicalDriveNumber == 0 && in DAC960_Open()
5382 if (LogicalDriveNumber > Controller->LogicalDriveCount - 1) in DAC960_Open()
5385 [LogicalDriveNumber].LogicalDriveState in DAC960_Open()
5392 Controller->V2.LogicalDeviceInformation[LogicalDriveNumber]; in DAC960_Open()
5398 if (!Controller->LogicalDriveInitiallyAccessible[LogicalDriveNumber]) in DAC960_Open()
5400 Controller->LogicalDriveInitiallyAccessible[LogicalDriveNumber] = true; in DAC960_Open()
5402 DAC960_RegisterDisk(Controller, LogicalDriveNumber); in DAC960_Open()
5410 Controller->LogicalDriveUsageCount[LogicalDriveNumber]++; in DAC960_Open()
5423 int LogicalDriveNumber = DAC960_LogicalDriveNumber(Inode->i_rdev); in DAC960_Release() local
5425 if (ControllerNumber == 0 && LogicalDriveNumber == 0 && in DAC960_Release()
5431 Controller->LogicalDriveUsageCount[LogicalDriveNumber]--; in DAC960_Release()
5446 int LogicalDriveNumber = DAC960_LogicalDriveNumber(Inode->i_rdev); in DAC960_IOCTL() local
5464 if (LogicalDriveNumber > Controller->LogicalDriveCount - 1) in DAC960_IOCTL()
5469 Controller->V1.LogicalDriveInformation[LogicalDriveNumber] in DAC960_IOCTL()
5476 Controller->V2.LogicalDeviceInformation[LogicalDriveNumber]; in DAC960_IOCTL()
5523 if (Controller->LogicalDriveUsageCount[LogicalDriveNumber] > 1) in DAC960_IOCTL()
5530 LogicalDriveNumber, in DAC960_IOCTL()
5532 int MinorNumber = DAC960_MinorNumber(LogicalDriveNumber, in DAC960_IOCTL()
5553 DAC960_RegisterDisk(Controller, LogicalDriveNumber); in DAC960_IOCTL()
6332 unsigned char *LogicalDriveNumber) in DAC960_ParseLogicalDrive() argument
6345 *LogicalDriveNumber = XLogicalDriveNumber; in DAC960_ParseLogicalDrive()
6417 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V1_ExecuteUserCommand() local
6520 &LogicalDriveNumber)) in DAC960_V1_ExecuteUserCommand()
6523 CommandMailbox->Type3C.LogicalDriveNumber = LogicalDriveNumber; in DAC960_V1_ExecuteUserCommand()
6531 Controller, LogicalDriveNumber, in DAC960_V1_ExecuteUserCommand()
6533 LogicalDriveNumber); in DAC960_V1_ExecuteUserCommand()
6539 Controller, LogicalDriveNumber, in DAC960_V1_ExecuteUserCommand()
6541 LogicalDriveNumber); in DAC960_V1_ExecuteUserCommand()
6547 Controller, LogicalDriveNumber, in DAC960_V1_ExecuteUserCommand()
6549 LogicalDriveNumber); in DAC960_V1_ExecuteUserCommand()
6555 Controller, LogicalDriveNumber, in DAC960_V1_ExecuteUserCommand()
6557 LogicalDriveNumber); in DAC960_V1_ExecuteUserCommand()
6563 Controller, LogicalDriveNumber, in DAC960_V1_ExecuteUserCommand()
6565 LogicalDriveNumber, Command->V1.CommandStatus); in DAC960_V1_ExecuteUserCommand()
6656 unsigned char Channel, TargetID, LogicalDriveNumber; in DAC960_V2_ExecuteUserCommand() local
6770 &LogicalDriveNumber)) in DAC960_V2_ExecuteUserCommand()
6773 LogicalDriveNumber; in DAC960_V2_ExecuteUserCommand()
6781 Controller, LogicalDriveNumber, in DAC960_V2_ExecuteUserCommand()
6783 LogicalDriveNumber, in DAC960_V2_ExecuteUserCommand()
6790 &LogicalDriveNumber)) in DAC960_V2_ExecuteUserCommand()
6793 LogicalDriveNumber; in DAC960_V2_ExecuteUserCommand()
6799 Controller, LogicalDriveNumber, in DAC960_V2_ExecuteUserCommand()
6801 LogicalDriveNumber, in DAC960_V2_ExecuteUserCommand()