• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/hfs-285/hfs_util/

Lines Matching refs:volHdrPtr

226 static int	GetCatalogOverflowExtents(int fd, off_t hfsPlusVolumeOffset, HFSPlusVolumeHeader *volHdrPtr,
745 HFSPlusVolumeHeader * volHdrPtr;
778 volHdrPtr = (HFSPlusVolumeHeader *) bufPtr;
845 } else if ((OSSwapBigToHostInt16(volHdrPtr->signature) == kHFSPlusSigWord) ||
846 (OSSwapBigToHostInt16(volHdrPtr->signature) == kHFSXSigWord) ||
851 if (OSSwapBigToHostInt16(volHdrPtr->signature) == kHFSSigWord) {
1384 HFSPlusVolumeHeader * volHdrPtr;
1387 volHdrPtr = bufPtr;
1418 } else if (OSSwapBigToHostInt16(volHdrPtr->signature) == kHFSPlusSigWord ||
1419 OSSwapBigToHostInt16(volHdrPtr->signature) == kHFSXSigWord) {
1420 *finderInfoUUIDPtr = (VolumeUUID *)&volHdrPtr->finderInfo[24];
1812 HFSPlusVolumeHeader * volHdrPtr;
1819 volHdrPtr = (HFSPlusVolumeHeader *)malloc(HFS_BLOCK_SIZE);
1820 if ( ! volHdrPtr ) {
1829 result = readAt( fd, volHdrPtr, hfsPlusVolumeOffset + (off_t)(2*HFS_BLOCK_SIZE), HFS_BLOCK_SIZE );
1839 if (OSSwapBigToHostInt16(volHdrPtr->signature) != kHFSPlusSigWord &&
1840 OSSwapBigToHostInt16(volHdrPtr->signature) != kHFSXSigWord) {
1843 fprintf(stderr, "hfs.util: GetNameFromHFSPlusVolumeStartingAt: volHdrPtr->signature != kHFSPlusSigWord\n");
1848 blockSize = OSSwapBigToHostInt32(volHdrPtr->blockSize);
1854 bcopy(volHdrPtr->catalogFile.extents, catalogExtents, sizeof(HFSPlusExtentRecord));
1859 result = GetCatalogOverflowExtents(fd, hfsPlusVolumeOffset, volHdrPtr, &catalogExtents, &catalogExtCount);
1963 if (volHdrPtr)
1964 free((char*) volHdrPtr);
2043 HFSPlusVolumeHeader *volHdrPtr,
2059 blockSize = OSSwapBigToHostInt32(volHdrPtr->blockSize);
2062 offset = (off_t)OSSwapBigToHostInt32(volHdrPtr->extentsFile.extents[0].startBlock) *
2068 kHFSPlusExtentDensity, volHdrPtr->extentsFile.extents,
2090 kHFSPlusExtentDensity, volHdrPtr->extentsFile.extents);