Searched refs:log_commit (Results 1 – 3 of 3) sorted by relevance
2940 atomic_read(&root->log_commit[index]))) in wait_log_commit()3031 if (atomic_read(&root->log_commit[index1])) { in btrfs_sync_log()3037 atomic_set(&root->log_commit[index1], 1); in btrfs_sync_log()3040 if (atomic_read(&root->log_commit[(index1 + 1) % 2])) in btrfs_sync_log()3161 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log()3172 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log()3174 if (atomic_read(&log_root_tree->log_commit[(index2 + 1) % 2])) { in btrfs_sync_log()3245 atomic_set(&log_root_tree->log_commit[index2], 0); in btrfs_sync_log()3258 atomic_set(&root->log_commit[index1], 0); in btrfs_sync_log()
1191 atomic_set(&root->log_commit[0], 0); in __setup_root()1192 atomic_set(&root->log_commit[1], 0); in __setup_root()
1195 atomic_t log_commit[2]; member