Lines Matching +defs:path +defs:root
138 struct btrfs_root *root, in start_log_trans()
193 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans()
214 void btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans()
223 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans()
345 struct btrfs_root *root, in overwrite_item()
346 struct btrfs_path *path, in overwrite_item()
550 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode()
574 struct btrfs_root *root, in replay_one_extent()
575 struct btrfs_path *path, in replay_one_extent()
851 struct btrfs_root *root, in drop_one_dir_item()
852 struct btrfs_path *path, in drop_one_dir_item()
903 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir()
904 struct btrfs_path *path, in inode_in_dir()
956 struct btrfs_path *path; in backref_in_log() local
986 struct btrfs_root *root, in __add_inode_ref()
987 struct btrfs_path *path, in __add_inode_ref()
1228 struct btrfs_root *root, in unlink_old_inode_refs()
1229 struct btrfs_path *path, in unlink_old_inode_refs()
1323 struct btrfs_path *path; in btrfs_inode_ref_exists() local
1357 static int add_link(struct btrfs_trans_handle *trans, struct btrfs_root *root, in add_link()
1363 struct btrfs_path *path; in add_link() local
1425 struct btrfs_root *root, in add_inode_ref()
1427 struct btrfs_path *path, in add_inode_ref()
1607 struct btrfs_root *root, u64 ino) in insert_orphan_item()
1618 static int count_inode_extrefs(struct btrfs_root *root, in count_inode_extrefs()
1619 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_extrefs()
1662 static int count_inode_refs(struct btrfs_root *root, in count_inode_refs()
1663 struct btrfs_inode *inode, struct btrfs_path *path) in count_inode_refs()
1730 struct btrfs_root *root, in fixup_inode_link_count()
1733 struct btrfs_path *path; in fixup_inode_link_count() local
1778 struct btrfs_root *root, in fixup_inode_link_counts()
1779 struct btrfs_path *path) in fixup_inode_link_counts()
1839 struct btrfs_root *root, in link_to_fixup_dir()
1840 struct btrfs_path *path, in link_to_fixup_dir()
1878 struct btrfs_root *root, in insert_one_name()
1924 struct btrfs_root *root, in replay_one_name()
1925 struct btrfs_path *path, in replay_one_name()
2079 struct btrfs_root *root, in replay_one_dir_item()
2080 struct btrfs_path *path, in replay_one_dir_item()
2164 static noinline int find_dir_range(struct btrfs_root *root, in find_dir_range()
2165 struct btrfs_path *path, in find_dir_range()
2241 struct btrfs_root *root, in check_item_in_log()
2243 struct btrfs_path *path, in check_item_in_log()
2344 struct btrfs_root *root, in replay_xattr_deletes()
2346 struct btrfs_path *path, in replay_xattr_deletes()
2452 struct btrfs_root *root, in replay_dir_deletes()
2454 struct btrfs_path *path, in replay_dir_deletes()
2566 struct btrfs_path *path; in replay_one_buffer() local
2567 struct btrfs_root *root = wc->replay_dest; in replay_one_buffer() local
2731 struct btrfs_root *root, in walk_down_log_tree()
2732 struct btrfs_path *path, int *level, in walk_down_log_tree()
2821 struct btrfs_root *root, in walk_up_log_tree()
2822 struct btrfs_path *path, int *level, in walk_up_log_tree()
2888 struct btrfs_path *path; in walk_log_tree() local
2976 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit()
3001 static void wait_for_writer(struct btrfs_root *root) in wait_for_writer()
3018 static inline void btrfs_remove_log_ctx(struct btrfs_root *root, in btrfs_remove_log_ctx()
3033 static inline void btrfs_remove_all_log_ctxs(struct btrfs_root *root, in btrfs_remove_all_log_ctxs()
3060 struct btrfs_root *root, struct btrfs_log_ctx *ctx) in btrfs_sync_log()
3334 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root) in btrfs_free_log()
3400 struct btrfs_root *root, in btrfs_del_dir_entries_in_log()
3406 struct btrfs_path *path; in btrfs_del_dir_entries_in_log() local
3510 struct btrfs_root *root, in btrfs_del_inode_ref_in_log()
3547 struct btrfs_path *path, in insert_dir_log_key()
3579 struct btrfs_root *root, struct btrfs_inode *inode, in log_dir_items()
3580 struct btrfs_path *path, in log_dir_items()
3787 struct btrfs_root *root, struct btrfs_inode *inode, in log_directory_changes()
3788 struct btrfs_path *path, in log_directory_changes()
3825 struct btrfs_path *path, in drop_objectid_items()
3929 struct btrfs_root *log, struct btrfs_path *path, in log_inode_item()
4242 struct btrfs_inode *inode, struct btrfs_root *root, in log_one_extent()
4244 struct btrfs_path *path, in log_one_extent()
4328 struct btrfs_path *path) in btrfs_log_prealloc_extents()
4330 struct btrfs_root *root = inode->root; in btrfs_log_prealloc_extents() local
4456 struct btrfs_root *root, in btrfs_log_changed_extents()
4458 struct btrfs_path *path, in btrfs_log_changed_extents()
4563 struct btrfs_path *path, u64 *size_ret) in logged_inode_size()
4612 struct btrfs_root *root, in btrfs_log_all_xattrs()
4614 struct btrfs_path *path, in btrfs_log_all_xattrs()
4690 struct btrfs_root *root, in btrfs_log_holes()
4692 struct btrfs_path *path) in btrfs_log_holes()
4925 struct btrfs_root *root, in log_conflicting_inodes()
4926 struct btrfs_path *path, in log_conflicting_inodes()
5099 struct btrfs_path *path, in copy_inode_items_to_log()
5108 struct btrfs_root *root = inode->root; in copy_inode_items_to_log() local
5261 struct btrfs_root *root, struct btrfs_inode *inode, in btrfs_log_inode()
5265 struct btrfs_path *path; in btrfs_log_inode() local
5656 struct btrfs_root *root, in log_new_dir_dentries()
5662 struct btrfs_path *path; in log_new_dir_dentries() local
5792 struct btrfs_path *path; in btrfs_log_all_parents() local
5794 struct btrfs_root *root = inode->root; in btrfs_log_all_parents() local
5908 struct btrfs_root *root, in log_new_ancestors()
5909 struct btrfs_path *path, in log_new_ancestors()
5977 struct btrfs_root *root = inode->root; in log_new_ancestors_fast() local
6015 struct btrfs_root *root = inode->root; in log_all_new_ancestors() local
6017 struct btrfs_path *path; in log_all_new_ancestors() local
6105 struct btrfs_root *root = inode->root; in btrfs_log_inode_parent() local
6270 struct btrfs_path *path; in btrfs_recover_log_trees() local
6374 struct btrfs_root *root = wc.replay_dest; in btrfs_recover_log_trees() local