Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/hptmv/
H A Dioctl.c160 PVDevice pArray = ID_TO_VDEV(id); in hpt_delete_array() local
168 if(!mIsArray(pArray)) return -1; in hpt_delete_array()
170 if (pArray->u.array.rf_rebuilding || pArray->u.array.rf_verifying || in hpt_delete_array()
171 pArray->u.array.rf_initializing) in hpt_delete_array()
222 PVDevice pArray; in Kernel_DeviceIoControl() local
230 pArray = ID_TO_VDEV(idArray); in Kernel_DeviceIoControl()
235 if(!mIsArray(pArray)) in Kernel_DeviceIoControl()
238 _vbus_p=pArray->pVBus; in Kernel_DeviceIoControl()
690 ULONG capacity = pArray->VDeviceCapacity / (pArray->u.array.bArnMember-1); in hpt_rebuild_data_block()
795 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.c61 PVDevice pArray; in hpt_set_asc_info() local
78 if (pArray->u.array.rf_need_rebuild && !pArray->u.array.rf_rebuilding) in hpt_set_asc_info()
105 if (!pArray || (pArray->vf_online == 0)) { in hpt_set_asc_info()
138 switch(pArray->VDeviceType) in hpt_set_asc_info()
143 pSubArray = pArray; in hpt_set_asc_info()
156 if(pArray->u.array.pMember[i] && mIsArray(pArray->u.array.pMember[i]) && in hpt_set_asc_info()
187 if (!pArray || (pArray->vf_online == 0)) { in hpt_set_asc_info()
192 if(pArray->VDeviceType != VD_RAID_1 && pArray->VDeviceType != VD_RAID_5) { in hpt_set_asc_info()
222 if (!pArray || (pArray->vf_online == 0)) { in hpt_set_asc_info()
463 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.c1023 GetSpareDisk(_VBUS_ARG PVDevice pArray) in GetSpareDisk() argument
1026 LBA_T capacity = LongDiv(pArray->VDeviceCapacity, pArray->u.array.bArnMember-1); in GetSpareDisk()
2177 PVDevice pArray; in Check_Idle_Call() local
2179 if ((pArray=ArrayTables(i))->u.array.dArStamp==0) in Check_Idle_Call()
2181 else if (pArray->u.array.rf_auto_rebuild) { in Check_Idle_Call()
2183 pArray->u.array.rf_auto_rebuild = 0; in Check_Idle_Call()
2411 PVDevice pArray; in hpt_worker_thread() local
2426 else if (pArray->u.array.rf_rebuilding || in hpt_worker_thread()
2427 pArray->u.array.rf_verifying || in hpt_worker_thread()
2428 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.h202 void hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags);
/freebsd-14.2/sys/dev/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);
/freebsd-14.2/sys/dev/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);
/freebsd-14.2/sys/dev/hptnr/
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);
/freebsd-14.2/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c1623 if( pArray ){ in dbEvalInit()
1624 p->pArray = pArray; in dbEvalInit()
1625 Tcl_IncrRefCount(pArray); in dbEvalInit()
1660 if( p->pArray ){ in dbEvalRowInfo()
1712 if( p->pArray ){ in dbEvalStep()
1763 if( p->pArray ){ in dbEvalFinalize()
1765 p->pArray = 0; in dbEvalFinalize()
1854 Tcl_Obj *pArray = p->pArray; in DbEvalNextCmd() local
1862 if( pArray==0 ){ in DbEvalNextCmd()
2856 Tcl_Obj *pArray = 0; in DbObjCmd() local
[all …]
/freebsd-14.2/contrib/sqlite3/
H A Dsqlite3.c126041 return pArray;
126043 pArray = pNew;
126045 z = (char*)pArray;
126048 return pArray;
243807 Fts5TombstoneArray *pArray = pSeg->pTombArray;
243809 if( pSeg->pLeaf && pArray ){
243811 int iPg = ((u64)pSeg->iRowid) % pArray->nTombstone;
243816 if( pArray->apTombstone[iPg]==0 ){
243820 if( pArray->apTombstone[iPg]==0 ) return 0;
243824 pArray->apTombstone[iPg],
[all …]