Lines Matching refs:btrfs_root
97 struct btrfs_root *root, struct inode *inode,
103 struct btrfs_root *root,
106 struct btrfs_root *root,
107 struct btrfs_root *log,
140 struct btrfs_root *root, in start_log_trans()
193 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans()
215 int btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans()
229 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans()
272 struct btrfs_root *replay_dest;
282 int (*process_func)(struct btrfs_root *log, struct extent_buffer *eb,
289 static int process_one_buffer(struct btrfs_root *log, in process_one_buffer()
335 struct btrfs_root *root, in overwrite_item()
546 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode()
578 struct btrfs_root *root, in replay_one_extent()
822 struct btrfs_root *root, in drop_one_dir_item()
871 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir()
913 static noinline int backref_in_log(struct btrfs_root *log, in backref_in_log()
968 struct btrfs_root *root, in __add_inode_ref()
970 struct btrfs_root *log_root, in __add_inode_ref()
1197 struct btrfs_root *root, in add_inode_ref()
1198 struct btrfs_root *log, in add_inode_ref()
1326 struct btrfs_root *root, u64 ino) in insert_orphan_item()
1337 static int count_inode_extrefs(struct btrfs_root *root, in count_inode_extrefs()
1381 static int count_inode_refs(struct btrfs_root *root, in count_inode_refs()
1449 struct btrfs_root *root, in fixup_inode_link_count()
1497 struct btrfs_root *root, in fixup_inode_link_counts()
1557 struct btrfs_root *root, in link_to_fixup_dir()
1598 struct btrfs_root *root, in insert_one_name()
1630 static bool name_in_log_ref(struct btrfs_root *log_root, in name_in_log_ref()
1667 struct btrfs_root *root, in replay_one_name()
1792 struct btrfs_root *root, in replay_one_dir_item()
1879 static noinline int find_dir_range(struct btrfs_root *root, in find_dir_range()
1957 struct btrfs_root *root, in check_item_in_log()
1958 struct btrfs_root *log, in check_item_in_log()
2065 struct btrfs_root *root, in replay_xattr_deletes()
2066 struct btrfs_root *log, in replay_xattr_deletes()
2173 struct btrfs_root *root, in replay_dir_deletes()
2174 struct btrfs_root *log, in replay_dir_deletes()
2279 static int replay_one_buffer(struct btrfs_root *log, struct extent_buffer *eb, in replay_one_buffer()
2284 struct btrfs_root *root = wc->replay_dest; in replay_one_buffer()
2389 struct btrfs_root *root, in walk_down_log_tree()
2487 struct btrfs_root *root, in walk_up_log_tree()
2551 struct btrfs_root *log, struct walk_control *wc) in walk_log_tree()
2625 struct btrfs_root *log) in update_log_root()
2640 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit()
2665 static void wait_for_writer(struct btrfs_root *root) in wait_for_writer()
2680 static inline void btrfs_remove_log_ctx(struct btrfs_root *root, in btrfs_remove_log_ctx()
2695 static inline void btrfs_remove_all_log_ctxs(struct btrfs_root *root, in btrfs_remove_all_log_ctxs()
2724 struct btrfs_root *root, struct btrfs_log_ctx *ctx) in btrfs_sync_log()
2730 struct btrfs_root *log = root->log_root; in btrfs_sync_log()
2731 struct btrfs_root *log_root_tree = root->fs_info->log_root_tree; in btrfs_sync_log()
2980 struct btrfs_root *log) in free_log_tree()
3022 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root) in btrfs_free_log()
3063 struct btrfs_root *root, in btrfs_del_dir_entries_in_log()
3067 struct btrfs_root *log; in btrfs_del_dir_entries_in_log()
3171 struct btrfs_root *root, in btrfs_del_inode_ref_in_log()
3175 struct btrfs_root *log; in btrfs_del_inode_ref_in_log()
3207 struct btrfs_root *log, in insert_dir_log_key()
3240 struct btrfs_root *root, struct inode *inode, in log_dir_items()
3247 struct btrfs_root *log = root->log_root; in log_dir_items()
3430 struct btrfs_root *root, struct inode *inode, in log_directory_changes()
3468 struct btrfs_root *log, in drop_objectid_items()
3574 struct btrfs_root *log, struct btrfs_path *path, in log_inode_item()
3601 struct btrfs_root *log = BTRFS_I(inode)->root->log_root; in copy_items()
3890 struct btrfs_root *root, in wait_ordered_extents()
3896 struct btrfs_root *log = root->log_root; in wait_ordered_extents()
4032 struct inode *inode, struct btrfs_root *root, in log_one_extent()
4038 struct btrfs_root *log = root->log_root; in log_one_extent()
4126 struct btrfs_root *root, in btrfs_log_changed_extents()
4201 static int logged_inode_size(struct btrfs_root *log, struct inode *inode, in logged_inode_size()
4238 struct btrfs_root *root, in btrfs_log_all_xattrs()
4333 struct btrfs_root *root, in btrfs_log_trailing_hole()
4342 struct btrfs_root *log = root->log_root; in btrfs_log_trailing_hole()
4545 struct btrfs_root *root, struct inode *inode, in btrfs_log_inode()
4555 struct btrfs_root *log = root->log_root; in btrfs_log_inode()
4916 struct btrfs_root *root; in check_parent_dirs_for_sync()
5025 struct btrfs_root *root, in log_new_dir_dentries()
5029 struct btrfs_root *log = root->log_root; in log_new_dir_dentries()
5159 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_log_all_parents()
5247 struct btrfs_root *root, struct inode *inode, in btrfs_log_inode_parent()
5413 struct btrfs_root *root, struct dentry *dentry, in btrfs_log_dentry_safe()
5432 int btrfs_recover_log_trees(struct btrfs_root *log_root_tree) in btrfs_recover_log_trees()
5440 struct btrfs_root *log; in btrfs_recover_log_trees()
5640 struct btrfs_root * root = BTRFS_I(inode)->root; in btrfs_log_new_name()