Home
last modified time | relevance | path

Searched refs:log_commit (Results 1 – 4 of 4) sorted by relevance

/linux/fs/btrfs/ !
H A Dctree.h193 atomic_t log_commit[2]; member
H A Dtree-log.c207 if (zoned && atomic_read(&root->log_commit[index])) { in start_log_trans()
270 if (zoned && atomic_read(&root->log_commit[index])) { in join_running_log_trans()
2855 atomic_read(&root->log_commit[index]))) in wait_log_commit()
2988 if (atomic_read(&root->log_commit[index1])) { in btrfs_sync_log()
2994 atomic_set(&root->log_commit[index1], 1); in btrfs_sync_log()
2997 if (atomic_read(&root->log_commit[(index1 + 1) % 2])) in btrfs_sync_log()
3123 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log()
3134 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log()
3136 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()
[all …]
H A Dtransaction.c1490 ASSERT(atomic_read(&root->log_commit[0]) == 0); in commit_fs_roots()
1491 ASSERT(atomic_read(&root->log_commit[1]) == 0); in commit_fs_roots()
H A Ddisk-io.c688 atomic_set(&root->log_commit[0], 0); in btrfs_alloc_root()
689 atomic_set(&root->log_commit[1], 0); in btrfs_alloc_root()