Lines Matching refs:ctx
26 static inline void btrfs_init_log_ctx(struct btrfs_log_ctx *ctx, in btrfs_init_log_ctx() argument
29 ctx->log_ret = 0; in btrfs_init_log_ctx()
30 ctx->log_transid = 0; in btrfs_init_log_ctx()
31 ctx->log_new_dentries = false; in btrfs_init_log_ctx()
32 ctx->logging_new_name = false; in btrfs_init_log_ctx()
33 ctx->inode = inode; in btrfs_init_log_ctx()
34 INIT_LIST_HEAD(&ctx->list); in btrfs_init_log_ctx()
35 INIT_LIST_HEAD(&ctx->ordered_extents); in btrfs_init_log_ctx()
38 static inline void btrfs_release_log_ctx_extents(struct btrfs_log_ctx *ctx) in btrfs_release_log_ctx_extents() argument
43 ASSERT(inode_is_locked(ctx->inode)); in btrfs_release_log_ctx_extents()
45 list_for_each_entry_safe(ordered, tmp, &ctx->ordered_extents, log_list) { in btrfs_release_log_ctx_extents()
63 struct btrfs_root *root, struct btrfs_log_ctx *ctx);
70 struct btrfs_log_ctx *ctx);