Lines Matching refs:array

75 				if ((pArray=ArrayTables(i))->u.array.dArStamp==0)  in hpt_set_asc_info()
78 if (pArray->u.array.rf_need_rebuild && !pArray->u.array.rf_rebuilding) in hpt_set_asc_info()
80 …(UCHAR)((pArray->u.array.CriticalMembers || pArray->VDeviceType == VD_RAID_1)? DUPLICATE : REBUILD… in hpt_set_asc_info()
88 if ((pArray=ArrayTables(i))->u.array.dArStamp==0) in hpt_set_asc_info()
91 if (pArray->u.array.rf_rebuilding) in hpt_set_asc_info()
92 pArray->u.array.rf_abort_rebuild = 1; in hpt_set_asc_info()
149 pSubArray->u.array.rf_auto_rebuild = 0; in hpt_set_asc_info()
150 pSubArray->u.array.rf_abort_rebuild = 0; in hpt_set_asc_info()
155 for (i = 0; (UCHAR)i < pArray->u.array.bArnMember; i++) in hpt_set_asc_info()
156 if(pArray->u.array.pMember[i] && mIsArray(pArray->u.array.pMember[i]) && in hpt_set_asc_info()
157 (pArray->u.array.pMember[i]->u.array.rf_broken == 1)) in hpt_set_asc_info()
159 pSubArray = pArray->u.array.pMember[i]; in hpt_set_asc_info()
197 if (!(pArray->u.array.rf_need_rebuild || in hpt_set_asc_info()
198 pArray->u.array.rf_rebuilding || in hpt_set_asc_info()
199 pArray->u.array.rf_verifying || in hpt_set_asc_info()
200 pArray->u.array.rf_initializing)) in hpt_set_asc_info()
202 pArray->u.array.RebuildSectors = 0; in hpt_set_asc_info()
226 if(pArray->u.array.rf_verifying) in hpt_set_asc_info()
228 pArray->u.array.rf_abort_rebuild = 1; in hpt_set_asc_info()
411 memcpy(arrayname, pVDev->pParent->u.array.ArrayName, MAX_ARRAY_NAME); in hpt_copy_disk_info()
412 if (pVDev->pParent->u.array.CriticalMembers & (1<<pVDev->bSerialNumber)) in hpt_copy_disk_info()
435 for (i = 0; (UCHAR)i < pArray->u.array.bArnMember; i++) in hpt_copy_array_info()
436 if(pArray->u.array.pMember[i]) { in hpt_copy_array_info()
437 if(mIsArray(pArray->u.array.pMember[i])) in hpt_copy_array_info()
465 else if (pArray->u.array.rf_broken) in hpt_copy_array_info()
467 for (i = 0; (UCHAR)i < pArray->u.array.bArnMember; i++) in hpt_copy_array_info()
471 if(mIsArray(pArray->u.array.pMember[i])) in hpt_copy_array_info()
472 pTmpArray = pArray->u.array.pMember[i]; in hpt_copy_array_info()
476 if (pTmpArray->u.array.rf_rebuilding) { in hpt_copy_array_info()
478 sprintf(buf, "Rebuilding %lldMB", (pTmpArray->u.array.RebuildSectors>>11)); in hpt_copy_array_info()
480 …building %d%%", (UINT)((pTmpArray->u.array.RebuildSectors>>11)*100/((pTmpArray->VDeviceCapacity/(p… in hpt_copy_array_info()
484 else if (pTmpArray->u.array.rf_verifying) { in hpt_copy_array_info()
485 …erifying %d%%", (UINT)((pTmpArray->u.array.RebuildSectors>>11)*100/((pTmpArray->VDeviceCapacity/(p… in hpt_copy_array_info()
488 else if (pTmpArray->u.array.rf_need_rebuild) in hpt_copy_array_info()
490 else if (pTmpArray->u.array.rf_broken) in hpt_copy_array_info()
500 …hpt_copy_info(pinfo, "%2d %11s %-20s %5lldMB %-16s", nld, sType, pArray->u.array.ArrayName, pA… in hpt_copy_array_info()
557 if (pVDev->pParent->VDeviceType==VD_RAID_1 && pVDev==pVDev->pParent->u.array.pMember[0]) in hpt_get_info()