Lines Matching refs:key
47 Compare two extents file keys (a search key and a trial
48 key). Used by the BTree manager when searching for,
53 Compare two extents file keys (a search key and a trial
54 key). Used by the BTree manager when searching for,
133 HFSPlusExtentKey *key,
212 // foundKey The key data for the record actually found
248 extentKeyPtr = (HFSExtentKey*) &btIterator->key;
278 // Copy the found key back for the caller
305 extentKeyPtr = (HFSPlusExtentKey*) &btIterator->key;
334 // Copy the found key back for the caller
353 HFSPlusExtentKey *key,
390 keyPtr = (HFSExtentKey*) &btIterator->key;
392 keyPtr->forkType = key->forkType;
393 keyPtr->fileID = key->fileID;
394 keyPtr->startBlock = key->startBlock;
404 BlockMoveData(key, &btIterator->key, sizeof(HFSPlusExtentKey));
442 keyPtr = (HFSExtentKey*) &btIterator->key;
451 keyPtr = (HFSPlusExtentKey*) &btIterator->key;
642 HFSPlusExtentKey key;
656 err = FindExtentRecord(vcb, forkType, fileID, startBlock, false, &key, extents, &hint);
741 // Function: Compares two extent file keys (a search key and a trial key) for
805 // Function: Compares two extent file keys (a search key and a trial key) for
1353 HFSPlusExtentKey key; // key for current extent record; key->keyLength == 0 if FCB's extent record
1354 u_int32_t hint; // BTree hint corresponding to key
1447 err = SearchExtentFile(vcb, fcb, peof-1, &key, extentRecord, &extentIndex, &hint, &extentNextBlock);
1504 err = UpdateExtentRecord(vcb, fcb, deleted, &key, extentRecord, hint);
1776 // Output: foundExtentKey - extent key record (xkr)
1830 // to fill in the hint and key outputs, just like the "if" statement above.
1881 // Function: Write new extent data to an existing extent record with a given key.
1888 // extentFileKey - pointer to extent key record (xkr)
1889 // If the key length is 0, then the extents are actually part
1892 // extentBTreeHint - hint for given key, or kNoHint
1939 HFSExtentKey * key; // Actual extent key used on disk in HFS
1942 key = (HFSExtentKey*) &btIterator->key;
1943 key->keyLength = kHFSExtentKeyMaximumLength;
1944 key->forkType = extentFileKey->forkType;
1945 key->fileID = extentFileKey->fileID;
1946 key->startBlock = extentFileKey->startBlock;
1967 BlockMoveData(extentFileKey, &btIterator->key, sizeof(HFSPlusExtentKey));
2092 HFSPlusExtentKey key;
2120 result = FindExtentRecord(vcb, kDataForkType, fcb->ff_cp->c_fileid, startBlock, FALSE, &key, extents, &hint);