Searched refs:groups_sem (Results 1 – 7 of 7) sorted by relevance
386 down_write(&space_info->groups_sem); in btrfs_wait_block_group_reservations()387 up_write(&space_info->groups_sem); in btrfs_wait_block_group_reservations()820 down_read(&sinfo->groups_sem); in clear_incompat_bg_bits()829 up_read(&sinfo->groups_sem); in clear_incompat_bg_bits()963 down_write(&block_group->space_info->groups_sem); in btrfs_remove_block_group()974 up_write(&block_group->space_info->groups_sem); in btrfs_remove_block_group()1328 down_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()1338 up_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()1357 up_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()1364 up_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()[all …]
76 struct rw_semaphore groups_sem; member
235 init_rwsem(&space_info->groups_sem); in create_space_info()323 down_write(&found->groups_sem); in btrfs_add_bg_to_space_info()325 up_write(&found->groups_sem); in btrfs_add_bg_to_space_info()538 down_read(&info->groups_sem); in btrfs_dump_space_info()552 up_read(&info->groups_sem); in btrfs_dump_space_info()
2316 down_read(&space_info->groups_sem); in btrfs_zoned_activate_one_bg()2331 up_read(&space_info->groups_sem); in btrfs_zoned_activate_one_bg()2338 up_read(&space_info->groups_sem); in btrfs_zoned_activate_one_bg()
675 down_read(&sinfo->groups_sem); in raid_bytes_show()682 up_read(&sinfo->groups_sem); in raid_bytes_show()
3900 down_read(&info->groups_sem); in btrfs_ioctl_space_info()3905 up_read(&info->groups_sem); in btrfs_ioctl_space_info()3952 down_read(&info->groups_sem); in btrfs_ioctl_space_info()3965 up_read(&info->groups_sem); in btrfs_ioctl_space_info()
4320 down_read(&space_info->groups_sem); in find_free_extent()4330 up_read(&space_info->groups_sem); in find_free_extent()4347 down_read(&space_info->groups_sem); in find_free_extent()4472 up_read(&space_info->groups_sem); in find_free_extent()