Home
last modified time | relevance | path

Searched refs:col_before_remap (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/dev/raidframe/
H A Drf_chaindecluster.c134 int col_before_remap; in rf_MapSectorChainDecluster() local
139 col_before_remap = SUID % raidPtr->numCol; in rf_MapSectorChainDecluster()
142 *col = col_before_remap; in rf_MapSectorChainDecluster()
152 if (index_within_disk < col_before_remap) in rf_MapSectorChainDecluster()
156 *col = (col_before_remap + raidPtr->numCol - 1) % raidPtr->numCol; in rf_MapSectorChainDecluster()
178 int col_before_remap; in rf_MapParityChainDecluster() local
194 col_before_remap = SUID % raidPtr->numCol; in rf_MapParityChainDecluster()
195 if (index_within_disk < col_before_remap) in rf_MapParityChainDecluster()
199 *col = (col_before_remap + 2) % raidPtr->numCol; in rf_MapParityChainDecluster()
H A Drf_interdecluster.c157 int col_before_remap; in rf_MapSectorInterDecluster() local
163 col_before_remap = index_within_region / (raidPtr->numCol - 1); in rf_MapSectorInterDecluster()
166 *col = col_before_remap; in rf_MapSectorInterDecluster()
177 if (*col == col_before_remap) in rf_MapSectorInterDecluster()
193 int col_before_remap; in rf_MapParityInterDecluster() local
198 col_before_remap = (index_within_region + 1 + mirror_su_offset_into_disk) % raidPtr->numCol; in rf_MapParityInterDecluster()
201 *col = col_before_remap; in rf_MapParityInterDecluster()
213 if (*col == col_before_remap) in rf_MapParityInterDecluster()