Home
last modified time | relevance | path

Searched refs:sectorOffset (Results 1 – 22 of 22) sorted by relevance

/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/raidframe/
H A Drf_cvscan.c63 key = tmp->sectorOffset, i++, tmp = tmp->next) in CheckCvscanState()
64 RF_ASSERT(tmp->sectorOffset <= key in CheckCvscanState()
70 key = tmp->sectorOffset, i++, tmp = tmp->next) { in CheckCvscanState()
71 RF_ASSERT(key <= tmp->sectorOffset); in CheckCvscanState()
114 ((order == rf_cvscan_RIGHT && (*list_ptr)->sectorOffset <= req->sectorOffset) in ReqInsert()
115 || (order == rf_cvscan_LEFT && (*list_ptr)->sectorOffset > req->sectorOffset)); in ReqInsert()
190 if (req->sectorOffset < hdr->cur_block) { in RealEnqueue()
360 (int) tmp->sectorOffset, in PrintCvscanQueue()
361 (long) (tmp->sectorOffset + tmp->numSector), in PrintCvscanQueue()
367 (int) tmp->sectorOffset, in PrintCvscanQueue()
[all …]
H A Drf_sstf.c84 if (req->sectorOffset <= (*queuep)->sectorOffset) { in do_sstf_ord_q()
91 if (req->sectorOffset > (*tailp)->sectorOffset) { in do_sstf_ord_q()
98 if (r->sectorOffset >= req->sectorOffset) { in do_sstf_ord_q()
153 if (SNUM_DIFF((_q_)->queue->sectorOffset,_l_) \
154 < SNUM_DIFF((_q_)->qtail->sectorOffset,_l_)) \
172 if (r->sectorOffset < arm_pos) { in closest_to_arm()
177 this_pos_l = arm_pos - r->sectorOffset; in closest_to_arm()
190 this_pos_r = r->sectorOffset - arm_pos; in closest_to_arm()
402 sstfq->last_sector = req->sectorOffset; in rf_SstfDequeue()
457 scanq->last_sector = req->sectorOffset; in rf_ScanDequeue()
[all …]
H A Drf_diskqueue.h57 RF_SectorNum_t sectorOffset; /* sector offset into the disk */ member
H A Drf_diskqueue.c387 p->sectorOffset = ssect + rf_protectedSectors; in rf_CreateDiskQueueData()
H A Drf_netbsdkintf.c2042 req->sectorOffset, req->numSector, in rf_DispatchKernelIO()
2051 queue->last_deq_sector = req->sectorOffset; in rf_DispatchKernelIO()
2060 (int) req->sectorOffset, (int) req->numSector, in rf_DispatchKernelIO()
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/IoDevice/
H A DTC8566AF.c63 int sectorOffset; member
139 if (tc->sectorOffset < 512) { in tc8566afExecutionPhasePeek()
140 return tc->sectorBuf[tc->sectorOffset]; in tc8566afExecutionPhasePeek()
152 if (tc->sectorOffset < 512) { in tc8566afExecutionPhaseRead()
153 UInt8 value = tc->sectorBuf[tc->sectorOffset++]; in tc8566afExecutionPhaseRead()
154 if (tc->sectorOffset == 512) { in tc8566afExecutionPhaseRead()
395 tc->sectorOffset = 0; in tc8566afCommandPhaseWrite()
480 if (tc->sectorOffset < 512) { in tc8566afExecutionPhaseWrite()
481 tc->sectorBuf[tc->sectorOffset++] = value; in tc8566afExecutionPhaseWrite()
483 if (tc->sectorOffset == 512) { in tc8566afExecutionPhaseWrite()
[all …]
H A DWD2793.c54 int sectorOffset; member
120 wd->sectorOffset = 0; in wd2793ReadSector()
204 wd->sectorOffset = 0; in commandType2()
377 wd->sectorOffset = 0; in wd2793GetDataRequest()
450 regData = wd->sectorBuf[wd->sectorOffset]; in wd2793PeekDataReg()
459 wd->regData = wd->sectorBuf[wd->sectorOffset]; in wd2793GetDataReg()
460 wd->sectorOffset++; in wd2793GetDataReg()
483 wd->sectorBuf[wd->sectorOffset] = value; in wd2793SetDataReg()
484 wd->sectorOffset++; in wd2793SetDataReg()
496 wd->sectorOffset = 0; in wd2793SetDataReg()
[all …]
H A DNEC765.c64 int sectorOffset; member
144 if (fdc->sectorOffset < fdc->sectorSize) { in nec765ExecutionPhasePeek()
145 return fdc->sectorBuf[fdc->sectorOffset]; in nec765ExecutionPhasePeek()
157 if (fdc->sectorOffset < fdc->sectorSize) { in nec765ExecutionPhaseRead()
158 UInt8 value = fdc->sectorBuf[fdc->sectorOffset++]; in nec765ExecutionPhaseRead()
159 if (fdc->sectorOffset == fdc->sectorSize) { in nec765ExecutionPhaseRead()
416 fdc->sectorOffset = 0; in nec765CommandPhaseWrite()
518 if (fdc->sectorOffset < fdc->sectorSize) { in nec765ExecutionPhaseWrite()
519 fdc->sectorBuf[fdc->sectorOffset++] = value; in nec765ExecutionPhaseWrite()
521 if (fdc->sectorOffset == fdc->sectorSize) { in nec765ExecutionPhaseWrite()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/
H A DPosix_VolumeStream.cpp83 size_t sectorOffset = static_cast<size_t>(m_position & (m_sectorSize - 1)); in Read() local
84 size_t sectorRemain = static_cast<size_t>(m_sectorSize - sectorOffset); in Read()
87 memcpy(dst, src + sectorOffset, copy); in Read()
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/Archive/
H A DQcowHandler.cpp144 UInt64 sectorOffset = offset >> 9 << 9; in Read() local
145 UInt64 offset2inCache = sectorOffset - _comprPos; in Read()
147 if (sectorOffset >= _comprPos && offset2inCache < _comprSize) in Read()
153 _comprPos = sectorOffset; in Read()
155 sectorOffset += _comprSize; in Read()
159 _comprPos = sectorOffset; in Read()
164 if (sectorOffset != _posInArc) in Read()
167 RINOK(Seek(sectorOffset)); in Read()
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Archive/
H A DQcowHandler.cpp165 UInt64 sectorOffset = offset & (((UInt64)1 << numOffsetBits) - (1 << 9)); in Read() local
166 const UInt64 offset2inCache = sectorOffset - _comprPos; in Read()
172 if (sectorOffset >= _comprPos && offset2inCache < _comprSize) in Read()
178 _comprPos = sectorOffset; in Read()
180 sectorOffset += _comprSize; in Read()
184 _comprPos = sectorOffset; in Read()
190 if (sectorOffset != _posInArc) in Read()
193 RINOK(Seek2(sectorOffset)); in Read()
/dports/editors/calligra/calligra-3.2.1/filters/sheets/excel/export/
H A DCFBWriter.cpp202 unsigned sectorOffset = pos % m_writer.m_sectorSize; in internalWriteData() local
203 if (sectorOffset + len > m_writer.m_sectorSize) { in internalWriteData()
204 len = m_writer.m_sectorSize - sectorOffset; in internalWriteData()
206 m_writer.writeData(sector, sectorOffset, QByteArray::fromRawData(data, len)); in internalWriteData()
409 void CFBWriter::writeData(unsigned sector, unsigned sectorOffset, const QByteArray &data) in writeData() argument
416 Q_ASSERT(sectorOffset + data.length() <= m_sectorSize); in writeData()
418 m_device->seek((sector + 1) * m_sectorSize + sectorOffset); in writeData()
H A DCFBWriter.h56 void writeData(unsigned sector, unsigned sectorOffset, const QByteArray& data);
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/cddadecoder/
H A DCddaDataStream.cpp227 UINT sectorOffset = this->startSector + (int)(pos / BYTES_PER_SECTOR); in Read() local
232 rawReadInfo.DiskOffset.QuadPart = sectorOffset * 2048; in Read()
/dports/www/mediawiki135/mediawiki-1.35.5/includes/libs/mime/
H A DMSCompoundFileReader.php158 private function sectorOffset( $sectorId ) { function in MSCompoundFileReader
233 return $this->readOffset( $this->sectorOffset( $sectorId ), 1 << $this->header['sector_shift'] );
/dports/www/mediawiki137/mediawiki-1.37.1/includes/libs/mime/
H A DMSCompoundFileReader.php158 private function sectorOffset( $sectorId ) { function in MSCompoundFileReader
233 return $this->readOffset( $this->sectorOffset( $sectorId ), 1 << $this->header['sector_shift'] );
/dports/www/mediawiki136/mediawiki-1.36.3/includes/libs/mime/
H A DMSCompoundFileReader.php158 private function sectorOffset( $sectorId ) { function in MSCompoundFileReader
233 return $this->readOffset( $this->sectorOffset( $sectorId ), 1 << $this->header['sector_shift'] );
/dports/textproc/R-cran-readxl/readxl/src/
H A Dole.c679 static ssize_t read_MSAT_body(OLE2 *ole2, DWORD sectorOffset, DWORD sectorCount) { in read_MSAT_body() argument
682 DWORD sectorNum = sectorOffset; in read_MSAT_body()
/dports/math/libxls/libxls-1.6.2/src/
H A Dole.c703 static ssize_t read_MSAT_body(OLE2 *ole2, DWORD sectorOffset, DWORD sectorCount) { in read_MSAT_body() argument
706 DWORD sectorNum = sectorOffset; in read_MSAT_body()
/dports/emulators/ppsspp/ppsspp-1.12.3/Core/FileSystems/
H A DVirtualDiscFileSystem.cpp309 u32 sectorOffset = (accessBlock-fileList[i].firstBlock)*2048; in getFileListIndex() local
312 u32 endOffset = sectorOffset+accessSize; in getFileListIndex()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Core/FileSystems/
H A DVirtualDiscFileSystem.cpp309 u32 sectorOffset = (accessBlock-fileList[i].firstBlock)*2048; in getFileListIndex() local
312 u32 endOffset = sectorOffset+accessSize; in getFileListIndex()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Core/FileSystems/
H A DVirtualDiscFileSystem.cpp309 u32 sectorOffset = (accessBlock-fileList[i].firstBlock)*2048; in getFileListIndex() local
312 u32 endOffset = sectorOffset+accessSize; in getFileListIndex()