Lines Matching refs:root_log_ctx
3088 struct btrfs_log_ctx root_log_ctx; in btrfs_sync_log() local
3201 btrfs_init_log_ctx(&root_log_ctx, NULL); in btrfs_sync_log()
3206 list_add_tail(&root_log_ctx.list, &log_root_tree->log_ctxs[index2]); in btrfs_sync_log()
3207 root_log_ctx.log_transid = log_root_tree->log_transid; in btrfs_sync_log()
3216 if (!list_empty(&root_log_ctx.list)) in btrfs_sync_log()
3217 list_del_init(&root_log_ctx.list); in btrfs_sync_log()
3233 if (log_root_tree->log_transid_committed >= root_log_ctx.log_transid) { in btrfs_sync_log()
3235 list_del_init(&root_log_ctx.list); in btrfs_sync_log()
3237 ret = root_log_ctx.log_ret; in btrfs_sync_log()
3241 index2 = root_log_ctx.log_transid % 2; in btrfs_sync_log()
3246 root_log_ctx.log_transid); in btrfs_sync_log()
3249 ret = root_log_ctx.log_ret; in btrfs_sync_log()
3252 ASSERT(root_log_ctx.log_transid == log_root_tree->log_transid); in btrfs_sync_log()
3257 root_log_ctx.log_transid - 1); in btrfs_sync_log()