Home
last modified time | relevance | path

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

/freebsd/sys/dev/hptmv/
H A Dvdevice.h48 PVDevice pParent; /* parent array */
69 void (* HPTLIBAPI pfnDeviceFailed)(_VBUS_ARG PVDevice pVDev); /* call this when a VDevice failed */
83 #define Map2pVDevice(pDev) ((PVDevice)((UINT_PTR)pDev - (UINT)(UINT_PTR)&((PVDevice)0)->u.disk))
112 extern void (* HPTLIBAPI pfnDeviceFailed[])(_VBUS_ARG PVDevice pVDev);
113 void HPTLIBAPI fOsDiskFailed(_VBUS_ARG PVDevice pVDev);
115 void HPTLIBAPI fSingleDiskFailed(_VBUS_ARG PVDevice pVDev);
123 PVDevice pVDevice[MAX_VDEVICE_PER_VBUS];
144 PVDevice pFreeArrayLink;
186 …if ((pArray=((PVDevice)&pVBus->_ArrayTables[i*ARRAY_VDEV_SIZE]))->u.array.dArStamp==0) continue; e…
228 void HPTLIBAPI UnregisterVDevice(PVDevice);
[all …]
H A Darray.h91 PVDevice pMember[MAX_MEMBERS];
209 void HPTLIBAPI SyncArrayInfo(PVDevice pVDev);
210 void HPTLIBAPI fDeleteArray(_VBUS_ARG PVDevice pVArray, BOOLEAN del_block0);
217 PVDevice HPTLIBAPI GetSpareDisk(_VBUS_ARG PVDevice pArray);
219 void HPTLIBAPI fFixRAID01Stripe(_VBUS_ARG PVDevice pStripe);
246 _vbus_(pFreeArrayLink) = (PVDevice)_vbus_(pFreeArrayLink)->pVBus; \
264 void HPTLIBAPI fRAID0MemberFailed(_VBUS_ARG PVDevice pVDev);
265 void HPTLIBAPI fRAID1MemberFailed(_VBUS_ARG PVDevice pVDev);
266 void HPTLIBAPI fJBODMemberFailed(_VBUS_ARG PVDevice pVDev);
269 void HPTLIBAPI fRAID5MemberFailed(_VBUS_ARG PVDevice pVDev);
H A Dgui_lib.c70 check_VDevice_valid(PVDevice p) in check_VDevice_valid()
73 PVDevice pVDevice; in check_VDevice_valid()
104 static UCHAR get_vdev_type(PVDevice pVDevice) in get_vdev_type()
115 static DWORD get_array_flag(PVDevice pVDevice) in get_array_flag()
165 PVDevice pMember = pVDevice->u.array.pMember[i]; in get_array_flag()
202 static DWORD calc_rebuild_progress(PVDevice pVDevice) in calc_rebuild_progress()
210 PVDevice pMember = pVDevice->u.array.pMember[i]; in calc_rebuild_progress()
230 static void get_array_info(PVDevice pVDevice, PHPT_ARRAY_INFO pArrayInfo) in get_array_info()
251 static void get_array_info_v2(PVDevice pVDevice, PHPT_ARRAY_INFO_V2 pArrayInfo) in get_array_info_v2()
274 static int get_disk_info(PVDevice pVDevice, PDEVICE_INFO pDiskInfo) in get_disk_info()
[all …]
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 Dosbsd.h202 void hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags);
248 #define ID_TO_VDEV(id) (PVDevice)(id)
252 #define ID_TO_VDEV(id) (PVDevice)(((ULONG_PTR)gIal_Adapter & 0xffffffff00000000) | (id))
312 int check_VDevice_valid(PVDevice);
H A Dioctl.c123 memcpy(e.Data, ((PVDevice)param)->u.array.ArrayName, MAX_ARRAY_NAME); in ioctl_ReportEvent()
142 e.DeviceID = VDEV_TO_ID((PVDevice)param); in ioctl_ReportEvent()
151 get_disk_location(&((PVDevice)param)->u.disk, &controller, &channel); in ioctl_ReportEvent()
160 PVDevice pArray = ID_TO_VDEV(id); in hpt_delete_array()
163 PVDevice pa; in hpt_delete_array()
222 PVDevice pArray; in Kernel_DeviceIoControl()
312 PVDevice pVDev; in Kernel_DeviceIoControl()
419 PVDevice pArray = ID_TO_VDEV(((PHPT_ADD_DISK_TO_ARRAY)lpInBuffer)->idArray); in Kernel_DeviceIoControl()
458 PVDevice pVDevice = ID_TO_VDEV(idArray); in hpt_set_array_state()
688 hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags) in hpt_rebuild_data_block()
H A Dhptproc.c61 PVDevice pArray; in hpt_set_asc_info()
62 PVDevice pSubArray, pVDev; in hpt_set_asc_info()
396 hpt_copy_disk_info(HPT_GET_INFO *pinfo, PVDevice pVDev, UINT iChan) in hpt_copy_disk_info()
426 hpt_copy_array_info(HPT_GET_INFO *pinfo, int nld, PVDevice pArray) in hpt_copy_array_info()
431 PVDevice pTmpArray; in hpt_copy_array_info()
510 PVDevice pVDev; in hpt_get_info()
H A Dentry.c105 static void SetInquiryData(PINQUIRYDATA inquiryData, PVDevice pVDev);
176 static void failDevice(PVDevice pVDev) in failDevice()
374 PVDevice pVDev = &pAdapter->VDevices[channel]; in init_vdev_params()
410 PVDevice pVDev; in device_change()
434 if((PVDevice)pVDev->pParent->u.array.pMember[iMember] == pVDev) in device_change()
978 extern PVDevice fGetFirstChild(PVDevice pLogical);
979 extern void fResetBootMark(PVDevice pLogical);
983 PVDevice pPhysical, pLogical; in fRegisterVdevice()
1021 PVDevice
[all...]
H A Dglobal.h63 typedef struct _VDevice *PVDevice; typedef
205 #define ArrayTables(i) ((PVDevice)&_vbus_(_ArrayTables)[i*ARRAY_VDEV_SIZE])
H A Dcommand.h98 PVDevice pVDevice;