| /netbsd/src/sys/dev/raidframe/ |
| D | rf_utils.c | 44 RF_RowCol_t ** 47 RF_RowCol_t **retval, i; in rf_make_2d_array() 59 rf_free_2d_array(RF_RowCol_t **a, int b, int k) in rf_free_2d_array() 61 RF_RowCol_t i; in rf_free_2d_array() 64 RF_Free(a[i], k * sizeof(RF_RowCol_t)); in rf_free_2d_array() 65 RF_Free(a, b * sizeof(RF_RowCol_t)); in rf_free_2d_array() 70 RF_RowCol_t * 73 RF_RowCol_t *retval; in rf_make_1d_array() 80 rf_free_1d_array(RF_RowCol_t *a, int n) in rf_free_1d_array() 82 RF_Free(a, n * sizeof(RF_RowCol_t)); in rf_free_1d_array()
|
| D | rf_reconstruct.h | 57 RF_RowCol_t col; /* which disk this buffer belongs to or is 64 RF_RowCol_t spRow, spCol; /* spare disk to which this buf should 97 RF_RowCol_t col; /* row ID is implicit in the queue in which 108 RF_RowCol_t col; /* to make this structure self-identifying */ 122 RF_RowCol_t fcol; /* which column has failed */ 126 RF_RowCol_t spareCol; /* which of the spare disks we're using */ 179 int rf_ReconstructFailedDisk(RF_Raid_t *, RF_RowCol_t); 180 int rf_ReconstructFailedDiskBasic(RF_Raid_t *, RF_RowCol_t); 181 int rf_ReconstructInPlace(RF_Raid_t *, RF_RowCol_t);
|
| D | rf_decluster.h | 54 RF_RowCol_t **LayoutTable; /* the block design table */ 55 RF_RowCol_t **OffsetTable; /* the sector offset table */ 56 RF_RowCol_t **BlockTable; /* the block membership table */ 104 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 107 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 110 RF_RowCol_t ** diskids); 115 int rf_InstallSpareTable(RF_Raid_t * raidPtr, RF_RowCol_t fcol); 130 RF_StripeNum_t SpareRegion, RF_RowCol_t * outCol, RF_StripeNum_t * outSU);
|
| D | rf_kintf.h | 47 int raidfetch_component_label(RF_Raid_t *, RF_RowCol_t); 48 RF_ComponentLabel_t *raidget_component_label(RF_Raid_t *, RF_RowCol_t); 49 int raidflush_component_label(RF_Raid_t *, RF_RowCol_t); 57 int raidmarkclean(RF_Raid_t *, RF_RowCol_t); 58 int raidmarkdirty(RF_Raid_t *, RF_RowCol_t);
|
| D | rf_paritylogging.h | 44 RF_RowCol_t * col, RF_SectorNum_t * diskSector, 48 RF_RowCol_t * col, RF_SectorNum_t * diskSector, 52 RF_SectorNum_t regionOffset, RF_RowCol_t * col, 56 RF_RowCol_t * col, RF_SectorNum_t * startSector, 60 RF_RowCol_t ** diskids);
|
| D | rf_evenodd_dagfuncs.h | 49 rf_e_EncOneSect(RF_RowCol_t srcLogicCol, char *srcSecbuf, 50 RF_RowCol_t destLogicCol, char *destSecbuf, int bytesPerSector); 52 rf_e_encToBuf(RF_Raid_t * raidPtr, RF_RowCol_t srcLogicCol, 53 char *srcbuf, RF_RowCol_t destLogicCol, char *destbuf, int numSector); 58 RF_RowCol_t * fcol, char *pbuf, char *ebuf);
|
| D | rf_declusterPQ.h | 40 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 43 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 46 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 49 RF_RowCol_t ** diskids);
|
| D | raidframevar.h | 176 typedef int RF_RowCol_t; /* unsigned so it can be (-1) */ typedef 322 RF_RowCol_t numCol, numSpare; /* number of columns, 361 RF_RowCol_t col; 401 RF_RowCol_t spareCol; /* if in status "spared", this identifies the 552 RF_RowCol_t * col, 558 RF_RowCol_t * col, 563 RF_RowCol_t * col, 568 RF_RowCol_t ** diskids); 592 int (*InstallSpareTable) (RF_Raid_t * raidPtr, RF_RowCol_t fcol);
|
| D | rf_raid0.c | 51 RF_RowCol_t *stripeIdentifier; 60 RF_RowCol_t i; in rf_ConfigureRAID0() 85 RF_RowCol_t *col, RF_SectorNum_t *diskSector, int remap) in rf_MapSectorRAID0() 95 RF_RaidAddr_t raidSector, RF_RowCol_t *col, in rf_MapParityRAID0() 104 RF_RowCol_t **diskids) in rf_IdentifyStripeRAID0()
|
| D | rf_utils.h | 45 RF_RowCol_t **rf_make_2d_array(int b, int k, RF_AllocListElem_t * allocList); 46 RF_RowCol_t *rf_make_1d_array(int c, RF_AllocListElem_t * allocList); 47 void rf_free_2d_array(RF_RowCol_t ** a, int b, int k); 48 void rf_free_1d_array(RF_RowCol_t * a, int n);
|
| D | rf_raid5.c | 53 RF_RowCol_t **stripeIdentifier; /* filled in at config time and used 63 RF_RowCol_t i, j, startdisk; in rf_ConfigureRAID5() 119 RF_RowCol_t *col, RF_SectorNum_t *diskSector, in rf_MapSectorRAID5() 130 RF_RowCol_t *col, RF_SectorNum_t *diskSector, in rf_MapParityRAID5() 142 RF_RowCol_t **diskids) in rf_IdentifyStripeRAID5() 169 RF_RowCol_t fcol; in rf_RaidFiveDagSelect() 199 RF_RowCol_t oc = failedPDA->col; in rf_RaidFiveDagSelect()
|
| D | rf_raid5_rotatedspare.c | 52 RF_RowCol_t **stripeIdentifier; /* filled in at config time & used by 64 RF_RowCol_t i, j, startdisk; in rf_ConfigureRAID5_RS() 111 RF_RowCol_t * col, in rf_MapSectorRAID5_RS() 133 RF_RowCol_t * col, in rf_MapParityRAID5_RS() 150 RF_RowCol_t ** diskids) in rf_IdentifyStripeRAID5_RS()
|
| D | rf_reconstruct.c | 108 static RF_RaidReconDesc_t *AllocRaidReconDesc(RF_Raid_t *, RF_RowCol_t, 109 RF_RaidDisk_t *, int, RF_RowCol_t); 112 static int IssueNextReadRequest(RF_Raid_t *, RF_RowCol_t); 113 static int TryToRead(RF_Raid_t *, RF_RowCol_t); 114 static int ComputePSDiskOffsets(RF_Raid_t *, RF_StripeNum_t, RF_RowCol_t, 115 RF_SectorNum_t *, RF_SectorNum_t *, RF_RowCol_t *, 122 RF_RowCol_t, RF_HeadSepLimit_t, 127 RF_RowCol_t, RF_StripeNum_t, 170 AllocRaidReconDesc(RF_Raid_t *raidPtr, RF_RowCol_t col, in AllocRaidReconDesc() 172 RF_RowCol_t scol) in AllocRaidReconDesc() [all …]
|
| D | rf_reconutil.h | 42 RF_RowCol_t fcol, RF_RowCol_t scol); 47 rf_MakeReconBuffer(RF_Raid_t * raidPtr, RF_RowCol_t col, RF_RbufType_t type);
|
| D | rf_raid1.h | 37 void rf_MapSectorRAID1(RF_Raid_t *, RF_RaidAddr_t, RF_RowCol_t *, 39 void rf_MapParityRAID1(RF_Raid_t *, RF_RaidAddr_t, RF_RowCol_t *, 41 void rf_IdentifyStripeRAID1(RF_Raid_t *, RF_RaidAddr_t, RF_RowCol_t **);
|
| D | rf_driver.h | 59 int rf_SetReconfiguredMode(RF_Raid_t *, RF_RowCol_t, RF_RowCol_t); 61 int rf_FailDisk(RF_Raid_t *, RF_RowCol_t, int);
|
| D | rf_raid4.c | 50 RF_RowCol_t *stripeIdentifier; /* filled in at config time & used by 102 RF_RowCol_t *col, RF_SectorNum_t *diskSector, in rf_MapSectorRAID4() 113 RF_RowCol_t *col, RF_SectorNum_t *diskSector, in rf_MapParityRAID4() 125 RF_RowCol_t **diskids) in rf_IdentifyStripeRAID4()
|
| D | rf_raid5_rotatedspare.h | 40 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 43 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 46 RF_RowCol_t ** diskids);
|
| D | rf_evenodd.h | 40 RF_RowCol_t ** diskids); 43 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 46 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap);
|
| D | rf_raid5.h | 41 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 44 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 47 RF_RowCol_t ** diskids);
|
| D | rf_chaindecluster.h | 43 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 46 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 49 RF_RowCol_t ** diskids);
|
| D | rf_raid4.h | 41 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 44 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 47 RF_RowCol_t ** diskids);
|
| D | rf_chaindecluster.c | 56 RF_RowCol_t **stripeIdentifier; /* filled in at config time and used 70 RF_RowCol_t i; in rf_ConfigureChainDecluster() 127 RF_RowCol_t *col, RF_SectorNum_t *diskSector, in rf_MapSectorChainDecluster() 171 RF_RowCol_t *col, RF_SectorNum_t *diskSector, in rf_MapParityChainDecluster() 209 RF_RowCol_t **diskids) in rf_IdentifyStripeChainDecluster() 213 RF_RowCol_t col; in rf_IdentifyStripeChainDecluster()
|
| D | rf_raid0.h | 39 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 42 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 45 RF_RowCol_t ** diskids);
|
| D | rf_interdecluster.h | 44 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 47 RF_RowCol_t * col, RF_SectorNum_t * diskSector, int remap); 50 RF_RowCol_t ** diskids);
|