Home
last modified time | relevance | path

Searched refs:RebuildSectors (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/hptmv/
H A Dioctl.c534 pVDevice->u.array.RebuildSectors = 0; in hpt_set_array_state()
699 pArray->u.array.RebuildSectors>=capacity) in hpt_rebuild_data_block()
770 pCmd->uCmd.R1Control.Lba = pArray->u.array.RebuildSectors; in hpt_rebuild_data_block()
772 if (capacity - pArray->u.array.RebuildSectors < pCmd->uCmd.R1Control.nSectors) in hpt_rebuild_data_block()
773 pCmd->uCmd.R1Control.nSectors = capacity - pArray->u.array.RebuildSectors; in hpt_rebuild_data_block()
790 pCmd->uCmd.R5Control.StripeLine=pArray->u.array.RebuildSectors>>pArray->u.array.bArBlockSizeShift; in hpt_rebuild_data_block()
818 if(pArray->u.array.RebuildSectors < capacity) in hpt_rebuild_data_block()
832 pArray->u.array.RebuildSectors = MAX_LBA_T; in hpt_rebuild_data_block()
841 pArray->u.array.RebuildSectors = MAX_LBA_T; in hpt_rebuild_data_block()
H A Darray.h89 LBA_T RebuildSectors; /* how many sectors is OK (LBA on member disk) */ member
143 ULONG RebuildSectors; /* how many sectors is OK (LBA on member disk) */ member
H A Dgui_lib.c204 DWORD result = ((ULONG)(pVDevice->u.array.RebuildSectors>>11)*1000 / in calc_rebuild_progress()
218 DWORD percent = ((ULONG)(pMember->u.array.RebuildSectors>>11)*1000 / in calc_rebuild_progress()
236 pArrayInfo->RebuiltSectors = pVDevice->u.array.RebuildSectors; in get_array_info()
257 pArrayInfo->RebuiltSectors.lo32 = pVDevice->u.array.RebuildSectors; in get_array_info_v2()
258 pArrayInfo->RebuiltSectors.hi32 = sizeof(LBA_T)>4? (pVDevice->u.array.RebuildSectors>>32) : 0; in get_array_info_v2()
638 pArray->u.array.RebuildSectors = pArray->u.array.rf_need_rebuild? 0 : MAX_LBA_T; in hpt_create_array_v2()
674 pChild->u.array.RebuildSectors = MAX_LBA_T; in hpt_create_array_v2()
896 pArray1->u.array.RebuildSectors = 0; in old_add_disk_to_raid01()
969 pArray->u.array.RebuildSectors = 0; in hpt_add_disk_to_array()
973 pArray->u.array.RebuildSectors = 0; in hpt_add_disk_to_array()
H A Dhptproc.c202 pArray->u.array.RebuildSectors = 0; in hpt_set_asc_info()
478 sprintf(buf, "Rebuilding %lldMB", (pTmpArray->u.array.RebuildSectors>>11)); in hpt_copy_array_info()
480 …sprintf(buf, "Rebuilding %d%%", (UINT)((pTmpArray->u.array.RebuildSectors>>11)*100/((pTmpArray->VD… in hpt_copy_array_info()
485 …sprintf(buf, "Verifying %d%%", (UINT)((pTmpArray->u.array.RebuildSectors>>11)*100/((pTmpArray->VDe… in hpt_copy_array_info()