Lines Matching refs:volume
48 LocateCatalogNode(const ExtendedVCB *volume, HFSCatalogNodeID folderID, const CatalogName *name,
56 result = LocateCatalogRecord(volume, folderID, name, hint, keyPtr, dataPtr, newHint);
80 result = LocateCatalogRecord(volume, threadParentID, nodeName, kNoHint, keyPtr, dataPtr, newHint);
93 LocateCatalogNodeByKey(const ExtendedVCB *volume, u_int32_t hint, CatalogKey *keyPtr,
106 fcb = GetFileControlBlock(volume->catalogRefNum);
150 result = LocateCatalogRecord(volume, threadParentID, nodeName, kNoHint, keyPtr, dataPtr, newHint);
165 LocateCatalogRecord(const ExtendedVCB *volume, HFSCatalogNodeID folderID, const CatalogName *name,
172 BuildCatalogKey(folderID, name, (volume->vcbSigWord == kHFSPlusSigWord), &tempKey);
177 result = SearchBTreeRecord(volume->catalogRefNum, &tempKey, hint, keyPtr, dataPtr, &tempSize, newHint);
222 BuildCatalogKeyUTF8(ExtendedVCB *volume, HFSCatalogNodeID parentID, const unsigned char *name, u_int32_t nameLength,
232 if ( volume->vcbSigWord == kHFSPlusSigWord ) {
255 err = utf8_to_hfs(volume, nameLength, name, &key->hfs.nodeName[0]);
283 // Function: Flushes the catalog for a specified volume.
288 FlushCatalog(ExtendedVCB *volume)
293 fcb = GetFileControlBlock(volume->catalogRefNum);
302 HFS_MOUNT_LOCK(volume, TRUE);
303 MarkVCBDirty(volume); // Mark the VCB dirty
304 volume->vcbLsMod = GetTimeUTC(); // update last modified date
305 HFS_MOUNT_UNLOCK(volume, TRUE);
307 // result = FlushVolumeControlBlock(volume);