Lines Matching defs:endBlock
4036 u_int32_t GenerateTree(struct hfsmount *hfsmp, u_int32_t endBlock, int *flags, int initialscan) {
4063 while (*cur_block_eof < endBlock) {
4067 * update our endBlock to match the current allocation limit in the hfsmp struct.
4071 if ((initialscan) && (endBlock != hfsmp->allocLimit)) {
4077 endBlock = hfsmp->allocLimit;
4098 error = hfs_alloc_scan_block (hfsmp, *cur_block_eof, endBlock, cur_block_eof);
4410 uint32_t endBlock = startBlock + blockCount;
4412 if (endBlock < hfsmp->vcbFreeExt[i].startBlock ||
4483 u_int32_t currentStart, currentEnd, endBlock;
4496 endBlock = startBlock + blockCount;
4512 if (currentEnd <= startBlock || currentStart >= endBlock) {
4520 if (startBlock <= currentStart && endBlock >= currentEnd) {
4542 if (startBlock > currentStart && endBlock < currentEnd) {
4545 add_free_extent_list(hfsmp, endBlock, currentEnd - endBlock);
4568 insertedIndex = add_free_extent_list(hfsmp, endBlock, currentEnd - endBlock);
4610 uint32_t endBlock;
4648 endBlock = startBlock + blockCount;
4651 if (hfsmp->vcbFreeExt[i].startBlock > endBlock || currentEnd < startBlock) {
4658 if (currentEnd > endBlock)
4659 endBlock = currentEnd;
4672 add_free_extent_list(hfsmp, startBlock, endBlock - startBlock);