Searched refs:exclusive_operation (Results 1 – 4 of 4) sorted by relevance
393 if (fs_info->exclusive_operation == BTRFS_EXCLOP_NONE) { in btrfs_exclop_start()394 fs_info->exclusive_operation = type; in btrfs_exclop_start()417 if (fs_info->exclusive_operation == type || in btrfs_exclop_start_try_lock()418 (fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED && in btrfs_exclop_start_try_lock()434 WRITE_ONCE(fs_info->exclusive_operation, BTRFS_EXCLOP_NONE); in btrfs_exclop_finish()445 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE || in btrfs_exclop_balance()446 fs_info->exclusive_operation == BTRFS_EXCLOP_DEV_ADD); in btrfs_exclop_balance()447 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE_PAUSED; in btrfs_exclop_balance()452 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED); in btrfs_exclop_balance()453 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE; in btrfs_exclop_balance()[all …]
1110 switch (READ_ONCE(fs_info->exclusive_operation)) { in btrfs_exclusive_operation_show()1141 BTRFS_ATTR(, exclusive_operation, btrfs_exclusive_operation_show);1244 BTRFS_ATTR_PTR(, exclusive_operation),
4467 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED); in btrfs_resume_balance_async()4468 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE; in btrfs_resume_balance_async()
1023 enum btrfs_exclusive_operation exclusive_operation; member