Lines Matching refs:btrfs_root

629 	struct btrfs_root *tree_root;
630 struct btrfs_root *chunk_root;
631 struct btrfs_root *dev_root;
632 struct btrfs_root *fs_root;
633 struct btrfs_root *quota_root;
634 struct btrfs_root *uuid_root;
635 struct btrfs_root *data_reloc_root;
636 struct btrfs_root *block_group_root;
639 struct btrfs_root *log_root_tree;
1314 struct btrfs_root { struct
1320 struct btrfs_root *log_root; argument
1321 struct btrfs_root *reloc_root; argument
2445 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly()
2451 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead()
2457 static inline u64 btrfs_root_id(const struct btrfs_root *root) in btrfs_root_id()
2881 int btrfs_cross_ref_exist(struct btrfs_root *root,
2885 struct btrfs_root *root,
2896 struct btrfs_root *root, u64 owner,
2902 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2905 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2907 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2982 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
2985 void btrfs_subvolume_release_metadata(struct btrfs_root *root,
3001 int btrfs_start_write_no_snapshotting(struct btrfs_root *root);
3002 void btrfs_end_write_no_snapshotting(struct btrfs_root *root);
3003 void btrfs_wait_for_snapshot_creation(struct btrfs_root *root);
3009 int btrfs_previous_item(struct btrfs_root *root,
3012 int btrfs_previous_extent_item(struct btrfs_root *root,
3017 struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
3018 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
3021 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
3028 struct btrfs_root *root, struct extent_buffer *buf,
3033 struct btrfs_root *root,
3036 int btrfs_block_can_be_shared(struct btrfs_root *root,
3041 struct btrfs_root *root,
3046 struct btrfs_root *root,
3049 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
3051 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
3054 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key,
3056 int btrfs_search_slot_for_read(struct btrfs_root *root,
3061 struct btrfs_root *root, struct extent_buffer *parent,
3068 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
3071 struct btrfs_root *root, in btrfs_del_item()
3103 void btrfs_setup_item_for_insert(struct btrfs_root *root,
3107 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
3110 struct btrfs_root *root,
3115 struct btrfs_root *root, in btrfs_insert_empty_item()
3130 int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path);
3131 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path,
3134 int btrfs_search_backwards(struct btrfs_root *root, struct btrfs_key *key,
3137 int btrfs_get_next_valid_item(struct btrfs_root *root, struct btrfs_key *key,
3166 static inline int btrfs_next_old_item(struct btrfs_root *root, in btrfs_next_old_item()
3181 static inline int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path) in btrfs_next_leaf()
3186 static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p) in btrfs_next_item()
3191 int __must_check btrfs_drop_snapshot(struct btrfs_root *root, int update_ref,
3194 struct btrfs_root *root,
3245 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
3249 struct btrfs_root *root,
3252 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
3260 struct btrfs_root *root);
3270 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
3276 struct btrfs_root *root,
3282 struct btrfs_root *root,
3287 btrfs_search_dir_index_item(struct btrfs_root *root,
3291 struct btrfs_root *root,
3295 struct btrfs_root *root,
3300 struct btrfs_root *root,
3311 struct btrfs_root *root, u64 offset);
3313 struct btrfs_root *root, u64 offset);
3314 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
3318 struct btrfs_root *root, u64 bytenr, u64 len);
3321 struct btrfs_root *root, u64 objectid, u64 pos,
3324 struct btrfs_root *root,
3328 struct btrfs_root *root,
3332 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
3364 void __btrfs_del_delalloc_inode(struct btrfs_root *root,
3378 int btrfs_start_delalloc_snapshot(struct btrfs_root *root, bool in_reclaim_context);
3424 struct btrfs_root *root, struct btrfs_path *path);
3425 struct inode *btrfs_iget(struct super_block *s, u64 ino, struct btrfs_root *root);
3430 struct btrfs_root *root, struct btrfs_inode *inode);
3432 struct btrfs_root *root, struct btrfs_inode *inode);
3435 int btrfs_orphan_cleanup(struct btrfs_root *root);
3511 struct btrfs_root *root, struct btrfs_inode *inode,
3535 struct btrfs_root *root);
4014 struct btrfs_root *root);
4016 struct btrfs_root *root);
4020 struct btrfs_root *root, struct extent_buffer *buf,
4027 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
4029 int btrfs_should_ignore_reloc_root(struct btrfs_root *root);
4110 static inline bool btrfs_is_data_reloc_root(const struct btrfs_root *root) in btrfs_is_data_reloc_root()