Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/hptmv/
H A Dioctl.c536 pVDevice->u.array.RebuildSectors = 0; in hpt_set_array_state()
701 pArray->u.array.RebuildSectors>=capacity) in hpt_rebuild_data_block()
772 pCmd->uCmd.R1Control.Lba = pArray->u.array.RebuildSectors; in hpt_rebuild_data_block()
774 if (capacity - pArray->u.array.RebuildSectors < pCmd->uCmd.R1Control.nSectors) in hpt_rebuild_data_block()
775 pCmd->uCmd.R1Control.nSectors = capacity - pArray->u.array.RebuildSectors; in hpt_rebuild_data_block()
792 pCmd->uCmd.R5Control.StripeLine=pArray->u.array.RebuildSectors>>pArray->u.array.bArBlockSizeShift; in hpt_rebuild_data_block()
820 if(pArray->u.array.RebuildSectors < capacity) in hpt_rebuild_data_block()
834 pArray->u.array.RebuildSectors = MAX_LBA_T; in hpt_rebuild_data_block()
843 pArray->u.array.RebuildSectors = MAX_LBA_T; in hpt_rebuild_data_block()
H A Darray.h91 LBA_T RebuildSectors; /* how many sectors is OK (LBA on member disk) */ member
145 ULONG RebuildSectors; /* how many sectors is OK (LBA on member disk) */ member
H A Dgui_lib.c207 DWORD result = ((ULONG)(pVDevice->u.array.RebuildSectors>>11)*1000 / in calc_rebuild_progress()
221 DWORD percent = ((ULONG)(pMember->u.array.RebuildSectors>>11)*1000 / in calc_rebuild_progress()
239 pArrayInfo->RebuiltSectors = pVDevice->u.array.RebuildSectors; in get_array_info()
260 pArrayInfo->RebuiltSectors.lo32 = pVDevice->u.array.RebuildSectors; in get_array_info_v2()
261 pArrayInfo->RebuiltSectors.hi32 = sizeof(LBA_T)>4? (pVDevice->u.array.RebuildSectors>>32) : 0; in get_array_info_v2()
642 pArray->u.array.RebuildSectors = pArray->u.array.rf_need_rebuild? 0 : MAX_LBA_T; in hpt_create_array_v2()
678 pChild->u.array.RebuildSectors = MAX_LBA_T; in hpt_create_array_v2()
900 pArray1->u.array.RebuildSectors = 0; in old_add_disk_to_raid01()
973 pArray->u.array.RebuildSectors = 0; in hpt_add_disk_to_array()
977 pArray->u.array.RebuildSectors = 0; in hpt_add_disk_to_array()
H A Dhptproc.c204 pArray->u.array.RebuildSectors = 0; in hpt_set_asc_info()
481 sprintf(buf, "Rebuilding %lldMB", (pTmpArray->u.array.RebuildSectors>>11)); in hpt_copy_array_info()
483 …sprintf(buf, "Rebuilding %d%%", (UINT)((pTmpArray->u.array.RebuildSectors>>11)*100/((pTmpArray->VD… in hpt_copy_array_info()
488 …sprintf(buf, "Verifying %d%%", (UINT)((pTmpArray->u.array.RebuildSectors>>11)*100/((pTmpArray->VDe… in hpt_copy_array_info()