Lines Matching defs:block
233 eflags = kEFDeferMask; /* defer file block allocations */
385 read without being zeroed. The current last block is filled with zeroes
464 * zeroing of the last block, above), then we'll zero fill from the current EOF
1471 /* On magic value for location, set nextAllocation to next block
1922 * Converts a logical block number to a physical block, and optionally returns
1923 * the amount of remaining blocks in a run. The logical block is based on hfsNode.logBlockSize.
1924 * The physical block number is based on the device block size, currently its 512.
1925 * The block run is returned in logical blocks, and is the REMAINING amount of blocks
1982 * Convert logical block number to file offset.
2002 * Convert file offset to logical block number.
2022 * Map file offset to physical block number.
2236 /* There's no valid block for this byte offset */
2251 /* The range of interest hits an invalid block before the end: */
2844 * Adjust actualBytesAdded to be allocation block aligned, not
2848 * block size.
3059 BlockDescriptor block;
3075 /* Prepare the block pointer */
3076 block.blockHeader = bp;
3077 block.buffer = (char *)buf_dataptr(bp);
3078 block.blockNum = buf_lblkno(bp);
3080 block.blockReadFromDisk = (buf_fromcache(bp) == 0);
3081 block.blockSize = buf_count(bp);
3084 retval = hfs_swap_BTNode (&block, vp, kSwapBTNodeHostToBig, false);