Searched refs:log_root_tree (Results 1 – 3 of 3) sorted by relevance
157 if (!root->fs_info->log_root_tree) { in start_log_trans()1928 ret = btrfs_insert_root(trans, log->fs_info->log_root_tree, in update_log_root()1931 ret = btrfs_update_root(trans, log->fs_info->log_root_tree, in update_log_root()2004 struct btrfs_root *log_root_tree = root->fs_info->log_root_tree; in btrfs_sync_log() local2065 mutex_lock(&log_root_tree->log_mutex); in btrfs_sync_log()2066 log_root_tree->log_batch++; in btrfs_sync_log()2067 atomic_inc(&log_root_tree->log_writers); in btrfs_sync_log()2068 mutex_unlock(&log_root_tree->log_mutex); in btrfs_sync_log()2072 mutex_lock(&log_root_tree->log_mutex); in btrfs_sync_log()2073 if (atomic_dec_and_test(&log_root_tree->log_writers)) { in btrfs_sync_log()[all …]
1292 WARN_ON(fs_info->log_root_tree); in btrfs_init_log_root_tree()1293 fs_info->log_root_tree = log_root; in btrfs_init_log_root_tree()
1001 struct btrfs_root *log_root_tree; member