Lines Matching refs:root_log_ctx
2874 struct btrfs_log_ctx root_log_ctx; in btrfs_sync_log() local
2987 btrfs_init_log_ctx(&root_log_ctx, NULL); in btrfs_sync_log()
2992 list_add_tail(&root_log_ctx.list, &log_root_tree->log_ctxs[index2]); in btrfs_sync_log()
2993 root_log_ctx.log_transid = log_root_tree->log_transid; in btrfs_sync_log()
3002 if (!list_empty(&root_log_ctx.list)) in btrfs_sync_log()
3003 list_del_init(&root_log_ctx.list); in btrfs_sync_log()
3016 if (log_root_tree->log_transid_committed >= root_log_ctx.log_transid) { in btrfs_sync_log()
3018 list_del_init(&root_log_ctx.list); in btrfs_sync_log()
3020 ret = root_log_ctx.log_ret; in btrfs_sync_log()
3024 index2 = root_log_ctx.log_transid % 2; in btrfs_sync_log()
3029 root_log_ctx.log_transid); in btrfs_sync_log()
3032 ret = root_log_ctx.log_ret; in btrfs_sync_log()
3035 ASSERT(root_log_ctx.log_transid == log_root_tree->log_transid); in btrfs_sync_log()
3040 root_log_ctx.log_transid - 1); in btrfs_sync_log()