Home
last modified time | relevance | path

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

/fs/btrfs/
Ddev-replace.c485 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
492 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
496 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
506 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
556 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
807 lockdep_assert_held(&srcdev->fs_info->chunk_mutex); in btrfs_set_target_alloc_state()
905 mutex_lock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
909 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
944 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
997 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
Dvolumes.c1439 lockdep_assert_held(&device->fs_info->chunk_mutex); in contains_pending_extent()
2160 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()
2163 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()
2274 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()
2278 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()
2747 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2776 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2784 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2786 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2855 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
[all …]
Dblock-group.c2520 mutex_lock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()
2522 mutex_unlock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()
2774 mutex_lock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()
2776 mutex_unlock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()
3874 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
3875 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
3886 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
3939 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
3968 lockdep_assert_held(&fs_info->chunk_mutex); in reserve_chunk_space()
4070 mutex_lock(&fs_info->chunk_mutex); in btrfs_reserve_chunk_metadata()
[all …]
Dzoned.c2093 mutex_lock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
2116 mutex_unlock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
Dextent-tree.c6100 ret = mutex_lock_interruptible(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
6116 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
6135 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
6146 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
Ddisk-io.c3100 mutex_init(&fs_info->chunk_mutex); in btrfs_init_fs_info()
3644 mutex_lock(&fs_info->chunk_mutex); in open_ctree()
3646 mutex_unlock(&fs_info->chunk_mutex); in open_ctree()
Dctree.h737 struct mutex chunk_mutex; member