Lines Matching refs:flags

12 CachedExtent::Create(uint64 offset, uint64 length, uint64 flags)
21 if ((flags & BTRFS_EXTENT_FLAG_ALLOCATED) != 0)
23 self->flags = flags;
42 return (flags & BTRFS_EXTENT_FLAG_ALLOCATED) != 0;
49 return (flags & BTRFS_EXTENT_FLAG_DATA) != 0;
93 while (found != NULL && (found->flags != type || found->length < size))
113 uint64 flags = node->flags & (~BTRFS_EXTENT_FLAG_ALLOCATED);
116 flags);
130 flags);
140 flags);
195 node->offset - diff, diff, found->flags);
245 node->End() - found->End(), node->flags);
260 diff, found->flags);
294 if (node->End() == other->offset && node->flags == other->flags) {
302 if (other->End() == node->offset && node->flags == other->flags) {
382 uint64 flags = Flags();
383 return Initialize(flags);
435 uint64 flags = (Flags() & BTRFS_BLOCKGROUP_FLAG_DATA) != 0 ?
438 flags |= BTRFS_EXTENT_FLAG_ALLOCATED;
447 if ((flags & BTRFS_EXTENT_FLAG_DATA) != 0)
467 if ((flags & BTRFS_EXTENT_FLAG_DATA) != 0)
469 insert = CachedExtent::Create(key.ObjectID(), extentSize, flags);
473 insert = CachedExtent::Create(start, extentSize, flags);
481 _InsertExtent(tree, start, End() - start, flags);
489 uint64 flags)
491 CachedExtent* extent = CachedExtent::Create(start, length, flags);
532 ExtentAllocator::_LoadExtentTree(uint64 flags)
534 TRACE("ExtentAllocator::_LoadExtentTree() flags: %" B_PRIu64 "\n", flags);
536 status_t status = blockGroup.Initialize(flags);
645 // flags is BLOCKGROUP's flags
647 ExtentAllocator::AllocateTreeBlock(uint64& found, uint64 start, uint64 flags)
649 // TODO: implement more features here with flags, e.g DUP, RAID, etc
652 status_t status = blockGroup.Initialize(flags);
679 uint64 flags)
681 // TODO: implement more features here with flags, e.g DUP, RAID, etc
685 status_t status = blockGroup.Initialize(flags);