Lines Matching refs:tree_mod_elem
297 struct tree_mod_elem { struct
359 struct tree_mod_elem *tm; in btrfs_put_tree_mod_seq()
391 tm = rb_entry(node, struct tree_mod_elem, node); in btrfs_put_tree_mod_seq()
411 __tree_mod_log_insert(struct btrfs_fs_info *fs_info, struct tree_mod_elem *tm) in __tree_mod_log_insert()
416 struct tree_mod_elem *cur; in __tree_mod_log_insert()
423 cur = rb_entry(*new, struct tree_mod_elem, node); in __tree_mod_log_insert()
478 static struct tree_mod_elem *
482 struct tree_mod_elem *tm; in alloc_tree_mod_elem()
504 struct tree_mod_elem *tm; in tree_mod_log_insert_key()
530 struct tree_mod_elem *tm = NULL; in tree_mod_log_insert_move()
531 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_insert_move()
539 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in tree_mod_log_insert_move()
602 struct tree_mod_elem **tm_list, in __tree_mod_log_free_eb()
625 struct tree_mod_elem *tm = NULL; in tree_mod_log_insert_root()
626 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_insert_root()
636 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), in tree_mod_log_insert_root()
690 static struct tree_mod_elem *
696 struct tree_mod_elem *cur = NULL; in __tree_mod_log_search()
697 struct tree_mod_elem *found = NULL; in __tree_mod_log_search()
703 cur = rb_entry(node, struct tree_mod_elem, node); in __tree_mod_log_search()
737 static struct tree_mod_elem *
749 static struct tree_mod_elem *
761 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_eb_copy()
762 struct tree_mod_elem **tm_list_add, **tm_list_rem; in tree_mod_log_eb_copy()
772 tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), in tree_mod_log_eb_copy()
828 struct tree_mod_elem **tm_list = NULL; in tree_mod_log_free_eb()
840 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); in tree_mod_log_free_eb()
1180 static struct tree_mod_elem *__tree_mod_log_oldest_root( in __tree_mod_log_oldest_root()
1183 struct tree_mod_elem *tm; in __tree_mod_log_oldest_root()
1184 struct tree_mod_elem *found = NULL; in __tree_mod_log_oldest_root()
1237 u64 time_seq, struct tree_mod_elem *first_tm) in __tree_mod_log_rewind()
1241 struct tree_mod_elem *tm = first_tm; in __tree_mod_log_rewind()
1298 tm = rb_entry(next, struct tree_mod_elem, node); in __tree_mod_log_rewind()
1318 struct tree_mod_elem *tm; in tree_mod_log_rewind()
1380 struct tree_mod_elem *tm; in get_old_root()
1417 struct tree_mod_elem *tm2; in get_old_root()
1477 struct tree_mod_elem *tm; in btrfs_old_root_level()