Lines Matching defs:index
3470 u_int32_t index;
3474 index = kIndexMacUkrainian;
3477 index = kIndexMacFarsi;
3480 index = encoding;
3484 if (index < 64 && (hfsmp->encodingsBitmap & (u_int64_t)(1ULL << index)) == 0) {
3486 hfsmp->encodingsBitmap |= (u_int64_t)(1ULL << index);
5131 int index = extent_info->extent_index;
5161 printf ("hfs_split_extent: Split record:%u recStartBlock=%u %u:(%u,%u) for %u blocks\n", extent_info->overflow_count, extent_info->recStartBlock, index, extents[index].startBlock, extents[index].blockCount, newBlockCount);
5186 if (index == kHFSPlusExtentDensity-1) {
5188 shift_extent.startBlock = extents[index].startBlock + newBlockCount;
5189 shift_extent.blockCount = extents[index].blockCount - newBlockCount;
5203 * record to the index where we want to insert the new extent.
5208 for (i = kHFSPlusExtentDensity-2; i > index; i--) {
5218 if (index == kHFSPlusExtentDensity-1) {
5227 * extent to split or first half of the split is at index 'index'
5229 * 'index+1' or into following overflow extent record.
5231 extents[index+1].startBlock = extents[index].startBlock + newBlockCount;
5232 extents[index+1].blockCount = extents[index].blockCount - newBlockCount;
5235 extents[index].blockCount = newBlockCount;
5238 printf ("hfs_split_extent: Split %u:(%u,%u) and ", index, extents[index].startBlock, extents[index].blockCount);
5239 if (index != kHFSPlusExtentDensity-1) {
5240 printf ("%u:(%u,%u)\n", index+1, extents[index+1].startBlock, extents[index+1].blockCount);
5451 /* Shift all entries by one index towards the end */
5552 int index;
5564 index = extent_info->extent_index;
5567 oldStartBlock = extent_info->extents[index].startBlock;
5568 oldBlockCount = extent_info->extents[index].blockCount;
5571 printf ("hfs_reclaim_extent: Examine record:%u recStartBlock=%u, %u:(%u,%u)\n", extent_info->overflow_count, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount);
5689 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) BlockAllocate error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5729 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) split error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5735 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) contig BlockAllocate error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5744 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u)=>(%u,%u) hfs_copy_extent error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, newStartBlock, newBlockCount, error);
5749 extent_info->extents[index].startBlock = newStartBlock;
5778 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) BlockDeallocate error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5784 printf ("hfs_reclaim_extent: Relocated record:%u %u:(%u,%u) to (%u,%u)\n", extent_info->overflow_count, index, oldStartBlock, oldBlockCount, newStartBlock, newBlockCount);