Lines Matching refs:log_transid
171 int index = root->log_transid % 2; in start_log_trans()
173 ctx->log_transid = root->log_transid; in start_log_trans()
2914 if (log->log_transid == 1) { in update_log_root()
3019 int log_transid = 0; in btrfs_sync_log() local
3024 log_transid = ctx->log_transid; in btrfs_sync_log()
3025 if (root->log_transid_committed >= log_transid) { in btrfs_sync_log()
3030 index1 = log_transid % 2; in btrfs_sync_log()
3032 wait_log_commit(root, log_transid); in btrfs_sync_log()
3036 ASSERT(log_transid == root->log_transid); in btrfs_sync_log()
3041 wait_log_commit(root, log_transid - 1); in btrfs_sync_log()
3064 if (log_transid % 2 == 0) in btrfs_sync_log()
3098 root->log_transid++; in btrfs_sync_log()
3099 log->log_transid = root->log_transid; in btrfs_sync_log()
3114 index2 = log_root_tree->log_transid % 2; in btrfs_sync_log()
3116 root_log_ctx.log_transid = log_root_tree->log_transid; in btrfs_sync_log()
3152 if (log_root_tree->log_transid_committed >= root_log_ctx.log_transid) { in btrfs_sync_log()
3160 index2 = root_log_ctx.log_transid % 2; in btrfs_sync_log()
3165 root_log_ctx.log_transid); in btrfs_sync_log()
3171 ASSERT(root_log_ctx.log_transid == log_root_tree->log_transid); in btrfs_sync_log()
3176 root_log_ctx.log_transid - 1); in btrfs_sync_log()
3218 log_root_tree->log_transid++; in btrfs_sync_log()
3236 if (root->last_log_commit < log_transid) in btrfs_sync_log()
3237 root->last_log_commit = log_transid; in btrfs_sync_log()