Home
last modified time | relevance | path

Searched refs:outSU (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/sys/dev/raidframe/
Drf_declusterPQ.c288 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()
331outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU; /* offs to strt of tble */ in rf_MapSectorDeclusteredPQ()
332outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU … in rf_MapSectorDeclusteredPQ()
334outSU += 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 …]
Drf_decluster.c328 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()
359outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU; /* offs to strt of tble */ in rf_MapSectorDeclustered()
360outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU … in rf_MapSectorDeclustered()
362outSU += 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 …]
Drf_decluster.h130 RF_StripeNum_t SpareRegion, RF_RowCol_t * outCol, RF_StripeNum_t * outSU);