Lines Matching refs:extent_buffer
24 struct extent_buffer *dst,
25 struct extent_buffer *src, int empty);
27 struct extent_buffer *dst_buf,
28 struct extent_buffer *src_buf);
123 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node()
125 struct extent_buffer *eb; in btrfs_root_node()
180 struct extent_buffer *buf, in btrfs_copy_root()
181 struct extent_buffer **cow_ret, u64 new_root_objectid) in btrfs_copy_root()
184 struct extent_buffer *cow; in btrfs_copy_root()
404 struct extent_buffer *eb) { in tree_mod_dont_log()
422 struct extent_buffer *eb) in tree_mod_need_log()
434 alloc_tree_mod_elem(struct extent_buffer *eb, int slot, in alloc_tree_mod_elem()
456 static noinline int tree_mod_log_insert_key(struct extent_buffer *eb, int slot, in tree_mod_log_insert_key()
482 static noinline int tree_mod_log_insert_move(struct extent_buffer *eb, in tree_mod_log_insert_move()
576 static noinline int tree_mod_log_insert_root(struct extent_buffer *old_root, in tree_mod_log_insert_root()
577 struct extent_buffer *new_root, int log_removal) in tree_mod_log_insert_root()
710 static noinline int tree_mod_log_eb_copy(struct extent_buffer *dst, in tree_mod_log_eb_copy()
711 struct extent_buffer *src, unsigned long dst_offset, in tree_mod_log_eb_copy()
781 static noinline int tree_mod_log_free_eb(struct extent_buffer *eb) in tree_mod_log_free_eb()
831 struct extent_buffer *buf) in btrfs_block_can_be_shared()
850 struct extent_buffer *buf, in update_ref_for_cow()
851 struct extent_buffer *cow, in update_ref_for_cow()
957 static struct extent_buffer *alloc_tree_block_no_bg_flush( in alloc_tree_block_no_bg_flush()
968 struct extent_buffer *ret; in alloc_tree_block_no_bg_flush()
1014 struct extent_buffer *buf, in __btrfs_cow_block()
1015 struct extent_buffer *parent, int parent_slot, in __btrfs_cow_block()
1016 struct extent_buffer **cow_ret, in __btrfs_cow_block()
1022 struct extent_buffer *cow; in __btrfs_cow_block()
1135 struct extent_buffer *eb_root, u64 time_seq) in __tree_mod_log_oldest_root()
1190 __tree_mod_log_rewind(struct btrfs_fs_info *fs_info, struct extent_buffer *eb, in __tree_mod_log_rewind()
1267 static struct extent_buffer *
1269 struct extent_buffer *eb, u64 time_seq) in tree_mod_log_rewind()
1271 struct extent_buffer *eb_rewin; in tree_mod_log_rewind()
1329 static inline struct extent_buffer *
1334 struct extent_buffer *eb = NULL; in get_old_root()
1335 struct extent_buffer *eb_root; in get_old_root()
1337 struct extent_buffer *old; in get_old_root()
1432 struct extent_buffer *eb_root = btrfs_root_node(root); in btrfs_old_root_level()
1447 struct extent_buffer *buf) in should_cow_block()
1481 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_cow_block()
1482 struct extent_buffer *parent, int parent_slot, in btrfs_cow_block()
1483 struct extent_buffer **cow_ret, in btrfs_cow_block()
1599 struct btrfs_root *root, struct extent_buffer *parent, in btrfs_realloc_node()
1604 struct extent_buffer *cur; in btrfs_realloc_node()
1721 static noinline int generic_bin_search(struct extent_buffer *eb, in generic_bin_search()
1779 int btrfs_bin_search(struct extent_buffer *eb, const struct btrfs_key *key, in btrfs_bin_search()
1815 struct extent_buffer *btrfs_read_node_slot(struct extent_buffer *parent, in btrfs_read_node_slot()
1819 struct extent_buffer *eb; in btrfs_read_node_slot()
1849 struct extent_buffer *right = NULL; in balance_level()
1850 struct extent_buffer *mid; in balance_level()
1851 struct extent_buffer *left = NULL; in balance_level()
1852 struct extent_buffer *parent = NULL; in balance_level()
1879 struct extent_buffer *child; in balance_level()
2080 struct extent_buffer *right = NULL; in push_nodes_for_insert()
2081 struct extent_buffer *mid; in push_nodes_for_insert()
2082 struct extent_buffer *left = NULL; in push_nodes_for_insert()
2083 struct extent_buffer *parent = NULL; in push_nodes_for_insert()
2221 struct extent_buffer *node; in reada_for_search()
2227 struct extent_buffer *eb; in reada_for_search()
2285 struct extent_buffer *parent; in reada_for_balance()
2286 struct extent_buffer *eb; in reada_for_balance()
2347 struct extent_buffer *t; in unlock_up()
2393 struct extent_buffer **eb_ret, int level, int slot, in read_block_for_search()
2399 struct extent_buffer *tmp; in read_block_for_search()
2492 struct extent_buffer *b, int level, int ins_len, in setup_nodes_for_search()
2557 struct extent_buffer *eb; in btrfs_find_item()
2586 static struct extent_buffer *btrfs_search_slot_get_root(struct btrfs_root *root, in btrfs_search_slot_get_root()
2591 struct extent_buffer *b; in btrfs_search_slot_get_root()
2711 struct extent_buffer *b; in btrfs_search_slot()
2967 struct extent_buffer *b; in btrfs_search_old_slot()
3078 struct extent_buffer *leaf; in btrfs_search_slot_for_read()
3149 struct extent_buffer *t; in fixup_low_keys()
3179 struct extent_buffer *eb; in btrfs_set_item_key_safe()
3240 static bool check_sibling_keys(struct extent_buffer *left, in check_sibling_keys()
3241 struct extent_buffer *right) in check_sibling_keys()
3280 struct extent_buffer *dst, in push_node_left()
3281 struct extent_buffer *src, int empty) in push_node_left()
3360 struct extent_buffer *dst, in balance_node_right()
3361 struct extent_buffer *src) in balance_node_right()
3436 struct extent_buffer *lower; in insert_new_root()
3437 struct extent_buffer *c; in insert_new_root()
3438 struct extent_buffer *old; in insert_new_root()
3497 struct extent_buffer *lower; in insert_ptr()
3545 struct extent_buffer *c; in split_node()
3546 struct extent_buffer *split; in split_node()
3627 static int leaf_space_used(struct extent_buffer *l, int start, int nr) in leaf_space_used()
3652 noinline int btrfs_leaf_free_space(struct extent_buffer *leaf) in btrfs_leaf_free_space()
3675 struct extent_buffer *right, in __push_leaf_right()
3680 struct extent_buffer *left = path->nodes[0]; in __push_leaf_right()
3681 struct extent_buffer *upper = path->nodes[1]; in __push_leaf_right()
3826 struct extent_buffer *left = path->nodes[0]; in push_leaf_right()
3827 struct extent_buffer *right; in push_leaf_right()
3828 struct extent_buffer *upper; in push_leaf_right()
3909 int empty, struct extent_buffer *left, in __push_leaf_left()
3915 struct extent_buffer *right = path->nodes[0]; in __push_leaf_left()
4064 struct extent_buffer *right = path->nodes[0]; in push_leaf_left()
4065 struct extent_buffer *left; in push_leaf_left()
4136 struct extent_buffer *l, in copy_for_split()
4137 struct extent_buffer *right, in copy_for_split()
4270 struct extent_buffer *l; in split_leaf()
4274 struct extent_buffer *right; in split_leaf()
4438 struct extent_buffer *leaf; in setup_leaf_for_split()
4504 struct extent_buffer *leaf; in split_item()
4613 struct extent_buffer *leaf; in btrfs_duplicate_item()
4643 struct extent_buffer *leaf; in btrfs_truncate_item()
4739 struct extent_buffer *leaf; in btrfs_extend_item()
4819 struct extent_buffer *leaf; in setup_items_for_insert()
4945 struct extent_buffer *leaf; in btrfs_insert_item()
4971 struct extent_buffer *parent = path->nodes[level]; in del_ptr()
5021 struct extent_buffer *leaf) in btrfs_del_leaf()
5046 struct extent_buffer *leaf; in btrfs_del_items()
5225 struct extent_buffer *cur; in btrfs_search_forward()
5342 struct extent_buffer *c; in btrfs_find_next_key()
5418 struct extent_buffer *c; in btrfs_next_old_leaf()
5419 struct extent_buffer *next; in btrfs_next_old_leaf()
5597 struct extent_buffer *leaf; in btrfs_previous_item()
5639 struct extent_buffer *leaf; in btrfs_previous_extent_item()