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()
202 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans()
224 int btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans()
238 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans()
279 struct btrfs_root *replay_dest;
289 int (*process_func)(struct btrfs_root *log, struct extent_buffer *eb,
296 static int process_one_buffer(struct btrfs_root *log, in process_one_buffer()
342 struct btrfs_root *root, in overwrite_item()
553 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode()
585 struct btrfs_root *root, in replay_one_extent()
775 struct btrfs_root *root, in drop_one_dir_item()
824 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir()
866 static noinline int backref_in_log(struct btrfs_root *log, in backref_in_log()
921 struct btrfs_root *root, in __add_inode_ref()
923 struct btrfs_root *log_root, in __add_inode_ref()
1150 struct btrfs_root *root, in add_inode_ref()
1151 struct btrfs_root *log, in add_inode_ref()
1279 struct btrfs_root *root, u64 ino) in insert_orphan_item()
1290 static int count_inode_extrefs(struct btrfs_root *root, in count_inode_extrefs()
1334 static int count_inode_refs(struct btrfs_root *root, in count_inode_refs()
1402 struct btrfs_root *root, in fixup_inode_link_count()
1450 struct btrfs_root *root, in fixup_inode_link_counts()
1510 struct btrfs_root *root, in link_to_fixup_dir()
1551 struct btrfs_root *root, in insert_one_name()
1584 static bool name_in_log_ref(struct btrfs_root *log_root, in name_in_log_ref()
1618 struct btrfs_root *root, in replay_one_name()
1738 struct btrfs_root *root, in replay_one_dir_item()
1777 static noinline int find_dir_range(struct btrfs_root *root, in find_dir_range()
1855 struct btrfs_root *root, in check_item_in_log()
1856 struct btrfs_root *log, in check_item_in_log()
1963 struct btrfs_root *root, in replay_xattr_deletes()
1964 struct btrfs_root *log, in replay_xattr_deletes()
2071 struct btrfs_root *root, in replay_dir_deletes()
2072 struct btrfs_root *log, in replay_dir_deletes()
2177 static int replay_one_buffer(struct btrfs_root *log, struct extent_buffer *eb, in replay_one_buffer()
2182 struct btrfs_root *root = wc->replay_dest; in replay_one_buffer()
2287 struct btrfs_root *root, in walk_down_log_tree()
2385 struct btrfs_root *root, in walk_up_log_tree()
2449 struct btrfs_root *log, struct walk_control *wc) in walk_log_tree()
2523 struct btrfs_root *log) in update_log_root()
2539 struct btrfs_root *root, int transid) in wait_log_commit()
2565 struct btrfs_root *root) in wait_for_writer()
2580 static inline void btrfs_remove_log_ctx(struct btrfs_root *root, in btrfs_remove_log_ctx()
2595 static inline void btrfs_remove_all_log_ctxs(struct btrfs_root *root, in btrfs_remove_all_log_ctxs()
2624 struct btrfs_root *root, struct btrfs_log_ctx *ctx) in btrfs_sync_log()
2630 struct btrfs_root *log = root->log_root; in btrfs_sync_log()
2631 struct btrfs_root *log_root_tree = root->fs_info->log_root_tree; in btrfs_sync_log()
2872 struct btrfs_root *log) in free_log_tree()
2914 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root) in btrfs_free_log()
2955 struct btrfs_root *root, in btrfs_del_dir_entries_in_log()
2959 struct btrfs_root *log; in btrfs_del_dir_entries_in_log()
3063 struct btrfs_root *root, in btrfs_del_inode_ref_in_log()
3067 struct btrfs_root *log; in btrfs_del_inode_ref_in_log()
3099 struct btrfs_root *log, in insert_dir_log_key()
3132 struct btrfs_root *root, struct inode *inode, in log_dir_items()
3139 struct btrfs_root *log = root->log_root; in log_dir_items()
3322 struct btrfs_root *root, struct inode *inode, in log_directory_changes()
3360 struct btrfs_root *log, in drop_objectid_items()
3466 struct btrfs_root *log, struct btrfs_path *path, in log_inode_item()
3493 struct btrfs_root *log = BTRFS_I(inode)->root->log_root; in copy_items()
3782 struct btrfs_root *root, in wait_ordered_extents()
3788 struct btrfs_root *log = root->log_root; in wait_ordered_extents()
3930 struct inode *inode, struct btrfs_root *root, in log_one_extent()
3936 struct btrfs_root *log = root->log_root; in log_one_extent()
4024 struct btrfs_root *root, in btrfs_log_changed_extents()
4099 static int logged_inode_size(struct btrfs_root *log, struct inode *inode, in logged_inode_size()
4136 struct btrfs_root *root, in btrfs_log_all_xattrs()
4231 struct btrfs_root *root, in btrfs_log_trailing_hole()
4240 struct btrfs_root *log = root->log_root; in btrfs_log_trailing_hole()
4443 struct btrfs_root *root, struct inode *inode, in btrfs_log_inode()
4453 struct btrfs_root *log = root->log_root; in btrfs_log_inode()
4814 struct btrfs_root *root; in check_parent_dirs_for_sync()
4923 struct btrfs_root *root, in log_new_dir_dentries()
4927 struct btrfs_root *log = root->log_root; in log_new_dir_dentries()
5057 struct btrfs_root *root, struct inode *inode, in btrfs_log_inode_parent()
5193 struct btrfs_root *root, struct dentry *dentry, in btrfs_log_dentry_safe()
5212 int btrfs_recover_log_trees(struct btrfs_root *log_root_tree) in btrfs_recover_log_trees()
5220 struct btrfs_root *log; in btrfs_recover_log_trees()
5420 struct btrfs_root * root = BTRFS_I(inode)->root; in btrfs_log_new_name()