Lines Matching refs:btrfs_root
101 struct btrfs_root *root, struct inode *inode,
107 struct btrfs_root *root,
110 struct btrfs_root *root,
111 struct btrfs_root *log,
144 struct btrfs_root *root, in start_log_trans()
197 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans()
219 int btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans()
233 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans()
276 struct btrfs_root *replay_dest;
286 int (*process_func)(struct btrfs_root *log, struct extent_buffer *eb,
293 static int process_one_buffer(struct btrfs_root *log, in process_one_buffer()
339 struct btrfs_root *root, in overwrite_item()
550 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode()
582 struct btrfs_root *root, in replay_one_extent()
841 struct btrfs_root *root, in drop_one_dir_item()
890 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir()
932 static noinline int backref_in_log(struct btrfs_root *log, in backref_in_log()
987 struct btrfs_root *root, in __add_inode_ref()
989 struct btrfs_root *log_root, in __add_inode_ref()
1216 struct btrfs_root *root, in add_inode_ref()
1217 struct btrfs_root *log, in add_inode_ref()
1345 struct btrfs_root *root, u64 ino) in insert_orphan_item()
1356 static int count_inode_extrefs(struct btrfs_root *root, in count_inode_extrefs()
1400 static int count_inode_refs(struct btrfs_root *root, in count_inode_refs()
1468 struct btrfs_root *root, in fixup_inode_link_count()
1516 struct btrfs_root *root, in fixup_inode_link_counts()
1576 struct btrfs_root *root, in link_to_fixup_dir()
1617 struct btrfs_root *root, in insert_one_name()
1649 static bool name_in_log_ref(struct btrfs_root *log_root, in name_in_log_ref()
1686 struct btrfs_root *root, in replay_one_name()
1811 struct btrfs_root *root, in replay_one_dir_item()
1898 static noinline int find_dir_range(struct btrfs_root *root, in find_dir_range()
1975 struct btrfs_root *root, in check_item_in_log()
1976 struct btrfs_root *log, in check_item_in_log()
2083 struct btrfs_root *root, in replay_xattr_deletes()
2084 struct btrfs_root *log, in replay_xattr_deletes()
2191 struct btrfs_root *root, in replay_dir_deletes()
2192 struct btrfs_root *log, in replay_dir_deletes()
2297 static int replay_one_buffer(struct btrfs_root *log, struct extent_buffer *eb, in replay_one_buffer()
2302 struct btrfs_root *root = wc->replay_dest; in replay_one_buffer()
2407 struct btrfs_root *root, in walk_down_log_tree()
2508 struct btrfs_root *root, in walk_up_log_tree()
2575 struct btrfs_root *log, struct walk_control *wc) in walk_log_tree()
2652 struct btrfs_root *log) in update_log_root()
2667 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit()
2692 static void wait_for_writer(struct btrfs_root *root) in wait_for_writer()
2707 static inline void btrfs_remove_log_ctx(struct btrfs_root *root, in btrfs_remove_log_ctx()
2722 static inline void btrfs_remove_all_log_ctxs(struct btrfs_root *root, in btrfs_remove_all_log_ctxs()
2749 struct btrfs_root *root, struct btrfs_log_ctx *ctx) in btrfs_sync_log()
2755 struct btrfs_root *log = root->log_root; in btrfs_sync_log()
2756 struct btrfs_root *log_root_tree = root->fs_info->log_root_tree; in btrfs_sync_log()
3000 struct btrfs_root *log) in free_log_tree()
3043 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root) in btrfs_free_log()
3084 struct btrfs_root *root, in btrfs_del_dir_entries_in_log()
3088 struct btrfs_root *log; in btrfs_del_dir_entries_in_log()
3192 struct btrfs_root *root, in btrfs_del_inode_ref_in_log()
3196 struct btrfs_root *log; in btrfs_del_inode_ref_in_log()
3228 struct btrfs_root *log, in insert_dir_log_key()
3261 struct btrfs_root *root, struct inode *inode, in log_dir_items()
3268 struct btrfs_root *log = root->log_root; in log_dir_items()
3451 struct btrfs_root *root, struct inode *inode, in log_directory_changes()
3489 struct btrfs_root *log, in drop_objectid_items()
3595 struct btrfs_root *log, struct btrfs_path *path, in log_inode_item()
3622 struct btrfs_root *log = BTRFS_I(inode)->root->log_root; in copy_items()
3911 struct btrfs_root *root, in wait_ordered_extents()
3917 struct btrfs_root *log = root->log_root; in wait_ordered_extents()
4053 struct inode *inode, struct btrfs_root *root, in log_one_extent()
4059 struct btrfs_root *log = root->log_root; in log_one_extent()
4147 struct btrfs_root *root, in btrfs_log_changed_extents()
4239 static int logged_inode_size(struct btrfs_root *log, struct inode *inode, in logged_inode_size()
4276 struct btrfs_root *root, in btrfs_log_all_xattrs()
4371 struct btrfs_root *root, in btrfs_log_trailing_hole()
4380 struct btrfs_root *log = root->log_root; in btrfs_log_trailing_hole()
4593 struct btrfs_root *root, struct inode *inode, in btrfs_log_inode()
4603 struct btrfs_root *log = root->log_root; in btrfs_log_inode()
5154 struct btrfs_root *root, in log_new_dir_dentries()
5158 struct btrfs_root *log = root->log_root; in log_new_dir_dentries()
5291 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_log_all_parents()
5387 struct btrfs_root *root, struct inode *inode, in btrfs_log_inode_parent()
5553 struct btrfs_root *root, struct dentry *dentry, in btrfs_log_dentry_safe()
5572 int btrfs_recover_log_trees(struct btrfs_root *log_root_tree) in btrfs_recover_log_trees()
5580 struct btrfs_root *log; in btrfs_recover_log_trees()
5666 struct btrfs_root *root = wc.replay_dest; in btrfs_recover_log_trees()
5823 struct btrfs_root * root = BTRFS_I(inode)->root; in btrfs_log_new_name()