Searched refs:VDeviceType (Results 1 – 6 of 6) sorted by relevance
108 switch (pVDevice->VDeviceType) { in get_vdev_type()597 pArray->VDeviceType = VD_JBOD; in hpt_create_array_v2()603 pArray->VDeviceType = VD_RAID_0; in hpt_create_array_v2()609 pArray->VDeviceType = VD_RAID_5; in hpt_create_array_v2()618 pArray->VDeviceType = VD_RAID_1; in hpt_create_array_v2()703 pArray->VDeviceType = VD_RAID_0; in hpt_create_array_v2()753 switch(pArray->VDeviceType) in hpt_create_array_v2()850 pArray2->VDeviceType = VD_RAID_0; in old_add_disk_to_raid01()919 if(pArray->VDeviceType != VD_RAID_1 && pArray->VDeviceType != VD_RAID_5) in hpt_add_disk_to_array()921 if((pDisk->VDeviceType != VD_SINGLE_DISK) && (pDisk->VDeviceType != VD_SPARE)) in hpt_add_disk_to_array()[all …]
82 …(UCHAR)((pArray->u.array.CriticalMembers || pArray->VDeviceType == VD_RAID_1)? DUPLICATE : REBUILD… in hpt_set_asc_info()140 switch(pArray->VDeviceType) in hpt_set_asc_info()194 if(pArray->VDeviceType != VD_RAID_1 && pArray->VDeviceType != VD_RAID_5) { in hpt_set_asc_info()407 else if (pVDev->VDeviceType==VD_SPARE) in hpt_copy_disk_info()436 switch (pArray->VDeviceType) { in hpt_copy_array_info()560 if (pVDev->pParent->VDeviceType==VD_RAID_1 && pVDev==pVDev->pParent->u.array.pMember[0]) in hpt_get_info()
40 UCHAR VDeviceType; member108 #define mIsArray(pVDev) (pVDev->VDeviceType>VD_SINGLE_DISK)
486 …(UCHAR)((pVDevice->u.array.CriticalMembers || pVDevice->VDeviceType == VD_RAID_1)? DUPLICATE : REB… in hpt_set_array_state()502 if(pVDevice->u.array.pMember[i] != 0 && pVDevice->u.array.pMember[i]->VDeviceType == VD_RAID_1) in hpt_set_array_state()743 if (pArray->VDeviceType==VD_RAID_1) in hpt_rebuild_data_block()780 else if (pArray->VDeviceType==VD_RAID_5) in hpt_rebuild_data_block()896 (pArray->VDeviceType == VD_RAID_1) ? DUPLICATE : REBUILD_PARITY); in hpt_rebuild_data_block()
426 pVDev->VDeviceType = pVDev->u.disk.df_atapi? VD_ATAPI : in device_change()430 pVDev->pfnSendCommand = pfnSendCommand[pVDev->VDeviceType]; in device_change()431 pVDev->pfnDeviceFailed = pfnDeviceFailed[pVDev->VDeviceType]; in device_change()1000 if (pLogical->VDeviceType==VD_SPARE || pPhysical!=fGetFirstChild(pLogical)) in fRegisterVdevice()1042 if (pVDevice->VDeviceType==VD_SPARE && in GetSpareDisk()1225 pVDev->VDeviceType = pDev->df_atapi? VD_ATAPI : in IdeRegisterVDevice()1229 pVDev->pfnSendCommand = pfnSendCommand[pVDev->VDeviceType]; in IdeRegisterVDevice()1230 pVDev->pfnDeviceFailed = pfnDeviceFailed[pVDev->VDeviceType]; in IdeRegisterVDevice()2496 …(UCHAR)((pVDev->u.array.CriticalMembers || pVDev->VDeviceType == VD_RAID_1)? DUPLICATE : REBUILD_P… in launch_worker_thread()2556 switch(pVDev->VDeviceType) { in SetInquiryData()[all …]
130 UCHAR VDeviceType; /* see above & arrayType in array.h */ member