Lines Matching +defs:path +defs:root

187 struct extent_buffer *btrfs_root_node(struct btrfs_root *root)  in btrfs_root_node()
216 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list()
243 struct btrfs_root *root, in btrfs_copy_root()
307 struct btrfs_root *root, in btrfs_block_can_be_shared()
344 struct btrfs_root *root, in update_ref_for_cow()
468 struct btrfs_root *root, in btrfs_force_cow_block()
606 struct btrfs_root *root, in should_cow_block()
641 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_cow_block()
795 static void root_add_used_bytes(struct btrfs_root *root) in root_add_used_bytes()
803 static void root_sub_used_bytes(struct btrfs_root *root) in root_sub_used_bytes()
850 struct btrfs_root *root, in balance_level()
851 struct btrfs_path *path, int level) in balance_level()
1120 struct btrfs_root *root, in push_nodes_for_insert()
1121 struct btrfs_path *path, int level) in push_nodes_for_insert()
1271 struct btrfs_path *path, in reada_for_search()
1353 static noinline void reada_for_balance(struct btrfs_path *path, int level) in reada_for_balance()
1386 static noinline void unlock_up(struct btrfs_path *path, int level, in unlock_up()
1440 read_block_for_search(struct btrfs_root *root, struct btrfs_path *p, in read_block_for_search()
1599 struct btrfs_root *root, struct btrfs_path *p, in setup_nodes_for_search()
1643 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item()
1678 static struct extent_buffer *btrfs_search_slot_get_root(struct btrfs_root *root, in btrfs_search_slot_get_root()
1772 static int finish_need_commit_sem_search(struct btrfs_path *path) in finish_need_commit_sem_search()
1819 struct btrfs_root *root, in search_leaf()
1821 struct btrfs_path *path, in search_leaf()
1977 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_search_slot()
2232 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key, in btrfs_search_old_slot()
2334 static int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path) in btrfs_prev_leaf()
2418 int btrfs_search_slot_for_read(struct btrfs_root *root, in btrfs_search_slot_for_read()
2489 int btrfs_search_backwards(struct btrfs_root *root, struct btrfs_key *key, in btrfs_search_backwards()
2490 struct btrfs_path *path) in btrfs_search_backwards()
2515 int btrfs_get_next_valid_item(struct btrfs_root *root, struct btrfs_key *key, in btrfs_get_next_valid_item()
2516 struct btrfs_path *path) in btrfs_get_next_valid_item()
2539 const struct btrfs_path *path, in fixup_low_keys()
2569 const struct btrfs_path *path, in btrfs_set_item_key_safe()
2833 struct btrfs_root *root, in insert_new_root()
2834 struct btrfs_path *path, int level) in insert_new_root()
2903 const struct btrfs_path *path, in insert_ptr()
2959 struct btrfs_root *root, in split_node()
2960 struct btrfs_path *path, int level) in split_node()
3094 struct btrfs_path *path, in __push_leaf_right()
3231 static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root in push_leaf_right()
3232 *root, struct btrfs_path *path, in push_leaf_right()
3310 struct btrfs_path *path, int data_size, in __push_leaf_left()
3447 static int push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_root in push_leaf_left()
3448 *root, struct btrfs_path *path, int min_data_size, in push_leaf_left()
3510 struct btrfs_path *path, in copy_for_split()
3579 struct btrfs_root *root, in push_for_double_split()
3580 struct btrfs_path *path, in push_for_double_split()
3639 struct btrfs_root *root, in split_leaf()
3641 struct btrfs_path *path, int data_size, in split_leaf()
3824 struct btrfs_root *root, in setup_leaf_for_split()
3825 struct btrfs_path *path, int ins_len) in setup_leaf_for_split()
3891 struct btrfs_path *path, in split_item()
3973 struct btrfs_root *root, in btrfs_split_item()
3974 struct btrfs_path *path, in btrfs_split_item()
3995 const struct btrfs_path *path, u32 new_size, int from_end) in btrfs_truncate_item()
4087 const struct btrfs_path *path, u32 data_size) in btrfs_extend_item()
4157 struct btrfs_root *root, struct btrfs_path *path, in setup_items_for_insert()
4254 struct btrfs_root *root, in btrfs_setup_item_for_insert()
4255 struct btrfs_path *path, in btrfs_setup_item_for_insert()
4278 struct btrfs_root *root, in btrfs_insert_empty_items()
4279 struct btrfs_path *path, in btrfs_insert_empty_items()
4304 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_item()
4309 struct btrfs_path *path; in btrfs_insert_item() local
4336 struct btrfs_root *root, in btrfs_duplicate_item()
4337 struct btrfs_path *path, in btrfs_duplicate_item()
4369 int btrfs_del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_ptr()
4370 struct btrfs_path *path, int level, int slot) in btrfs_del_ptr()
4427 struct btrfs_root *root, in btrfs_del_leaf()
4428 struct btrfs_path *path, in btrfs_del_leaf()
4458 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_items()
4459 struct btrfs_path *path, int slot, int nr) in btrfs_del_items()
4606 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key, in btrfs_search_forward()
4607 struct btrfs_path *path, in btrfs_search_forward()
4721 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path, in btrfs_find_next_key()
4786 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path, in btrfs_next_old_leaf()
4985 int btrfs_next_old_item(struct btrfs_root *root, struct btrfs_path *path, u64 time_seq) in btrfs_next_old_item()
4999 int btrfs_previous_item(struct btrfs_root *root, in btrfs_previous_item()
5000 struct btrfs_path *path, u64 min_objectid, in btrfs_previous_item()
5041 int btrfs_previous_extent_item(struct btrfs_root *root, in btrfs_previous_extent_item()
5042 struct btrfs_path *path, u64 min_objectid) in btrfs_previous_extent_item()