Home
last modified time | relevance | path

Searched refs:logBytesPerSector (Results 1 – 11 of 11) sorted by relevance

/netbsd/src/sys/dev/raidframe/
Drf_dagutils.c345 raidPtr->logBytesPerSector)))); in rf_AllocStripeBuffer()
348 raidPtr->logBytesPerSector), in rf_AllocStripeBuffer()
368 … raidPtr->logBytesPerSector), M_RAIDFRAME, M_WAITOK); in rf_AllocStripeBuffer()
371 …mset(p, 0, raidPtr->numCol * (raidPtr->Layout.sectorsPerStripeUnit << raidPtr->logBytesPerSector)); in rf_AllocStripeBuffer()
424 raidPtr->logBytesPerSector))); in rf_AllocIOBuffer()
427 raidPtr->logBytesPerSector, in rf_AllocIOBuffer()
447 raidPtr->logBytesPerSector, in rf_AllocIOBuffer()
451 memset(p, 0, raidPtr->Layout.sectorsPerStripeUnit << raidPtr->logBytesPerSector); in rf_AllocIOBuffer()
1114 … pda->bufPtr = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector); in rf_GenerateFailedAccessASMs()
1123 … pda->bufPtr = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector); in rf_GenerateFailedAccessASMs()
[all …]
Drf_layout.h263 ( (_addr_) << ( (_raidPtr_)->logBytesPerSector ) )
266 ( (_addr_) >> ( (_raidPtr_)->logBytesPerSector ) )
Drf_driver.c462 (1 << raidPtr->logBytesPerSector) / 1024)); in rf_Configure()
493 raidPtr->logBytesPerSector)); in rf_AllocEmergBuffers()
497 raidPtr->logBytesPerSector, in rf_AllocEmergBuffers()
516 raidPtr->logBytesPerSector), in rf_AllocEmergBuffers()
687 raidPtr->logBytesPerSector, in rf_DoAccess()
Drf_disks.c219 raidPtr->logBytesPerSector = ffs(bs) - 1; in rf_ConfigureDisks()
273 bs = 1 << raidPtr->logBytesPerSector; in rf_ConfigureSpareDisks()
565 raidPtr->logBytesPerSector = ffs(bs) - 1; in rf_AutoConfigureDisks()
1039 bs = 1 << raidPtr->logBytesPerSector; in rf_add_hot_spare()
Drf_raid.h112 u_int logBytesPerSector; /* base-2 log of the number of bytes member
Drf_paritylog.c811logBytesPerSector)), ((char *)item->common->bufPtr + (item->bufOffset++ * (1 << item->common->raid… in rf_ParityLogAppend()
Drf_netbsdkintf.c2087 num_blocks = bp->b_bcount >> raidPtr->logBytesPerSector; in raiddoaccess()
2163 queue->raidPtr->logBytesPerSector); in rf_DispatchKernelIO()
2181 queue->raidPtr->logBytesPerSector), in rf_DispatchKernelIO()
2182 (int) queue->raidPtr->logBytesPerSector)); in rf_DispatchKernelIO()
2279 void (*cbFunc) (struct buf *), void *cbArg, int logBytesPerSector) in InitBP() argument
2284 bp->b_bcount = numSect << logBytesPerSector; in InitBP()
2289 bp->b_blkno = startSect << logBytesPerSector >> DEV_BSHIFT; in InitBP()
Drf_parityloggingdags.c407 …ms[1].p = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector); /* buffer… in rf_CommonCreateParityLoggingSmallWriteDAG()
422 …ms[1].p = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector); /… in rf_CommonCreateParityLoggingSmallWriteDAG()
Drf_dagffwr.c698 …taNode->params[1].p = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector); in rf_CommonCreateSmallWriteDAG()
721 …tyNode->params[1].p = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector); in rf_CommonCreateSmallWriteDAG()
746 … pda->numSector << raidPtr->logBytesPerSector); in rf_CommonCreateSmallWriteDAG()
Drf_aselect.c237 … buffer = (char *)physPtr->bufPtr + (k * (1 << raidPtr->logBytesPerSector)); in rf_SelectAlgorithm()
Drf_paritymap.c409 bytes_per_disk = raid->sectorsPerDisk << raid->logBytesPerSector; in rf_paritymap_nreg()