Searched refs:groups_sem (Results 1 – 7 of 7) sorted by relevance
398 down_write(&space_info->groups_sem); in btrfs_wait_block_group_reservations()399 up_write(&space_info->groups_sem); in btrfs_wait_block_group_reservations()1007 down_read(&sinfo->groups_sem); in clear_incompat_bg_bits()1016 up_read(&sinfo->groups_sem); in clear_incompat_bg_bits()1150 down_write(&block_group->space_info->groups_sem); in btrfs_remove_block_group()1161 up_write(&block_group->space_info->groups_sem); in btrfs_remove_block_group()1511 down_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()1521 up_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()1541 up_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()1577 up_write(&space_info->groups_sem); in btrfs_delete_unused_bgs()[all …]
152 struct rw_semaphore groups_sem; member
238 init_rwsem(&space_info->groups_sem); in create_space_info()324 down_write(&found->groups_sem); in btrfs_add_bg_to_space_info()326 up_write(&found->groups_sem); in btrfs_add_bg_to_space_info()520 down_read(&info->groups_sem); in btrfs_dump_space_info()541 up_read(&info->groups_sem); in btrfs_dump_space_info()
685 down_read(&sinfo->groups_sem); in raid_bytes_show()692 up_read(&sinfo->groups_sem); in raid_bytes_show()800 down_read(&sinfo->groups_sem); in btrfs_size_classes_show()819 up_read(&sinfo->groups_sem); in btrfs_size_classes_show()
2446 down_read(&space_info->groups_sem); in btrfs_zoned_activate_one_bg()2461 up_read(&space_info->groups_sem); in btrfs_zoned_activate_one_bg()2468 up_read(&space_info->groups_sem); in btrfs_zoned_activate_one_bg()
3034 down_read(&info->groups_sem); in btrfs_ioctl_space_info()3039 up_read(&info->groups_sem); in btrfs_ioctl_space_info()3086 down_read(&info->groups_sem); in btrfs_ioctl_space_info()3099 up_read(&info->groups_sem); in btrfs_ioctl_space_info()
4283 down_read(&space_info->groups_sem); in find_free_extent()4293 up_read(&space_info->groups_sem); in find_free_extent()4312 down_read(&space_info->groups_sem); in find_free_extent()4450 up_read(&space_info->groups_sem); in find_free_extent()