Searched refs:outSU (Results 1 – 3 of 3) sorted by relevance
| /netbsd/src/sys/dev/raidframe/ |
| D | rf_declusterPQ.c | 288 RF_StripeNum_t base_suid = 0, outSU, SpareRegion = 0, SpareSpace = 0; in rf_MapSectorDeclusteredPQ() local 325 …ace(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, SpareRegion, col, &outSU); in rf_MapSectorDeclusteredPQ() 328 outSU = base_suid; in rf_MapSectorDeclusteredPQ() 329 outSU += FullTableID * fulltable_depth; /* offs to strt of FT */ in rf_MapSectorDeclusteredPQ() 330 outSU += SpareSpace; /* skip rsvd spare space */ in rf_MapSectorDeclusteredPQ() 331 … outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU; /* offs to strt of tble */ in rf_MapSectorDeclusteredPQ() 332 …outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU … in rf_MapSectorDeclusteredPQ() 334 … outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); /* offs to the SU within in rf_MapSectorDeclusteredPQ() 339 …*diskSector = outSU * layoutPtr->sectorsPerStripeUnit + (raidSector % layoutPtr->sectorsPerStripeU… in rf_MapSectorDeclusteredPQ() 355 RF_StripeNum_t base_suid = 0, outSU, SpareRegion, SpareSpace = 0; in rf_MapParityDeclusteredPQ() local [all …]
|
| D | rf_decluster.c | 328 RF_StripeNum_t base_suid = 0, outSU, SpareRegion = 0, SpareSpace = 0; in rf_MapSectorDeclustered() local 353 …ace(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, SpareRegion, col, &outSU); in rf_MapSectorDeclustered() 356 outSU = base_suid; in rf_MapSectorDeclustered() 357 outSU += FullTableID * fulltable_depth; /* offs to strt of FT */ in rf_MapSectorDeclustered() 358 outSU += SpareSpace; /* skip rsvd spare space */ in rf_MapSectorDeclustered() 359 … outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU; /* offs to strt of tble */ in rf_MapSectorDeclustered() 360 …outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU … in rf_MapSectorDeclustered() 362 … outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); /* offs to the SU within in rf_MapSectorDeclustered() 367 …*diskSector = outSU * layoutPtr->sectorsPerStripeUnit + (raidSector % layoutPtr->sectorsPerStripeU… in rf_MapSectorDeclustered() 386 RF_StripeNum_t base_suid = 0, outSU, SpareRegion = 0, SpareSpace = 0; in rf_MapParityDeclustered() local [all …]
|
| D | rf_decluster.h | 130 RF_StripeNum_t SpareRegion, RF_RowCol_t * outCol, RF_StripeNum_t * outSU);
|