Lines Matching refs:tree_mod_elem
248 struct tree_mod_elem { struct
309 struct tree_mod_elem *tm; in btrfs_put_tree_mod_seq()
343 tm = rb_entry(node, struct tree_mod_elem, node); in btrfs_put_tree_mod_seq()
361 __tree_mod_log_insert(struct btrfs_fs_info *fs_info, struct tree_mod_elem *tm) in __tree_mod_log_insert()
366 struct tree_mod_elem *cur; in __tree_mod_log_insert()
375 cur = rb_entry(*new, struct tree_mod_elem, node); in __tree_mod_log_insert()
430 static struct tree_mod_elem *
434 struct tree_mod_elem *tm; in alloc_tree_mod_elem()
456 struct tree_mod_elem *tm; in tree_mod_log_insert_key()
482 struct tree_mod_elem *tm = NULL; in tree_mod_log_insert_move()
483 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_insert_move()
491 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in tree_mod_log_insert_move()
554 struct tree_mod_elem **tm_list, in __tree_mod_log_free_eb()
577 struct tree_mod_elem *tm = NULL; in tree_mod_log_insert_root()
578 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_insert_root()
588 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), in tree_mod_log_insert_root()
642 static struct tree_mod_elem *
648 struct tree_mod_elem *cur = NULL; in __tree_mod_log_search()
649 struct tree_mod_elem *found = NULL; in __tree_mod_log_search()
655 cur = rb_entry(node, struct tree_mod_elem, node); in __tree_mod_log_search()
689 static struct tree_mod_elem *
701 static struct tree_mod_elem *
713 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_eb_copy()
714 struct tree_mod_elem **tm_list_add, **tm_list_rem; in tree_mod_log_eb_copy()
724 tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), in tree_mod_log_eb_copy()
780 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_free_eb()
792 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); in tree_mod_log_free_eb()
1131 static struct tree_mod_elem *__tree_mod_log_oldest_root( in __tree_mod_log_oldest_root()
1134 struct tree_mod_elem *tm; in __tree_mod_log_oldest_root()
1135 struct tree_mod_elem *found = NULL; in __tree_mod_log_oldest_root()
1188 u64 time_seq, struct tree_mod_elem *first_tm) in __tree_mod_log_rewind()
1192 struct tree_mod_elem *tm = first_tm; in __tree_mod_log_rewind()
1249 tm = rb_entry(next, struct tree_mod_elem, node); in __tree_mod_log_rewind()
1269 struct tree_mod_elem *tm; in tree_mod_log_rewind()
1330 struct tree_mod_elem *tm; in get_old_root()
1405 struct tree_mod_elem *tm; in btrfs_old_root_level()