Home
last modified time | relevance | path

Searched refs:time_seq (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dtree-mod-log.h40 u64 time_seq);
41 struct extent_buffer *btrfs_get_old_root(struct btrfs_root *root, u64 time_seq);
42 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
H A Dtree-mod-log.c736 u64 time_seq) in tree_mod_log_oldest_root() argument
743 if (!time_seq) in tree_mod_log_oldest_root()
754 time_seq); in tree_mod_log_oldest_root()
793 u64 time_seq, in tree_mod_log_rewind() argument
821 while (tm && tm->seq >= time_seq) { in tree_mod_log_rewind()
915 u64 time_seq) in btrfs_tree_mod_log_rewind() argument
920 if (!time_seq) in btrfs_tree_mod_log_rewind()
926 tm = tree_mod_log_search(fs_info, eb->start, time_seq); in btrfs_tree_mod_log_rewind()
958 tree_mod_log_rewind(fs_info, eb_rewin, time_seq, tm); in btrfs_tree_mod_log_rewind()
972 struct extent_buffer *btrfs_get_old_root(struct btrfs_root *root, u64 time_seq) in btrfs_get_old_root() argument
[all …]
H A Dctree.h576 struct btrfs_path *p, u64 time_seq);
653 u64 time_seq);
687 int btrfs_next_old_item(struct btrfs_root *root, struct btrfs_path *path, u64 time_seq);
H A Dbackref.c512 if (ctx->time_seq == BTRFS_SEQ_LAST) in add_all_parents()
515 ret = btrfs_next_old_leaf(root, path, ctx->time_seq); in add_all_parents()
536 if (ctx->time_seq == BTRFS_SEQ_LAST) in add_all_parents()
539 ret = btrfs_next_old_leaf(root, path, ctx->time_seq); in add_all_parents()
576 if (ctx->time_seq == BTRFS_SEQ_LAST) in add_all_parents()
579 ret = btrfs_next_old_item(root, path, ctx->time_seq); in add_all_parents()
636 else if (ctx->time_seq == BTRFS_SEQ_LAST) in resolve_indirect_ref()
639 root_level = btrfs_old_root_level(root, ctx->time_seq); in resolve_indirect_ref()
667 if (ctx->time_seq == BTRFS_SEQ_LAST) in resolve_indirect_ref()
670 ret = btrfs_search_old_slot(root, &search_key, path, ctx->time_seq); in resolve_indirect_ref()
[all …]
H A Dctree.c2409 struct btrfs_path *p, u64 time_seq) in btrfs_search_old_slot() argument
2425 BUG_ON(time_seq); in btrfs_search_old_slot()
2430 b = btrfs_get_old_root(root, time_seq); in btrfs_search_old_slot()
2485 b = btrfs_tree_mod_log_rewind(fs_info, p, b, time_seq); in btrfs_search_old_slot()
4959 u64 time_seq) in btrfs_next_old_leaf() argument
4976 if (time_seq) in btrfs_next_old_leaf()
4991 if (time_seq) { in btrfs_next_old_leaf()
4992 ret = btrfs_search_old_slot(root, &key, path, time_seq); in btrfs_next_old_leaf()
5094 if (!ret && time_seq) { in btrfs_next_old_leaf()
5159 int btrfs_next_old_item(struct btrfs_root *root, struct btrfs_path *path, u64 time_seq) in btrfs_next_old_item() argument
[all …]
H A Dbackref.h85 u64 time_seq; member
H A Dqgroup.c2842 ctx.time_seq = BTRFS_SEQ_LAST; in btrfs_qgroup_account_extents()