Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dtree-log.c206 if (zoned && atomic_read(&root->log_commit[index])) { in start_log_trans()
269 if (zoned && atomic_read(&root->log_commit[index])) { in join_running_log_trans()
2818 atomic_read(&root->log_commit[index]))) in wait_log_commit()
2906 if (atomic_read(&root->log_commit[index1])) { in btrfs_sync_log()
2912 atomic_set(&root->log_commit[index1], 1); in btrfs_sync_log()
2915 if (atomic_read(&root->log_commit[(index1 + 1) % 2])) in btrfs_sync_log()
3044 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log()
3055 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log()
3057 if (atomic_read(&log_root_tree->log_commit[(index2 + 1) % 2])) { in btrfs_sync_log()
3166 atomic_set(&log_root_tree->log_commit[index2], 0); in btrfs_sync_log()
[all …]
H A Dctree.h218 atomic_t log_commit[2]; member
H A Dtransaction.c1448 ASSERT(atomic_read(&root->log_commit[0]) == 0); in commit_fs_roots()
1449 ASSERT(atomic_read(&root->log_commit[1]) == 0); in commit_fs_roots()
H A Ddisk-io.c671 atomic_set(&root->log_commit[0], 0); in __setup_root()
672 atomic_set(&root->log_commit[1], 0); in __setup_root()