Lines Matching refs:exclusive_operation
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_BALANCE_PAUSED; in btrfs_exclop_balance()
463 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED); in btrfs_exclop_balance()
464 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE; in btrfs_exclop_balance()
2640 fs_info->exclusive_operation = BTRFS_EXCLOP_DEV_ADD; in btrfs_ioctl_add_dev()