Searched refs:PVDevice (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12-stable/sys/dev/hptmv/ |
| D | vdevice.h | 50 PVDevice pParent; /* parent array */ 71 void (* HPTLIBAPI pfnDeviceFailed)(_VBUS_ARG PVDevice pVDev); /* call this when a VDevice failed */ 85 #define Map2pVDevice(pDev) ((PVDevice)((UINT_PTR)pDev - (UINT)(UINT_PTR)&((PVDevice)0)->u.disk)) 114 extern void (* HPTLIBAPI pfnDeviceFailed[])(_VBUS_ARG PVDevice pVDev); 115 void HPTLIBAPI fOsDiskFailed(_VBUS_ARG PVDevice pVDev); 117 void HPTLIBAPI fSingleDiskFailed(_VBUS_ARG PVDevice pVDev); 125 PVDevice pVDevice[MAX_VDEVICE_PER_VBUS]; 146 PVDevice pFreeArrayLink; 188 …if ((pArray=((PVDevice)&pVBus->_ArrayTables[i*ARRAY_VDEV_SIZE]))->u.array.dArStamp==0) continue; e… 230 void HPTLIBAPI UnregisterVDevice(PVDevice); [all …]
|
| D | array.h | 93 PVDevice pMember[MAX_MEMBERS]; 211 void HPTLIBAPI SyncArrayInfo(PVDevice pVDev); 212 void HPTLIBAPI fDeleteArray(_VBUS_ARG PVDevice pVArray, BOOLEAN del_block0); 219 PVDevice HPTLIBAPI GetSpareDisk(_VBUS_ARG PVDevice pArray); 221 void HPTLIBAPI fFixRAID01Stripe(_VBUS_ARG PVDevice pStripe); 248 _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);
|
| D | gui_lib.c | 72 check_VDevice_valid(PVDevice p) in check_VDevice_valid() 75 PVDevice pVDevice; in check_VDevice_valid() 106 static UCHAR get_vdev_type(PVDevice pVDevice) in get_vdev_type() 117 static DWORD get_array_flag(PVDevice pVDevice) in get_array_flag() 167 PVDevice pMember = pVDevice->u.array.pMember[i]; in get_array_flag() 204 static DWORD calc_rebuild_progress(PVDevice pVDevice) in calc_rebuild_progress() 212 PVDevice pMember = pVDevice->u.array.pMember[i]; in calc_rebuild_progress() 232 static void get_array_info(PVDevice pVDevice, PHPT_ARRAY_INFO pArrayInfo) in get_array_info() 253 static void get_array_info_v2(PVDevice pVDevice, PHPT_ARRAY_INFO_V2 pArrayInfo) in get_array_info_v2() 276 static int get_disk_info(PVDevice pVDevice, PDEVICE_INFO pDiskInfo) in get_disk_info() [all …]
|
| D | raid5n.h | 84 extern void HPTLIBAPI flush_raid5_async(PVDevice pArray, DPC_PROC done, void *arg); 87 extern int HPTLIBAPI flush_raid5(PVDevice pArray); 89 extern void HPTLIBAPI raid5_free(_VBUS_ARG PVDevice pArray);
|
| D | osbsd.h | 206 void hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags); 252 #define ID_TO_VDEV(id) (PVDevice)(id) 256 #define ID_TO_VDEV(id) (PVDevice)(((ULONG_PTR)gIal_Adapter & 0xffffffff00000000) | (id)) 316 int check_VDevice_valid(PVDevice);
|
| D | ioctl.c | 125 memcpy(e.Data, ((PVDevice)param)->u.array.ArrayName, MAX_ARRAY_NAME); in ioctl_ReportEvent() 144 e.DeviceID = VDEV_TO_ID((PVDevice)param); in ioctl_ReportEvent() 153 get_disk_location(&((PVDevice)param)->u.disk, &controller, &channel); in ioctl_ReportEvent() 162 PVDevice pArray = ID_TO_VDEV(id); in hpt_delete_array() 165 PVDevice pa; in hpt_delete_array() 224 PVDevice pArray; in Kernel_DeviceIoControl() 314 PVDevice pVDev; in Kernel_DeviceIoControl() 421 PVDevice pArray = ID_TO_VDEV(((PHPT_ADD_DISK_TO_ARRAY)lpInBuffer)->idArray); in Kernel_DeviceIoControl() 460 PVDevice pVDevice = ID_TO_VDEV(idArray); in hpt_set_array_state() 690 hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags) in hpt_rebuild_data_block()
|
| D | hptproc.c | 63 PVDevice pArray; in hpt_set_asc_info() 64 PVDevice pSubArray, pVDev; in hpt_set_asc_info() 399 hpt_copy_disk_info(HPT_GET_INFO *pinfo, PVDevice pVDev, UINT iChan) in hpt_copy_disk_info() 429 hpt_copy_array_info(HPT_GET_INFO *pinfo, int nld, PVDevice pArray) in hpt_copy_array_info() 434 PVDevice pTmpArray; in hpt_copy_array_info() 513 PVDevice pVDev; in hpt_get_info()
|
| D | entry.c | 110 static void SetInquiryData(PINQUIRYDATA inquiryData, PVDevice pVDev); 181 static void failDevice(PVDevice pVDev) in failDevice() 379 PVDevice pVDev = &pAdapter->VDevices[channel]; in init_vdev_params() 415 PVDevice pVDev; in device_change() 439 if((PVDevice)pVDev->pParent->u.array.pMember[iMember] == pVDev) in device_change() 983 extern PVDevice fGetFirstChild(PVDevice pLogical); 984 extern void fResetBootMark(PVDevice pLogical); 988 PVDevice pPhysical, pLogical; in fRegisterVdevice() 1026 PVDevice 1027 GetSpareDisk(_VBUS_ARG PVDevice pArray) in GetSpareDisk() [all …]
|
| D | global.h | 65 typedef struct _VDevice *PVDevice; typedef 207 #define ArrayTables(i) ((PVDevice)&_vbus_(_ArrayTables)[i*ARRAY_VDEV_SIZE])
|
| D | command.h | 100 PVDevice pVDevice;
|