Lines Matching refs:offset
12 CachedExtent::Create(uint64 offset, uint64 length, uint64 flags)
18 self->offset = offset;
65 extentType, offset, length, refCount);
85 /* Find extent that cover or after "offset" and has length >= "size"
89 CachedExtentTree::FindNext(CachedExtent** chosen, uint64 offset, uint64 size,
92 CachedExtent* found = Find(offset);
114 if (lowerBound < node->offset) {
115 hole = CachedExtent::Create(lowerBound, node->offset - lowerBound,
124 if (node->End() == next->offset) {
129 hole = CachedExtent::Create(node->End(), next->offset - node->End(),
165 CachedExtent* found = Find(node->offset);
189 uint64 diff = node->offset - found->offset;
190 found->offset += diff + node->length;
195 node->offset - diff, diff, found->flags);
226 CachedExtent* found = Find(node->offset);
254 uint64 diff = node->offset - found->offset;
255 found->offset += diff + node->length;
259 CachedExtent* left = CachedExtent::Create(node->offset - diff,
294 if (node->End() == other->offset && node->flags == other->flags) {
302 if (other->End() == node->offset && node->flags == other->flags) {
629 start = chosen->offset;