Lines Matching defs:root
155 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node()
170 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node()
189 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root) in btrfs_read_lock_root_node()
208 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list()
222 struct btrfs_root *root, in btrfs_copy_root()
279 int btrfs_block_can_be_shared(struct btrfs_root *root, in btrfs_block_can_be_shared()
303 struct btrfs_root *root, in update_ref_for_cow()
410 struct btrfs_root *root, in __btrfs_cow_block()
514 struct btrfs_root *root, in should_cow_block()
546 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_cow_block()
637 struct btrfs_root *root, struct extent_buffer *parent, in btrfs_realloc_node()
748 static inline unsigned int leaf_data_end(struct btrfs_root *root, in leaf_data_end()
854 static void root_add_used(struct btrfs_root *root, u32 size) in root_add_used()
862 static void root_sub_used(struct btrfs_root *root, u32 size) in root_sub_used()
874 static noinline struct extent_buffer *read_node_slot(struct btrfs_root *root, in read_node_slot()
896 struct btrfs_root *root, in balance_level()
1108 struct btrfs_root *root, in push_nodes_for_insert()
1239 static void reada_for_search(struct btrfs_root *root, in reada_for_search()
1309 static noinline int reada_for_balance(struct btrfs_root *root, in reada_for_balance()
1457 struct btrfs_root *root, struct btrfs_path *p, in read_block_for_search()
1547 struct btrfs_root *root, struct btrfs_path *p, in setup_nodes_for_search()
1626 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_search_slot()
1888 struct btrfs_root *root, struct btrfs_path *path, in fixup_low_keys()
1915 struct btrfs_root *root, struct btrfs_path *path, in btrfs_set_item_key_safe()
1951 struct btrfs_root *root, struct extent_buffer *dst, in push_node_left()
2015 struct btrfs_root *root, in balance_node_right()
2072 struct btrfs_root *root, in insert_new_root()
2146 static int insert_ptr(struct btrfs_trans_handle *trans, struct btrfs_root in insert_ptr()
2185 struct btrfs_root *root, in split_node()
2294 noinline int btrfs_leaf_free_space(struct btrfs_root *root, in btrfs_leaf_free_space()
2314 struct btrfs_root *root, in __push_leaf_right()
2460 static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root in push_leaf_right()
2525 struct btrfs_root *root, in __push_leaf_left()
2678 static int push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_root in push_leaf_left()
2745 struct btrfs_root *root, in copy_for_split()
2821 struct btrfs_root *root, in push_for_double_split()
2875 struct btrfs_root *root, in split_leaf()
3050 struct btrfs_root *root, in setup_leaf_for_split()
3115 struct btrfs_root *root, in split_item()
3201 struct btrfs_root *root, in btrfs_split_item()
3225 struct btrfs_root *root, in btrfs_duplicate_item()
3261 struct btrfs_root *root, in btrfs_truncate_item()
3360 struct btrfs_root *root, struct btrfs_path *path, in btrfs_extend_item()
3428 struct btrfs_root *root, in btrfs_insert_some_items()
3566 struct btrfs_root *root, struct btrfs_path *path, in setup_items_for_insert()
3656 struct btrfs_root *root, in btrfs_insert_empty_items()
3691 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_item()
3720 static int del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root, in del_ptr()
3765 struct btrfs_root *root, in btrfs_del_leaf()
3791 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_items()
3910 int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path) in btrfs_prev_leaf()
3960 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key, in btrfs_search_forward()
4095 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path, in btrfs_find_next_key()
4179 int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path) in btrfs_next_leaf()
4323 int btrfs_previous_item(struct btrfs_root *root, in btrfs_previous_item()