Searched refs:exclusive_operation (Results 1 – 4 of 4) sorted by relevance
404 if (fs_info->exclusive_operation == BTRFS_EXCLOP_NONE) { in btrfs_exclop_start()405 fs_info->exclusive_operation = type; in btrfs_exclop_start()428 if (fs_info->exclusive_operation == type || in btrfs_exclop_start_try_lock()429 (fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED && in btrfs_exclop_start_try_lock()445 WRITE_ONCE(fs_info->exclusive_operation, BTRFS_EXCLOP_NONE); in btrfs_exclop_finish()456 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE || in btrfs_exclop_balance()457 fs_info->exclusive_operation == BTRFS_EXCLOP_DEV_ADD || in btrfs_exclop_balance()458 fs_info->exclusive_operation == BTRFS_EXCLOP_NONE || in btrfs_exclop_balance()459 fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED); in btrfs_exclop_balance()460 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE_PAUSED; in btrfs_exclop_balance()[all …]
749 enum btrfs_exclusive_operation exclusive_operation; member
1161 switch (READ_ONCE(fs_info->exclusive_operation)) { in btrfs_exclusive_operation_show()1192 BTRFS_ATTR(, exclusive_operation, btrfs_exclusive_operation_show);1300 BTRFS_ATTR_PTR(, exclusive_operation),
4474 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED); in btrfs_resume_balance_async()4475 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE; in btrfs_resume_balance_async()