Searched refs:VDeviceType (Results 1 – 6 of 6) sorted by relevance
105 switch (pVDevice->VDeviceType) { in get_vdev_type()165 if (!pMember || !pMember->vf_online || (pMember->VDeviceType==VD_SINGLE_DISK)) in get_array_flag()210 if (!pMember || !pMember->vf_online || (pMember->VDeviceType==VD_SINGLE_DISK)) in calc_rebuild_progress()333 if(pVDevice->VDeviceType == VD_SPARE) in get_disk_info()495 if (pLogical->VDeviceType==VD_SPARE) in hpt_get_logical_devices()593 pArray->VDeviceType = VD_JBOD; in hpt_create_array_v2()599 pArray->VDeviceType = VD_RAID_0; in hpt_create_array_v2()605 pArray->VDeviceType = VD_RAID_5; in hpt_create_array_v2()614 pArray->VDeviceType = VD_RAID_1; in hpt_create_array_v2()626 (pArray->VDeviceType == VD_RAID_1)) in hpt_create_array_v2()[all …]
80 …(UCHAR)((pArray->u.array.CriticalMembers || pArray->VDeviceType == VD_RAID_1)? DUPLICATE : REBUILD… in hpt_set_asc_info()138 switch(pArray->VDeviceType) in hpt_set_asc_info()192 if(pArray->VDeviceType != VD_RAID_1 && pArray->VDeviceType != VD_RAID_5) { in hpt_set_asc_info()404 else if (pVDev->VDeviceType==VD_SPARE) in hpt_copy_disk_info()433 switch (pArray->VDeviceType) { in hpt_copy_array_info()557 if (pVDev->pParent->VDeviceType==VD_RAID_1 && pVDev==pVDev->pParent->u.array.pMember[0]) in hpt_get_info()
38 UCHAR VDeviceType; member106 #define mIsArray(pVDev) (pVDev->VDeviceType>VD_SINGLE_DISK)
484 …(UCHAR)((pVDevice->u.array.CriticalMembers || pVDevice->VDeviceType == VD_RAID_1)? DUPLICATE : REB… in hpt_set_array_state()500 if(pVDevice->u.array.pMember[i] != 0 && pVDevice->u.array.pMember[i]->VDeviceType == VD_RAID_1) in hpt_set_array_state()741 if (pArray->VDeviceType==VD_RAID_1) in hpt_rebuild_data_block()778 else if (pArray->VDeviceType==VD_RAID_5) in hpt_rebuild_data_block()894 (pArray->VDeviceType == VD_RAID_1) ? DUPLICATE : REBUILD_PARITY); in hpt_rebuild_data_block()
420 pVDev->VDeviceType = pVDev->u.disk.df_atapi? VD_ATAPI : in device_change()424 pVDev->pfnSendCommand = pfnSendCommand[pVDev->VDeviceType]; in device_change()425 pVDev->pfnDeviceFailed = pfnDeviceFailed[pVDev->VDeviceType]; in device_change()994 if (pLogical->VDeviceType==VD_SPARE || pPhysical!=fGetFirstChild(pLogical)) in fRegisterVdevice()1035 if (pVDevice->VDeviceType==VD_SPARE && in GetSpareDisk()1218 pVDev->VDeviceType = pDev->df_atapi? VD_ATAPI : in IdeRegisterVDevice()1222 pVDev->pfnSendCommand = pfnSendCommand[pVDev->VDeviceType]; in IdeRegisterVDevice()1223 pVDev->pfnDeviceFailed = pfnDeviceFailed[pVDev->VDeviceType]; in IdeRegisterVDevice()2479 …(UCHAR)((pVDev->u.array.CriticalMembers || pVDev->VDeviceType == VD_RAID_1)? DUPLICATE : REBUILD_P… in launch_worker_thread()2539 switch(pVDev->VDeviceType) { in SetInquiryData()[all …]
128 UCHAR VDeviceType; /* see above & arrayType in array.h */ member