Lines Matching refs:size
49 BPartitioningInfo::SetTo(off_t offset, off_t size)
51 TRACE(("%p - BPartitioningInfo::SetTo(offset = %lld, size = %lld)\n", this, offset, size));
56 if (size > 0) {
63 fSpaces[0].size = size;
89 BPartitioningInfo::ExcludeOccupiedSpace(off_t offset, off_t size)
91 if (size <= 0)
95 "size = %lld)\n", this, offset, size));
101 && offset < fSpaces[i].offset + fSpaces[i].size) {
105 if (fSpaces[i].offset < offset + size)
118 off_t rightSpaceEnd = rightSpace.offset + rightSpace.size;
122 && rightSpaceEnd > offset + size) {
138 space.size = offset - space.offset;
140 newSpace.offset = offset + size;
141 newSpace.size = rightSpaceEnd - newSpace.offset;
152 leftSpace.size = offset - leftSpace.offset;
154 TRACE((" left space remains, new size is %lld\n", leftSpace.size));
161 if (rightSpaceEnd > offset + size) {
162 rightSpace.offset = offset + size;
163 rightSpace.size = rightSpaceEnd - rightSpace.offset;
165 TRACE((" right space remains, new offset = %lld, size = %lld\n",
166 rightSpace.offset, rightSpace.size));
193 off_t *size) const
197 if (!offset || !size)
202 *size = fSpaces[index].size;
225 printf(" space at %" B_PRId32 ": offset = %" B_PRId64 ", size = %"
226 B_PRId64 "\n", i, fSpaces[i].offset, fSpaces[i].size);