Lines Matching refs:root_log_ctx
3020 struct btrfs_log_ctx root_log_ctx; in btrfs_sync_log() local
3108 btrfs_init_log_ctx(&root_log_ctx, NULL); in btrfs_sync_log()
3115 list_add_tail(&root_log_ctx.list, &log_root_tree->log_ctxs[index2]); in btrfs_sync_log()
3116 root_log_ctx.log_transid = log_root_tree->log_transid; in btrfs_sync_log()
3135 if (!list_empty(&root_log_ctx.list)) in btrfs_sync_log()
3136 list_del_init(&root_log_ctx.list); in btrfs_sync_log()
3152 if (log_root_tree->log_transid_committed >= root_log_ctx.log_transid) { in btrfs_sync_log()
3154 list_del_init(&root_log_ctx.list); in btrfs_sync_log()
3156 ret = root_log_ctx.log_ret; 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()
3168 ret = root_log_ctx.log_ret; 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()