Searched refs:scratch_eb (Results 1 – 3 of 3) sorted by relevance
55 struct extent_buffer *scratch_eb; member
2856 ctx->scratch_eb = NULL; in btrfs_init_log_ctx()2871 ctx->scratch_eb = alloc_dummy_extent_buffer(inode->root->fs_info, 0); in btrfs_init_log_ctx_scratch_eb()3690 if (ctx->scratch_eb) { in clone_leaf()3691 copy_extent_buffer_full(ctx->scratch_eb, path->nodes[0]); in clone_leaf()3693 ctx->scratch_eb = btrfs_clone_extent_buffer(path->nodes[0]); in clone_leaf()3694 if (!ctx->scratch_eb) in clone_leaf()3699 path->nodes[0] = ctx->scratch_eb; in clone_leaf()3705 atomic_inc(&ctx->scratch_eb->refs); in clone_leaf()7626 free_extent_buffer(ctx.scratch_eb); in btrfs_log_new_name()
1660 if (ctx.scratch_eb) { in btrfs_sync_file()1661 free_extent_buffer(ctx.scratch_eb); in btrfs_sync_file()1662 ctx.scratch_eb = NULL; in btrfs_sync_file()1742 free_extent_buffer(ctx.scratch_eb); in btrfs_sync_file()