• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/hfs/

Lines Matching refs:block

176 	/* Establish the free block reserve. */
224 * is in progress and therefore block any further
971 /* Get the logical block size (treated as physical block size everywhere) */
976 /* Get the physical block size. */
984 * block size is same as logical block size
999 /* resetting block size may fail if getting block count did */
1010 * block size to be 4k if there are more than 31-bits
1015 * switching the logical block size isn't going to help because
1017 * In this case, just leave the logical block size unchanged.
1025 /* Now switch to our preferred physical block size. */
1039 * minblksize is the minimum physical block size
1040 * log_blksize has our preferred physical block size
1189 * If the embedded volume doesn't start on a block
1191 * block size so everything will line up on a block
1196 " a multiple of physical block size (%d);"
1209 /* Note: relative block count adjustment */
1214 /* Update logical/physical block size */
1343 printf("HFS Mount: could not use physical block size "
1355 /* Note: relative block count adjustment (in case this is an embedded volume). */
1361 // close and re-open this with the new block size
1411 /* Try again with a smaller block size... */
1875 // XXXdbg -- be smarter and don't flush *every* block on each
1892 // now make sure the super block is flushed
1910 // the alternate super block...
1966 * initiate the writing of the super block if it has been modified.
3674 * NOTE: allocLimit is set to the allocation block number where the new
3748 * since this block will be outside of the truncated file system!
3826 * Invalidate the physical block numbers associated with buffer cache blocks
3860 * physical block number of any buffer cache block in the copied extent
3861 * (so that if the block is written, it will go through VNOP_BLOCKMAP to
3862 * determine the new physical block number).
3997 * of a transaction have their physical block numbers invalidated so they will
4004 * startblk Blocks >= this allocation block need to be moved.
4024 u_long block;
4055 block = oldStartBlock + blockCount;
4056 if (block > startblk) {
4136 block = oldStartBlock + blockCount;
4137 if (block > startblk) {
4161 * use the extent's new location to calculate physical block
4211 * This journal_relocate callback updates the journal info block to point
4213 * transaction. We must write the block immediately. We must also force
4354 * Move the journal info block to a new location. We have to make sure the
4355 * new copy of the journal info block gets to the media first, then change
4392 /* Copy the old journal info block content to the new location */
4437 /* Update the pointer to the journal info block in the volume header. */
4480 u_long block;
4525 * with an invalid (too large) block number.
4601 block = filerec.dataFork.extents[i].startBlock +
4603 if (block >= startblk) {
4617 block = filerec.resourceFork.extents[i].startBlock +
4619 if (block >= startblk) {
4767 u_int32_t block;
4804 block = extrec[i].startBlock + extrec[i].blockCount;
4805 if (block >= startblk) {