Searched refs:lba (Results 1 - 12 of 12) sorted by relevance

/macosx-10.10.1/hfs-285/CopyHFSMeta/
H A DScanExtents.c29 unsigned int lba = 0; local
38 lba = S32(ep->startBlock) + (blockNum - base);
44 return lba;
85 off_t lba; local
89 lba = FindBlock(erp, offset);
90 if (lba == 0) {
94 lba = lba * S32(hp->blockSize);
96 // printf("Trying to get block %lld\n", lba + i);
97 rv = GetBlock(devp, lba
[all...]
/macosx-10.10.1/gpt-12/
H A Dgpt.c382 gpt_read(int fd, off_t lba, size_t count) argument
392 ofs = lba * secsz;
416 gpt_mbr(int fd, off_t lba) argument
423 mbr = gpt_read(fd, lba, 1);
430 (long long)lba);
449 if (pmbr && i == 4 && lba == 0) {
452 device_name, (long long)lba);
455 (long long)lba);
456 p = map_add(lba, 1LL, MAP_TYPE_PMBR, mbr);
461 (long long)lba);
501 gpt_gpt(int fd, off_t lba) argument
[all...]
/macosx-10.10.1/IOCDStorageFamily-51/
H A DIOCDBlockStorageDriver.cpp75 UInt32 lba = CDConvertMSFToClippedLBA(_toc->descriptors[i].p); local
80 _maxBlockNumberAudio = min(_maxBlockNumberAudio, lba ? (lba - 1) : 0);
83 _minBlockNumberAudio = min(_minBlockNumberAudio, lba);
87 _maxBlockNumber = max(_maxBlockNumber, lba ? (lba - 1) : 0);
88 _maxBlockNumberAudio = min(_maxBlockNumberAudio, lba ? (lba - 1) : 0);
97 UInt32 lba = CDConvertMSFToClippedLBA(_toc->descriptors[i].p); local
102 if (lba > _minBlockNumberAudi
[all...]
H A DIOCDTypes.h152 static inline CDMSF CDConvertLBAToMSF(UInt32 lba) argument
156 lba += 150;
157 msf.minute = (lba / (75 * 60));
158 msf.second = (lba % (75 * 60)) / 75;
159 msf.frame = (lba % (75 ));
/macosx-10.10.1/IOATAFamily-253.0.1/
H A DIOATACommand.cpp675 IOATACommand::setLBA28( UInt32 lba, ataUnitID inUnit) argument
679 if( (lba & 0xF0000000) != 0x00000000
687 setSectorNumber( (lba & 0xFF) ); //LBA 7:0
688 setCylLo( ((lba & 0xFF00) >> 8) ); // LBA 15:8
689 setCylHi( ((lba & 0x00FF0000) >> 16) ); // LBA 23:16
690 setDevice_Head(((lba & 0x0F000000) >> 24 ) | mATALBASelect |( ((UInt8) inUnit) << 4)); //LBA 27:24
H A DIOATACommand.h206 virtual IOReturn setLBA28( UInt32 lba, ataUnitID inUnit);
437 @abstract convenience method that zeros out the lba, sector count, features, device, and command member variables
/macosx-10.10.1/IOSCSIParallelFamily-300.0.2/TestTools/AppleSCSIHBAEmulator/
H A DAppleSCSIPDT00Emulator.cpp290 UInt32 lba; local
452 lba = OSReadBigInt32 ( cdb, 2 );
455 byteOffset = lba * kBlockSize;
470 lba = OSReadBigInt32 ( cdb, 2 );
473 byteOffset = lba * kBlockSize;
/macosx-10.10.1/pdisk-9/
H A DATA_media.c56 long lba; member in struct:ATA_info
470 a->info.lba = 1;
476 a->info.lba = 0;
631 long lba, cyl, head, sector; local
643 if (info->lba) {
644 lba = 0x40;
649 lba = 0x00;
665 pb.ataPBTaskFile.ataTFSDH = 0xA0 | lba | slave | head;
685 long lba, cyl, head, sector; local
697 if (info->lba) {
[all...]
/macosx-10.10.1/IODVDStorageFamily-35/
H A DIODVDBlockStorageDevice.h92 const UInt32 lba,const UInt8 agid,const DVDKeyFormat keyFormat) = 0;
H A DIODVDBlockStorageDriver.h132 * @param lba
140 const UInt32 lba,const UInt8 agid,const DVDKeyFormat keyFormat);
H A DIODVDBlockStorageDriver.cpp269 const UInt32 lba,const UInt8 agid,const DVDKeyFormat keyFormat)
271 return(getProvider()->reportKey(buffer,keyClass,lba,agid,keyFormat));
268 reportKey(IOMemoryDescriptor *buffer,const DVDKeyClass keyClass, const UInt32 lba,const UInt8 agid,const DVDKeyFormat keyFormat) argument
/macosx-10.10.1/bless-103/libbless/Misc/
H A DBLElToritoFindUEFI.c102 UInt32 lba; // Virtual Disk Address member in struct:__anon6597
496 contextprintf (inContext, kBLLogLevelVerbose, " .lba=%d=0x%08x\n", (int) de->lba, (int) de->lba);

Completed in 108 milliseconds