Searched refs:logBytesPerSector (Results 1 – 11 of 11) sorted by relevance
| /netbsd/src/sys/dev/raidframe/ |
| D | rf_dagutils.c | 345 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 …]
|
| D | rf_layout.h | 263 ( (_addr_) << ( (_raidPtr_)->logBytesPerSector ) ) 266 ( (_addr_) >> ( (_raidPtr_)->logBytesPerSector ) )
|
| D | rf_driver.c | 462 (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()
|
| D | rf_disks.c | 219 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()
|
| D | rf_raid.h | 112 u_int logBytesPerSector; /* base-2 log of the number of bytes member
|
| D | rf_paritylog.c | 811 …logBytesPerSector)), ((char *)item->common->bufPtr + (item->bufOffset++ * (1 << item->common->raid… in rf_ParityLogAppend()
|
| D | rf_netbsdkintf.c | 2087 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()
|
| D | rf_parityloggingdags.c | 407 …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()
|
| D | rf_dagffwr.c | 698 …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()
|
| D | rf_aselect.c | 237 … buffer = (char *)physPtr->bufPtr + (k * (1 << raidPtr->logBytesPerSector)); in rf_SelectAlgorithm()
|
| D | rf_paritymap.c | 409 bytes_per_disk = raid->sectorsPerDisk << raid->logBytesPerSector; in rf_paritymap_nreg()
|