Lines Matching refs:btrfs_root
588 struct btrfs_root *extent_root;
589 struct btrfs_root *tree_root;
590 struct btrfs_root *chunk_root;
591 struct btrfs_root *dev_root;
592 struct btrfs_root *fs_root;
593 struct btrfs_root *csum_root;
594 struct btrfs_root *quota_root;
595 struct btrfs_root *uuid_root;
596 struct btrfs_root *free_space_root;
597 struct btrfs_root *data_reloc_root;
600 struct btrfs_root *log_root_tree;
1053 struct btrfs_root { struct
1057 struct btrfs_root *log_root; argument
1058 struct btrfs_root *reloc_root; argument
2116 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly()
2121 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead()
2568 int btrfs_cross_ref_exist(struct btrfs_root *root,
2571 struct btrfs_root *root,
2578 struct btrfs_root *root,
2582 struct btrfs_root *root, u64 owner,
2588 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2591 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2593 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2669 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
2672 void btrfs_subvolume_release_metadata(struct btrfs_root *root,
2687 int btrfs_start_write_no_snapshotting(struct btrfs_root *root);
2688 void btrfs_end_write_no_snapshotting(struct btrfs_root *root);
2689 void btrfs_wait_for_snapshot_creation(struct btrfs_root *root);
2695 int btrfs_previous_item(struct btrfs_root *root,
2698 int btrfs_previous_extent_item(struct btrfs_root *root,
2703 struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
2704 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
2707 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
2714 struct btrfs_root *root, struct extent_buffer *buf,
2719 struct btrfs_root *root,
2722 int btrfs_block_can_be_shared(struct btrfs_root *root,
2727 struct btrfs_root *root,
2732 struct btrfs_root *root,
2735 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
2737 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2740 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key,
2742 int btrfs_search_slot_for_read(struct btrfs_root *root,
2747 struct btrfs_root *root, struct extent_buffer *parent,
2754 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2757 struct btrfs_root *root, in btrfs_del_item()
2763 void setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path,
2766 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2769 struct btrfs_root *root,
2775 struct btrfs_root *root, in btrfs_insert_empty_item()
2783 int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path);
2784 int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path);
2785 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path,
2787 static inline int btrfs_next_old_item(struct btrfs_root *root, in btrfs_next_old_item()
2795 static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p) in btrfs_next_item()
2800 int __must_check btrfs_drop_snapshot(struct btrfs_root *root, int update_ref,
2803 struct btrfs_root *root,
2834 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
2845 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2849 struct btrfs_root *root,
2852 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
2860 struct btrfs_root *root);
2870 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
2876 struct btrfs_root *root,
2882 struct btrfs_root *root,
2887 btrfs_search_dir_index_item(struct btrfs_root *root,
2891 struct btrfs_root *root,
2895 struct btrfs_root *root,
2900 struct btrfs_root *root,
2911 struct btrfs_root *root, u64 offset);
2913 struct btrfs_root *root, u64 offset);
2914 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
2918 struct btrfs_root *root,
2922 struct btrfs_root *root,
2926 struct btrfs_root *root,
2928 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
2934 struct btrfs_root *root,
2949 struct btrfs_root *root, u64 bytenr, u64 len);
2953 struct btrfs_root *root,
2959 struct btrfs_root *root,
2963 struct btrfs_root *root,
2967 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
2992 void __btrfs_del_delalloc_inode(struct btrfs_root *root,
2997 struct btrfs_root *root,
3007 struct btrfs_root *root,
3011 int btrfs_start_delalloc_snapshot(struct btrfs_root *root);
3018 struct btrfs_root *new_root,
3019 struct btrfs_root *parent_root,
3043 struct btrfs_root *root, struct btrfs_path *path);
3044 struct inode *btrfs_iget(struct super_block *s, u64 ino, struct btrfs_root *root);
3049 struct btrfs_root *root,
3052 struct btrfs_root *root, struct inode *inode);
3055 int btrfs_orphan_cleanup(struct btrfs_root *root);
3105 struct btrfs_root *root, struct btrfs_inode *inode,
3112 struct btrfs_root *root, struct inode *inode, u64 start,
3131 struct btrfs_root *root);
3520 struct btrfs_root *root);
3522 struct btrfs_root *root);
3523 int btrfs_recover_relocation(struct btrfs_root *root);
3526 struct btrfs_root *root, struct extent_buffer *buf,
3533 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
3535 int btrfs_should_ignore_reloc_root(struct btrfs_root *root);
3573 struct reada_control *btrfs_reada_add(struct btrfs_root *root,