Lines Matching refs:tree_mod_elem

11 struct tree_mod_elem {  struct
76 struct tree_mod_elem *tm; in btrfs_put_tree_mod_seq()
112 tm = rb_entry(node, struct tree_mod_elem, node); in btrfs_put_tree_mod_seq()
130 struct tree_mod_elem *tm) in tree_mod_log_insert()
135 struct tree_mod_elem *cur; in tree_mod_log_insert()
144 cur = rb_entry(*new, struct tree_mod_elem, node); in tree_mod_log_insert()
198 static struct tree_mod_elem *alloc_tree_mod_elem(struct extent_buffer *eb, in alloc_tree_mod_elem()
203 struct tree_mod_elem *tm; in alloc_tree_mod_elem()
225 struct tree_mod_elem *tm; in btrfs_tree_mod_log_insert_key()
252 struct tree_mod_elem *tm = NULL; in btrfs_tree_mod_log_insert_move()
253 struct tree_mod_elem **tm_list = NULL; in btrfs_tree_mod_log_insert_move()
261 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_insert_move()
324 struct tree_mod_elem **tm_list, in tree_mod_log_free_eb()
348 struct tree_mod_elem *tm = NULL; in btrfs_tree_mod_log_insert_root()
349 struct tree_mod_elem **tm_list = NULL; in btrfs_tree_mod_log_insert_root()
359 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), in btrfs_tree_mod_log_insert_root()
413 static struct tree_mod_elem *__tree_mod_log_search(struct btrfs_fs_info *fs_info, in __tree_mod_log_search()
419 struct tree_mod_elem *cur = NULL; in __tree_mod_log_search()
420 struct tree_mod_elem *found = NULL; in __tree_mod_log_search()
426 cur = rb_entry(node, struct tree_mod_elem, node); in __tree_mod_log_search()
460 static struct tree_mod_elem *tree_mod_log_search_oldest(struct btrfs_fs_info *fs_info, in tree_mod_log_search_oldest()
471 static struct tree_mod_elem *tree_mod_log_search(struct btrfs_fs_info *fs_info, in tree_mod_log_search()
485 struct tree_mod_elem **tm_list = NULL; in btrfs_tree_mod_log_eb_copy()
486 struct tree_mod_elem **tm_list_add, **tm_list_rem; in btrfs_tree_mod_log_eb_copy()
496 tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), in btrfs_tree_mod_log_eb_copy()
552 struct tree_mod_elem **tm_list = NULL; in btrfs_tree_mod_log_free_eb()
561 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_free_eb()
597 static struct tree_mod_elem *tree_mod_log_oldest_root(struct extent_buffer *eb_root, in tree_mod_log_oldest_root()
600 struct tree_mod_elem *tm; in tree_mod_log_oldest_root()
601 struct tree_mod_elem *found = NULL; in tree_mod_log_oldest_root()
656 struct tree_mod_elem *first_tm) in tree_mod_log_rewind()
660 struct tree_mod_elem *tm = first_tm; in tree_mod_log_rewind()
717 tm = rb_entry(next, struct tree_mod_elem, node); in tree_mod_log_rewind()
738 struct tree_mod_elem *tm; in btrfs_tree_mod_log_rewind()
795 struct tree_mod_elem *tm; in btrfs_get_old_root()
833 struct tree_mod_elem *tm2; in btrfs_get_old_root()
892 struct tree_mod_elem *tm; in btrfs_old_root_level()