Home
last modified time | relevance | path

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

/dragonfly/sys/dev/raid/hptmv/
H A Dioctl.c159 PVDevice pArray = ID_TO_VDEV(id); in hpt_delete_array() local
167 if(!mIsArray(pArray)) return -1; in hpt_delete_array()
169 if (pArray->u.array.rf_rebuilding || pArray->u.array.rf_verifying || in hpt_delete_array()
170 pArray->u.array.rf_initializing) in hpt_delete_array()
224 PVDevice pArray; in Kernel_DeviceIoControl() local
232 pArray = ID_TO_VDEV(idArray); in Kernel_DeviceIoControl()
237 if(!mIsArray(pArray)) in Kernel_DeviceIoControl()
240 _vbus_p=pArray->pVBus; in Kernel_DeviceIoControl()
694 ULONG capacity = pArray->VDeviceCapacity / (pArray->u.array.bArnMember-1); in hpt_rebuild_data_block()
801 pCmd->pVDevice = pArray; in hpt_rebuild_data_block()
[all …]
H A Dgui_lib.c648 pArray->u.array.pMember[i]->pParent = pArray; in hpt_create_array_v2()
726 pArray->vf_bootmark = pArray->u.array.pMember[0]->vf_bootmark; in hpt_create_array_v2()
727 pArray->vf_bootable = pArray->u.array.pMember[0]->vf_bootable; in hpt_create_array_v2()
765 pArray->VDeviceCapacity = capacity * pArray->u.array.bArnMember; in hpt_create_array_v2()
775 pArray->VDeviceCapacity += pArray->u.array.pMember[i]->VDeviceCapacity in hpt_create_array_v2()
794 pArray->pfnSendCommand = pfnSendCommand[pArray->VDeviceType]; in hpt_create_array_v2()
917 if(pArray->VDeviceType != VD_RAID_1 && pArray->VDeviceType != VD_RAID_5) in hpt_add_disk_to_array()
924 if (pArray->vf_format_v2 && pArray->VDeviceType==VD_RAID_1 && in hpt_add_disk_to_array()
935 Capacity = pArray->VDeviceCapacity / (pArray->u.array.bArnMember - 1); in hpt_add_disk_to_array()
968 if(pArray->u.array.bArnMember == pArray->u.array.bArRealnMember) in hpt_add_disk_to_array()
[all …]
H A Dhptproc.c64 PVDevice pArray; in hpt_set_asc_info() local
81 if (pArray->u.array.rf_need_rebuild && !pArray->u.array.rf_rebuilding) in hpt_set_asc_info()
109 if (!pArray || (pArray->vf_online == 0)) return -EINVAL; in hpt_set_asc_info()
134 switch(pArray->VDeviceType) in hpt_set_asc_info()
139 pSubArray = pArray; in hpt_set_asc_info()
154 if(pArray->u.array.pMember[i] && mIsArray(pArray->u.array.pMember[i]) && in hpt_set_asc_info()
180 if (!pArray || (pArray->vf_online == 0)) return -EINVAL; in hpt_set_asc_info()
182 if(pArray->VDeviceType != VD_RAID_1 && pArray->VDeviceType != VD_RAID_5) in hpt_set_asc_info()
208 if (!pArray || (pArray->vf_online == 0)) return -EINVAL; in hpt_set_asc_info()
440 if (pArray->vf_online == 0) in hpt_copy_array_info()
[all …]
H A Darray.h217 PVDevice HPTLIBAPI GetSpareDisk(_VBUS_ARG PVDevice pArray);
236 #define _SET_ARRAY_BUS_(pArray) pArray->pVBus = _vbus_p; argument
239 #define _SET_ARRAY_VER_(pArray) pArray->vf_format_v2 = 1; argument
241 #define _SET_ARRAY_VER_(pArray) argument
H A Draid5n.h82 extern void HPTLIBAPI flush_raid5_async(PVDevice pArray, DPC_PROC done, void *arg);
85 extern int HPTLIBAPI flush_raid5(PVDevice pArray);
87 extern void HPTLIBAPI raid5_free(_VBUS_ARG PVDevice pArray);
H A Dentry.c1033 GetSpareDisk(_VBUS_ARG PVDevice pArray) in GetSpareDisk() argument
1036 LBA_T capacity = LongDiv(pArray->VDeviceCapacity, pArray->u.array.bArnMember-1); in GetSpareDisk()
2196 PVDevice pArray; in Check_Idle_Call() local
2198 if ((pArray=ArrayTables(i))->u.array.dArStamp==0) in Check_Idle_Call()
2200 else if (pArray->u.array.rf_auto_rebuild) { in Check_Idle_Call()
2202 pArray->u.array.rf_auto_rebuild = 0; in Check_Idle_Call()
2435 PVDevice pArray; in hpt_worker_thread() local
2448 else if (pArray->u.array.rf_rebuilding || in hpt_worker_thread()
2449 pArray->u.array.rf_verifying || in hpt_worker_thread()
2450 pArray->u.array.rf_initializing) in hpt_worker_thread()
[all …]
H A Dvdevice.h183 #define FOR_EACH_ARRAY_ON_ALL_VBUS(pVBus, pArray, i) \ argument
186 …if ((pArray=((PVDevice)&pVBus->_ArrayTables[i*ARRAY_VDEV_SIZE]))->u.array.dArStamp==0) continue; e…
H A Dosbsd.h200 void hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags);
/dragonfly/sys/dev/raid/hpt27xx/
H A Darray.h157 void ldm_start_rebuild(struct _VDEV *pArray);
159 #define ldm_start_rebuild(pArray) argument
178 void ldm_check_array_online(PVDEV pArray);
180 void ldm_sync_array_info(PVDEV pArray);
181 void ldm_sync_array_stamp(PVDEV pArray);
182 void ldm_add_spare_to_array(PVDEV pArray, PVDEV spare_partition);
/dragonfly/sys/dev/raid/hptrr/
H A Darray.h158 void ldm_start_rebuild(struct _VDEV *pArray);
160 #define ldm_start_rebuild(pArray) argument
181 void ldm_check_array_online(PVDEV pArray);
183 void ldm_sync_array_info(PVDEV pArray);
184 void ldm_sync_array_stamp(PVDEV pArray);
185 void ldm_add_spare_to_array(PVDEV pArray, PVDEV spare_partition);