Searched refs:used_bg (Results 1 – 1 of 1) sorted by relevance
6964 struct btrfs_block_group_cache *used_bg; in btrfs_lock_cluster() local6969 if (used_bg == cluster->block_group) in btrfs_lock_cluster()6970 return used_bg; in btrfs_lock_cluster()6972 up_read(&used_bg->data_rwsem); in btrfs_lock_cluster()6973 btrfs_put_block_group(used_bg); in btrfs_lock_cluster()6976 used_bg = cluster->block_group; in btrfs_lock_cluster()6977 if (!used_bg) in btrfs_lock_cluster()6980 if (used_bg == block_group) in btrfs_lock_cluster()6981 return used_bg; in btrfs_lock_cluster()6983 btrfs_get_block_group(used_bg); in btrfs_lock_cluster()[all …]