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

/freebsd-10.3-release/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 */
80 #define ARRAY_VDEV_SIZE ((UINT)(ULONG_PTR)&((PVDevice)0)->u+sizeof(RaidArray))
81 #define DISK_VDEV_SIZE ((UINT)(ULONG_PTR)&((PVDevice)0)->u+sizeof(Device))
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 pVDevic
[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 pVDe
[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.h214 void hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags);
264 #define ID_TO_VDEV(id) (PVDevice)(id)
268 #define ID_TO_VDEV(id) (PVDevice)(((ULONG_PTR)gIal_Adapter & 0xffffffff00000000) | (id))
328 int check_VDevice_valid(PVDevice);
H A Dgui_lib.c70 check_VDevice_valid(PVDevice p)
73 PVDevice pVDevice;
104 static UCHAR get_vdev_type(PVDevice pVDevice)
115 static DWORD get_array_flag(PVDevice pVDevice)
165 PVDevice pMember = pVDevice->u.array.pMember[i];
202 static DWORD calc_rebuild_progress(PVDevice pVDevice)
210 PVDevice pMember = pVDevice->u.array.pMember[i];
230 static void get_array_info(PVDevice pVDevice, PHPT_ARRAY_INFO pArrayInfo)
251 static void get_array_info_v2(PVDevice pVDevice, PHPT_ARRAY_INFO_V2 pArrayInfo)
274 static int get_disk_info(PVDevice pVDevic
[all...]
H A Dioctl.c130 memcpy(e.Data, ((PVDevice)param)->u.array.ArrayName, MAX_ARRAY_NAME);
149 e.DeviceID = VDEV_TO_ID((PVDevice)param);
158 get_disk_location(&((PVDevice)param)->u.disk, &controller, &channel);
166 PVDevice pArray = ID_TO_VDEV(id);
169 PVDevice pa;
241 PVDevice pArray;
331 PVDevice pVDev;
440 PVDevice pArray = ID_TO_VDEV(((PHPT_ADD_DISK_TO_ARRAY)lpInBuffer)->idArray);
488 PVDevice pVDevice = ID_TO_VDEV(idArray);
740 hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArra
[all...]
H A Dhptproc.c64 PVDevice pArray;
65 PVDevice pSubArray, pVDev;
372 hpt_copy_disk_info(HPT_GET_INFO *pinfo, PVDevice pVDev, UINT iChan)
402 hpt_copy_array_info(HPT_GET_INFO *pinfo, int nld, PVDevice pArray)
407 PVDevice pTmpArray;
486 PVDevice pVDev;
H A Dentry.c116 static void SetInquiryData(PINQUIRYDATA inquiryData, PVDevice pVDev);
221 static void failDevice(PVDevice pVDev)
419 PVDevice pVDev = &pAdapter->VDevices[channel];
455 PVDevice pVDev;
479 if((PVDevice)pVDev->pParent->u.array.pMember[iMember] == pVDev)
1022 extern PVDevice fGetFirstChild(PVDevice pLogical);
1023 extern void fResetBootMark(PVDevice pLogical);
1027 PVDevice pPhysical, pLogical;
1065 PVDevice
[all...]
H A Dglobal.h63 typedef struct _VDevice *PVDevice; typedef in typeref:struct:_VDevice
213 #define ArrayTables(i) ((PVDevice)&_vbus_(_ArrayTables)[i*ARRAY_VDEV_SIZE])
H A Dcommand.h98 PVDevice pVDevice;

Completed in 114 milliseconds