Searched refs:PVDevice (Results 1 – 10 of 10) sorted by relevance
| /dragonfly/sys/dev/raid/hptmv/ |
| HD | vdevice.h | 48 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 - __offsetof(VDevice, 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 …]
|
| HD | array.h | 91 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; \ 266 void HPTLIBAPI fRAID0MemberFailed(_VBUS_ARG PVDevice pVDev); 267 void HPTLIBAPI fRAID1MemberFailed(_VBUS_ARG PVDevice pVDev); 268 void HPTLIBAPI fJBODMemberFailed(_VBUS_ARG PVDevice pVDev); 271 void HPTLIBAPI fRAID5MemberFailed(_VBUS_ARG PVDevice pVDev);
|
| HD | gui_lib.c | 70 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 …]
|
| HD | raid5n.h | 82 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);
|
| HD | ioctl.c | 123 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() 159 PVDevice pArray = ID_TO_VDEV(id); in hpt_delete_array() 162 PVDevice pa; in hpt_delete_array() 224 PVDevice pArray; in Kernel_DeviceIoControl() 314 PVDevice pVDev; in Kernel_DeviceIoControl() 420 … PVDevice pArray = ID_TO_VDEV(((PHPT_ADD_DISK_TO_ARRAY)lpInBuffer)->idArray); in Kernel_DeviceIoControl() 464 PVDevice pVDevice = ID_TO_VDEV(idArray); in hpt_set_array_state() 691 hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags) in hpt_rebuild_data_block()
|
| HD | hptproc.c | 64 PVDevice pArray; in hpt_set_asc_info() 65 PVDevice pSubArray, pVDev; in hpt_set_asc_info() 373 hpt_copy_disk_info(HPT_GET_INFO *pinfo, PVDevice pVDev, UINT iChan) in hpt_copy_disk_info() 403 hpt_copy_array_info(HPT_GET_INFO *pinfo, int nld, PVDevice pArray) in hpt_copy_array_info() 408 PVDevice pTmpArray; in hpt_copy_array_info() 487 PVDevice pVDev; in hpt_get_info()
|
| HD | entry.c | 112 static void SetInquiryData(PINQUIRYDATA inquiryData, PVDevice pVDev); 188 static void failDevice(PVDevice pVDev) in failDevice() 386 PVDevice pVDev = &pAdapter->VDevices[channel]; in init_vdev_params() 422 PVDevice pVDev; in device_change() 446 … if((PVDevice)pVDev->pParent->u.array.pMember[iMember] == pVDev) in device_change() 989 extern PVDevice fGetFirstChild(PVDevice pLogical); 990 extern void fResetBootMark(PVDevice pLogical); 994 PVDevice pPhysical, pLogical; in fRegisterVdevice() 1032 PVDevice 1033 GetSpareDisk(_VBUS_ARG PVDevice pArray) in GetSpareDisk() [all …]
|
| HD | osbsd.h | 200 void hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags); 246 #define ID_TO_VDEV(id) (PVDevice)(((ULONG_PTR)gIal_Adapter & 0xffffffff00000000) | (id)) 306 int check_VDevice_valid(PVDevice);
|
| HD | global.h | 64 typedef struct _VDevice *PVDevice; typedef 200 #define ArrayTables(i) ((PVDevice)&_vbus_(_ArrayTables)[i*ARRAY_VDEV_SIZE])
|
| HD | command.h | 98 PVDevice pVDevice;
|