Lines Matching defs:cache
461 struct btrfs_block_group *cache;
530 cache = btrfs_lookup_block_group(fs_info, chunk_offset);
531 if (!cache)
534 set_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags);
535 btrfs_put_block_group(cache);
548 struct btrfs_block_group *cache,
551 struct btrfs_fs_info *fs_info = cache->fs_info;
554 u64 chunk_offset = cache->start;
562 spin_lock(&cache->lock);
563 if (test_bit(BLOCK_GROUP_FLAG_REMOVED, &cache->runtime_flags)) {
564 spin_unlock(&cache->lock);
567 spin_unlock(&cache->lock);
596 clear_bit(BLOCK_GROUP_FLAG_TO_COPY, &cache->runtime_flags);