Home
last modified time | relevance | path

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

/mirbsd/src/sys/dev/raidframe/
Drf_declusterPQ.c115 info->PUsPerBlock = k - 2; /* PQ */ in rf_ConfigureDeclusteredPQ()
116 info->SUsPerTable = b * info->PUsPerBlock * layoutPtr->SUsPerPU; in rf_ConfigureDeclusteredPQ()
119 info->SUsPerBlock = info->PUsPerBlock * layoutPtr->SUsPerPU; in rf_ConfigureDeclusteredPQ()
367 BlockID = TableOffset / info->PUsPerBlock; in rf_MapSectorDeclusteredPQ()
368 BlockOffset = TableOffset - BlockID * info->PUsPerBlock; in rf_MapSectorDeclusteredPQ()
408 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); in rf_MapSectorDeclusteredPQ()
451 BlockID = TableOffset / info->PUsPerBlock; in rf_MapParityDeclusteredPQ()
452 BlockOffset = TableOffset - BlockID * info->PUsPerBlock; in rf_MapParityDeclusteredPQ()
457 info->PUsPerBlock : info->groupSize - 1 - TableID; in rf_MapParityDeclusteredPQ()
472 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); in rf_MapParityDeclusteredPQ()
[all …]
Drf_decluster.c140 info->PUsPerBlock = k - 1; in rf_ConfigureDeclustered()
141 info->SUsPerBlock = info->PUsPerBlock * layoutPtr->SUsPerPU; in rf_ConfigureDeclustered()
419 BlockID = TableOffset / info->PUsPerBlock; in rf_MapSectorDeclustered()
420 BlockOffset = TableOffset - BlockID * info->PUsPerBlock; in rf_MapSectorDeclustered()
422 RepIndex = info->PUsPerBlock - TableID; in rf_MapSectorDeclustered()
450 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); in rf_MapSectorDeclustered()
505 BlockID = TableOffset / info->PUsPerBlock; in rf_MapParityDeclustered()
507 BlockOffset = TableOffset - BlockID * info->PUsPerBlock; in rf_MapParityDeclustered()
512 info->PUsPerBlock : info->PUsPerBlock - TableID; in rf_MapParityDeclustered()
538 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); in rf_MapParityDeclustered()
Drf_decluster.h76 RF_StripeCount_t PUsPerBlock; member