Lines Matching defs:block

351 	eflags = kEFDeferMask;	/* defer file block allocations */
403 * of which are because we may be writing to a (portion of a) block
405 * prior, uninitialized contents of the block. The cases are:
414 * old EOF and new EOF are in the same block, we still need to
572 read without being zeroed. The current last block is filled with zeroes
651 * zeroing of the last block, above), then we'll zero fill from the current EOF
2050 /* On magic value for location, set nextAllocation to next block
2123 * volume is currently initialized as normal volume (sorted by block
2125 * for sparse device (sorted by start block).
2813 * Converts a logical block number to a physical block, and optionally returns
2814 * the amount of remaining blocks in a run. The logical block is based on hfsNode.logBlockSize.
2815 * The physical block number is based on the device block size, currently its 512.
2816 * The block run is returned in logical blocks, and is the REMAINING amount of blocks
2873 * Convert logical block number to file offset.
2893 * Convert file offset to logical block number.
2913 * Map file offset to physical block number.
3146 /* There's no valid block for this byte offset */
3161 /* The range of interest hits an invalid block before the end: */
4070 * Adjust actualBytesAdded to be allocation block aligned, not
4074 * block size.
4220 * NOTE: The if () block below is a workaround in order to prevent a
4352 * i.e. we would block on that lock while the file is being inflated
4377 * in the above block. This avoid us overloading truncate_lock_held as our retry_pagein
4391 * We should only be able to get into this block if the decmpfs_pagein_compressed
4697 } /* end block for v2 pageout behavior */
4775 BlockDescriptor block;
4791 /* Prepare the block pointer */
4792 block.blockHeader = bp;
4793 block.buffer = (char *)buf_dataptr(bp);
4794 block.blockNum = buf_lblkno(bp);
4796 block.blockReadFromDisk = (buf_fromcache(bp) == 0);
4797 block.blockSize = buf_count(bp);
4800 retval = hfs_swap_BTNode (&block, vp, kSwapBTNodeHostToBig, false);