Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dtree-log.c204 if (zoned && atomic_read(&root->log_commit[index])) { in start_log_trans()
267 if (zoned && atomic_read(&root->log_commit[index])) { in join_running_log_trans()
2815 atomic_read(&root->log_commit[index]))) in wait_log_commit()
2948 if (atomic_read(&root->log_commit[index1])) { in btrfs_sync_log()
2954 atomic_set(&root->log_commit[index1], 1); in btrfs_sync_log()
2957 if (atomic_read(&root->log_commit[(index1 + 1) % 2])) in btrfs_sync_log()
3083 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log()
3094 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log()
3096 if (atomic_read(&log_root_tree->log_commit[(index2 + 1) % 2])) { in btrfs_sync_log()
3205 atomic_set(&log_root_tree->log_commit[index2], 0); in btrfs_sync_log()
[all …]
H A Dctree.h193 atomic_t log_commit[2]; member
H A Dtransaction.c1485 ASSERT(atomic_read(&root->log_commit[0]) == 0); in commit_fs_roots()
1486 ASSERT(atomic_read(&root->log_commit[1]) == 0); in commit_fs_roots()
H A Ddisk-io.c691 atomic_set(&root->log_commit[0], 0); in __setup_root()
692 atomic_set(&root->log_commit[1], 0); in __setup_root()