Searched refs:used_bg (Results 1 – 1 of 1) sorted by relevance
6666 struct btrfs_block_group_cache *used_bg; in btrfs_lock_cluster() local6671 if (used_bg == cluster->block_group) in btrfs_lock_cluster()6672 return used_bg; in btrfs_lock_cluster()6674 up_read(&used_bg->data_rwsem); in btrfs_lock_cluster()6675 btrfs_put_block_group(used_bg); in btrfs_lock_cluster()6678 used_bg = cluster->block_group; in btrfs_lock_cluster()6679 if (!used_bg) in btrfs_lock_cluster()6682 if (used_bg == block_group) in btrfs_lock_cluster()6683 return used_bg; in btrfs_lock_cluster()6685 btrfs_get_block_group(used_bg); in btrfs_lock_cluster()[all …]