Lines Matching refs:end

451 	off_t end, int recursion)
453 TRACE("DataStream::_AddBlocks(): start: %" B_PRIdOFF ", end %" B_PRIdOFF
454 ", recursion: %d\n", start, end, recursion);
469 return _AddBlocks(transaction, &childBlock[start], end - start);
482 uint32 endPos = end / elementWidth;
484 TRACE("DataStream::_AddBlocks(): element pos: %" B_PRIu32 ", end pos: %"
491 start % elementWidth, end % elementWidth, recursion);
516 if (end % elementWidth != 0) {
518 end % elementWidth, recursion);
520 ERROR("DataStream::_AddBlocks() _AddBlocks() end failed\n");
535 uint32 end = numBlocks > kMaxDirect ? kMaxDirect : numBlocks;
537 return _AddBlocks(transaction, direct, end - fNumBlocks);
548 uint32 end = numBlocks - kMaxDirect;
550 if (end > kIndirectsPerBlock)
551 end = kIndirectsPerBlock;
553 return _AddBlocks(transaction, indirect, start, end, 0);
565 uint32 end = numBlocks - kMaxIndirect;
567 if (end > kIndirectsPerBlock2)
568 end = kIndirectsPerBlock2;
570 return _AddBlocks(transaction, doubleIndirect, start, end, 1);
582 uint32 end = numBlocks - kMaxDoubleIndirect;
584 return _AddBlocks(transaction, tripleIndirect, start, end, 2);
658 off_t end, bool freeParent, int recursion)
662 ", %c, %d)\n", block, start, end, freeParent ? 't' : 'f', recursion);
678 return _FreeBlocks(transaction, &childBlock[start], end - start);
691 uint32 endPos = end / elementWidth;
698 start % elementWidth, end % elementWidth, free, recursion);
721 if (end % elementWidth != 0) {
723 end % elementWidth, true, recursion);
736 off_t end = fNumBlocks > kMaxDirect ? kMaxDirect : fNumBlocks;
738 return _FreeBlocks(transaction, direct, end - numBlocks);
749 off_t end = fNumBlocks - kMaxDirect;
751 if (end > kIndirectsPerBlock)
752 end = kIndirectsPerBlock;
756 return _FreeBlocks(transaction, indirect, start, end, freeAll, 0);
768 off_t end = fNumBlocks - kMaxIndirect;
770 if (end > kIndirectsPerBlock2)
771 end = kIndirectsPerBlock2;
775 return _FreeBlocks(transaction, doubleIndirect, start, end, freeAll, 1);
788 off_t end = fNumBlocks - kMaxDoubleIndirect;
792 return _FreeBlocks(transaction, tripleIndirect, start, end, freeAll, 2);