Home
last modified time | relevance | path

Searched refs:used_bg (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dextent-tree.c7182 struct btrfs_block_group_cache *used_bg = NULL; in btrfs_lock_cluster() local
7186 used_bg = cluster->block_group; in btrfs_lock_cluster()
7187 if (!used_bg) in btrfs_lock_cluster()
7190 if (used_bg == block_group) in btrfs_lock_cluster()
7191 return used_bg; in btrfs_lock_cluster()
7193 btrfs_get_block_group(used_bg); in btrfs_lock_cluster()
7196 return used_bg; in btrfs_lock_cluster()
7198 if (down_read_trylock(&used_bg->data_rwsem)) in btrfs_lock_cluster()
7199 return used_bg; in btrfs_lock_cluster()
7204 down_read_nested(&used_bg->data_rwsem, SINGLE_DEPTH_NESTING); in btrfs_lock_cluster()
[all …]