Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/raidframe/
Drf_declusterPQ.c108 info->PUsPerBlock = k - 2; /* PQ */ in rf_ConfigureDeclusteredPQ()
109 … info->SUsPerTable = b * info->PUsPerBlock * layoutPtr->SUsPerPU; /* b blks, k-1 SUs each */ in rf_ConfigureDeclusteredPQ()
111 info->SUsPerBlock = info->PUsPerBlock * layoutPtr->SUsPerPU; in rf_ConfigureDeclusteredPQ()
303 BlockID = TableOffset / info->PUsPerBlock; in rf_MapSectorDeclusteredPQ()
304 BlockOffset = TableOffset - BlockID * info->PUsPerBlock; in rf_MapSectorDeclusteredPQ()
334 … outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); /* offs to the SU within in rf_MapSectorDeclusteredPQ()
371 BlockID = TableOffset / info->PUsPerBlock; in rf_MapParityDeclusteredPQ()
375 RepIndex = (raidPtr->noRotate) ? info->PUsPerBlock : info->groupSize - 1 - TableID; in rf_MapParityDeclusteredPQ()
388 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); in rf_MapParityDeclusteredPQ()
421 BlockID = TableOffset / info->PUsPerBlock; in rf_MapQDeclusteredPQ()
[all …]
Drf_decluster.c132 info->PUsPerBlock = k - 1; in rf_ConfigureDeclustered()
133 info->SUsPerBlock = info->PUsPerBlock * layoutPtr->SUsPerPU; in rf_ConfigureDeclustered()
342 BlockID = TableOffset / info->PUsPerBlock; in rf_MapSectorDeclustered()
343 BlockOffset = TableOffset - BlockID * info->PUsPerBlock; in rf_MapSectorDeclustered()
345 RepIndex = info->PUsPerBlock - TableID; in rf_MapSectorDeclustered()
362 … outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); /* offs to the SU within in rf_MapSectorDeclustered()
404 BlockID = TableOffset / info->PUsPerBlock; in rf_MapParityDeclustered()
408 RepIndex = (raidPtr->noRotate) ? info->PUsPerBlock : info->PUsPerBlock - TableID; in rf_MapParityDeclustered()
425 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); in rf_MapParityDeclustered()
Drf_decluster.h59 RF_StripeCount_t PUsPerBlock; /* parity units per block */ member