Lines Matching refs:btrfs_root

619 	struct btrfs_root *extent_root;
620 struct btrfs_root *tree_root;
621 struct btrfs_root *chunk_root;
622 struct btrfs_root *dev_root;
623 struct btrfs_root *fs_root;
624 struct btrfs_root *csum_root;
625 struct btrfs_root *quota_root;
626 struct btrfs_root *uuid_root;
627 struct btrfs_root *free_space_root;
628 struct btrfs_root *data_reloc_root;
631 struct btrfs_root *log_root_tree;
1111 struct btrfs_root { struct
1115 struct btrfs_root *log_root; argument
1116 struct btrfs_root *reloc_root; argument
2229 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly()
2235 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead()
2693 int btrfs_cross_ref_exist(struct btrfs_root *root,
2696 struct btrfs_root *root,
2703 struct btrfs_root *root,
2707 struct btrfs_root *root, u64 owner,
2713 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2716 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2718 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2794 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
2797 void btrfs_subvolume_release_metadata(struct btrfs_root *root,
2812 int btrfs_start_write_no_snapshotting(struct btrfs_root *root);
2813 void btrfs_end_write_no_snapshotting(struct btrfs_root *root);
2814 void btrfs_wait_for_snapshot_creation(struct btrfs_root *root);
2820 int btrfs_previous_item(struct btrfs_root *root,
2823 int btrfs_previous_extent_item(struct btrfs_root *root,
2828 struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
2829 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
2832 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
2839 struct btrfs_root *root, struct extent_buffer *buf,
2844 struct btrfs_root *root,
2847 int btrfs_block_can_be_shared(struct btrfs_root *root,
2852 struct btrfs_root *root,
2857 struct btrfs_root *root,
2860 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
2862 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2865 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key,
2867 int btrfs_search_slot_for_read(struct btrfs_root *root,
2872 struct btrfs_root *root, struct extent_buffer *parent,
2879 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2882 struct btrfs_root *root, in btrfs_del_item()
2888 void setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path,
2891 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2894 struct btrfs_root *root,
2900 struct btrfs_root *root, in btrfs_insert_empty_item()
2908 int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path);
2909 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path,
2912 int btrfs_search_backwards(struct btrfs_root *root, struct btrfs_key *key,
2915 static inline int btrfs_next_old_item(struct btrfs_root *root, in btrfs_next_old_item()
2930 static inline int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path) in btrfs_next_leaf()
2935 static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p) in btrfs_next_item()
2940 int __must_check btrfs_drop_snapshot(struct btrfs_root *root, int update_ref,
2943 struct btrfs_root *root,
2994 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2998 struct btrfs_root *root,
3001 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
3009 struct btrfs_root *root);
3019 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
3025 struct btrfs_root *root,
3031 struct btrfs_root *root,
3036 btrfs_search_dir_index_item(struct btrfs_root *root,
3040 struct btrfs_root *root,
3044 struct btrfs_root *root,
3049 struct btrfs_root *root,
3060 struct btrfs_root *root, u64 offset);
3062 struct btrfs_root *root, u64 offset);
3063 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
3067 struct btrfs_root *root,
3071 struct btrfs_root *root,
3075 struct btrfs_root *root,
3077 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
3083 struct btrfs_root *root,
3098 struct btrfs_root *root, u64 bytenr, u64 len);
3101 struct btrfs_root *root,
3107 struct btrfs_root *root,
3111 struct btrfs_root *root,
3115 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
3140 void __btrfs_del_delalloc_inode(struct btrfs_root *root,
3145 struct btrfs_root *root,
3155 struct btrfs_root *root,
3159 int btrfs_start_delalloc_snapshot(struct btrfs_root *root, bool in_reclaim_context);
3166 struct btrfs_root *new_root,
3167 struct btrfs_root *parent_root,
3191 struct btrfs_root *root, struct btrfs_path *path);
3192 struct inode *btrfs_iget(struct super_block *s, u64 ino, struct btrfs_root *root);
3197 struct btrfs_root *root, struct btrfs_inode *inode);
3199 struct btrfs_root *root, struct btrfs_inode *inode);
3202 int btrfs_orphan_cleanup(struct btrfs_root *root);
3271 struct btrfs_root *root, struct btrfs_inode *inode,
3291 struct btrfs_root *root);
3727 struct btrfs_root *root);
3729 struct btrfs_root *root);
3730 int btrfs_recover_relocation(struct btrfs_root *root);
3733 struct btrfs_root *root, struct extent_buffer *buf,
3740 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
3742 int btrfs_should_ignore_reloc_root(struct btrfs_root *root);
3780 struct reada_control *btrfs_reada_add(struct btrfs_root *root,