• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /xnu-2782.1.97/bsd/hfs/hfscommon/Misc/

Lines Matching defs:blocks

84 					Deallocate all allocation blocks in all extents of an extent
87 Deallocate blocks and delete extent records for all allocation
88 blocks beyond a certain point in a file. The starting point
92 Deallocate all allocation blocks belonging to a given fork.
611 // Loop over the extent record and release the blocks associated with each extent.
637 // allocation blocks represented by the extents are deallocated.
1012 // Determine how many blocks need to be allocated.
1019 * For deferred allocations just reserve the blocks.
1038 * Give back any unallocated blocks before doing real allocations.
1086 // enough free blocks on the volume (quick test).
1095 // See if there are already enough blocks allocated to the file.
1100 // Enough blocks are already allocated. Just update the FCB to reflect the new length.
1135 * contiguity as it can result in fewer blocks being needed from the underlying
1186 /* Find number of free blocks based on reserved block flag option */
1264 // We grew the file's last extent, so just adjust the number of blocks.
1407 u_int32_t physNumBlocks; // Number of allocation blocks in file (according to PEOF)
1444 nextBlock = howmany(peof, vcb->blockSize); // number of allocation blocks to remain in file
1445 peof = (int64_t)((int64_t)nextBlock * (int64_t)vcb->blockSize); // number of bytes in those blocks
1503 // keep up through peof). The search will tell us how many allocation blocks exist
1516 numBlocks = extentNextBlock - nextBlock; // How many blocks in this extent to free up
1520 // Free the blocks in bitmap
1568 // If there are any following allocation blocks, then we need
1570 // blocks.
2115 u_int32_t blocks;
2123 blocks = extentRecord[extentIndex].blockCount;
2125 if ( blocks == 0 )
2131 *blocksChecked += blocks;
2133 if (blocks & mask)