| /freebsd/sys/dev/hptmv/ |
| H A D | ioctl.c | 160 PVDevice pArray = ID_TO_VDEV(id); in hpt_delete_array() local 165 if ((id==0) || check_VDevice_valid(pArray)) in hpt_delete_array() 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() 174 for(i=0; i<pArray->u.array.bArnMember; i++) { in hpt_delete_array() 175 pa = pArray->u.array.pMember[i]; in hpt_delete_array() 183 if (pArray->pVBus!=_vbus_p) { HPT_ASSERT(0); return -1;} in hpt_delete_array() 184 fDeleteArray(_VBUS_P pArray, del_block0); in hpt_delete_array() 222 PVDevice pArray; in Kernel_DeviceIoControl() local [all …]
|
| H A D | gui_lib.c | 566 PVDevice pArray,pChild; in hpt_create_array_v2() local 587 mArGetArrayTable(pArray); in hpt_create_array_v2() 588 if(!pArray) return INVALID_DEVICEID; in hpt_create_array_v2() 593 pArray->VDeviceType = VD_JBOD; in hpt_create_array_v2() 599 pArray->VDeviceType = VD_RAID_0; in hpt_create_array_v2() 605 pArray->VDeviceType = VD_RAID_5; in hpt_create_array_v2() 608 pArray->u.array.rf_need_rebuild = 1; in hpt_create_array_v2() 614 pArray->VDeviceType = VD_RAID_1; in hpt_create_array_v2() 616 pArray->u.array.bArnMember = pParam->nDisk; in hpt_create_array_v2() 617 pArray->u.array.bArRealnMember = pParam->nDisk; in hpt_create_array_v2() [all …]
|
| H A D | hptproc.c | 61 PVDevice pArray; in hpt_set_asc_info() local 75 if ((pArray=ArrayTables(i))->u.array.dArStamp==0) in hpt_set_asc_info() 78 if (pArray->u.array.rf_need_rebuild && !pArray->u.array.rf_rebuilding) in hpt_set_asc_info() 79 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pArray, in hpt_set_asc_info() 80 …(UCHAR)((pArray->u.array.CriticalMembers || pArray->VDeviceType == VD_RAID_1)? DUPLICATE : REBUILD… in hpt_set_asc_info() 88 if ((pArray=ArrayTables(i))->u.array.dArStamp==0) in hpt_set_asc_info() 91 if (pArray->u.array.rf_rebuilding) in hpt_set_asc_info() 92 pArray->u.array.rf_abort_rebuild = 1; in hpt_set_asc_info() 104 pArray = _vbus_p->pVDevice[iarray]; in hpt_set_asc_info() 105 if (!pArray || (pArray->vf_online == 0)) { in hpt_set_asc_info() [all …]
|
| H A D | array.h | 217 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 D | 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);
|
| H A D | entry.c | 1021 GetSpareDisk(_VBUS_ARG PVDevice pArray) in GetSpareDisk() argument 1023 IAL_ADAPTER_T *pAdapter = (IAL_ADAPTER_T *)pArray->pVBus->OsExt; in GetSpareDisk() 1024 LBA_T capacity = LongDiv(pArray->VDeviceCapacity, pArray->u.array.bArnMember-1); in GetSpareDisk() 1033 thiscap = pArray->vf_format_v2? pVDevice->u.disk.dDeRealCapacity : pVDevice->VDeviceCapacity; in GetSpareDisk() 2174 PVDevice pArray; in Check_Idle_Call() local 2176 if ((pArray=ArrayTables(i))->u.array.dArStamp==0) in Check_Idle_Call() 2178 else if (pArray->u.array.rf_auto_rebuild) { in Check_Idle_Call() 2180 pArray->u.array.rf_auto_rebuild = 0; in Check_Idle_Call() 2181 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pArray, DUPLICATE); in Check_Idle_Call() 2408 PVDevice pArray; in hpt_worker_thread() local [all …]
|
| H A D | vdevice.h | 183 #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 D | osbsd.h | 202 void hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags);
|
| /freebsd/sys/dev/hpt27xx/ |
| H A D | array.h | 157 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/sys/dev/hptnr/ |
| H A D | array.h | 157 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/sys/dev/hptrr/ |
| H A D | array.h | 158 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/contrib/sqlite3/tea/generic/ |
| H A D | tclsqlite3.c | 1624 Tcl_Obj *pArray; /* Name of array variable */ member 1662 Tcl_Obj *pArray, /* Name of Tcl array to set (*) element of */ in dbEvalInit() argument 1670 if( pArray ){ in dbEvalInit() 1671 p->pArray = pArray; in dbEvalInit() 1672 Tcl_IncrRefCount(pArray); in dbEvalInit() 1695 if( nCol>0 && (papColName || p->pArray) ){ in dbEvalRowInfo() 1707 if( p->pArray ){ in dbEvalRowInfo() 1716 Tcl_ObjSetVar2(interp, p->pArray, pStar, pColList, 0); in dbEvalRowInfo() 1759 if( p->pArray ){ in dbEvalStep() 1810 if( p->pArray ){ in dbEvalFinalize() [all …]
|
| /freebsd/contrib/sqlite3/ |
| H A D | sqlite3.c | 127666 void *pArray, /* Array of objects. Might be reallocated */ 127675 void *pNew = sqlite3DbRealloc(db, pArray, sz*szEntry); 127678 return pArray; 127680 pArray = pNew; 127682 z = (char*)pArray; 127685 return pArray; 247554 Fts5TombstoneArray *pArray = pSeg->pTombArray; 247556 if( pSeg->pLeaf && pArray ){ 247558 int iPg = ((u64)pSeg->iRowid) % pArray->nTombstone; 247563 if( pArray->apTombstone[iPg]==0 ){ [all …]
|