Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Ddev-replace.c471 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
478 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
482 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
492 mutex_lock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
542 mutex_unlock(&fs_info->chunk_mutex); in mark_block_group_to_copy()
810 lockdep_assert_held(&srcdev->fs_info->chunk_mutex); in btrfs_set_target_alloc_state()
908 mutex_lock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
912 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
947 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
1001 mutex_unlock(&fs_info->chunk_mutex); in btrfs_dev_replace_finishing()
H A Dvolumes.c1470 lockdep_assert_held(&device->fs_info->chunk_mutex); in contains_pending_extent()
2182 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()
2185 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()
2296 mutex_lock(&fs_info->chunk_mutex); in btrfs_rm_device()
2300 mutex_unlock(&fs_info->chunk_mutex); in btrfs_rm_device()
2759 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2788 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2796 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2798 mutex_unlock(&fs_info->chunk_mutex); in btrfs_init_new_device()
2867 mutex_lock(&fs_info->chunk_mutex); in btrfs_init_new_device()
[all …]
H A Dblock-group.c2752 mutex_lock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()
2754 mutex_unlock(&fs_info->chunk_mutex); in btrfs_create_pending_block_groups()
3003 mutex_lock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()
3005 mutex_unlock(&fs_info->chunk_mutex); in btrfs_inc_block_group_ro()
4128 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
4129 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
4140 mutex_lock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
4193 mutex_unlock(&fs_info->chunk_mutex); in btrfs_chunk_alloc()
4222 lockdep_assert_held(&fs_info->chunk_mutex); in reserve_chunk_space()
4324 mutex_lock(&fs_info->chunk_mutex); in btrfs_reserve_chunk_metadata()
[all …]
H A Dfs.h465 struct mutex chunk_mutex; member
H A Dzoned.c2218 mutex_lock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
2247 mutex_unlock(&fs_info->chunk_mutex); in btrfs_can_activate_zone()
H A Dextent-tree.c6052 ret = mutex_lock_interruptible(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
6068 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
6087 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
6097 mutex_unlock(&fs_info->chunk_mutex); in btrfs_trim_free_extents()
H A Ddisk-io.c2761 mutex_init(&fs_info->chunk_mutex); in btrfs_init_fs_info()
3348 mutex_lock(&fs_info->chunk_mutex); in open_ctree()
3350 mutex_unlock(&fs_info->chunk_mutex); in open_ctree()