Home
last modified time | relevance | path

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

/freebsd/sys/dev/hptmv/
H A Dgui_lib.c230 static void get_array_info(PVDevice pVDevice, PHPT_ARRAY_INFO pArrayInfo) in get_array_info() argument
234 memcpy(pArrayInfo->Name, pVDevice->u.array.ArrayName, MAX_ARRAY_NAME); in get_array_info()
235 pArrayInfo->ArrayType = get_vdev_type(pVDevice); in get_array_info()
236 pArrayInfo->BlockSizeShift = pVDevice->u.array.bArBlockSizeShift; in get_array_info()
237 pArrayInfo->RebuiltSectors = pVDevice->u.array.RebuildSectors; in get_array_info()
238 pArrayInfo->Flags = get_array_flag(pVDevice); in get_array_info()
239 pArrayInfo->RebuildingProgress = calc_rebuild_progress(pVDevice); in get_array_info()
241 pArrayInfo->nDisk = 0; in get_array_info()
245 pArrayInfo->Members[pArrayInfo->nDisk++] = VDEV_TO_ID(pVDevice->u.array.pMember[i]); in get_array_info()
247 for(i=pArrayInfo->nDisk; i<MAX_ARRAY_MEMBERS; i++) in get_array_info()
[all …]