Lines Matching refs:dst
32 struct btrfs_root *root, struct extent_buffer *dst,
1960 struct btrfs_root *root, struct extent_buffer *dst, in push_node_left() argument
1969 dst_nritems = btrfs_header_nritems(dst); in push_node_left()
1972 WARN_ON(btrfs_header_generation(dst) != trans->transid); in push_node_left()
1995 copy_extent_buffer(dst, src, in push_node_left()
2007 btrfs_set_header_nritems(dst, dst_nritems + push_items); in push_node_left()
2009 btrfs_mark_buffer_dirty(dst); in push_node_left()
2011 ret = btrfs_update_ref(trans, root, src, dst, dst_nritems, push_items); in push_node_left()
2028 struct extent_buffer *dst, in balance_node_right() argument
2038 WARN_ON(btrfs_header_generation(dst) != trans->transid); in balance_node_right()
2041 dst_nritems = btrfs_header_nritems(dst); in balance_node_right()
2057 memmove_extent_buffer(dst, btrfs_node_key_ptr_offset(push_items), in balance_node_right()
2062 copy_extent_buffer(dst, src, in balance_node_right()
2068 btrfs_set_header_nritems(dst, dst_nritems + push_items); in balance_node_right()
2071 btrfs_mark_buffer_dirty(dst); in balance_node_right()
2073 ret = btrfs_update_ref(trans, root, src, dst, 0, push_items); in balance_node_right()