Lines Matching refs:btrfs_root

756 	struct btrfs_root *extent_root;
757 struct btrfs_root *tree_root;
758 struct btrfs_root *chunk_root;
759 struct btrfs_root *dev_root;
760 struct btrfs_root *fs_root;
761 struct btrfs_root *csum_root;
762 struct btrfs_root *quota_root;
763 struct btrfs_root *uuid_root;
764 struct btrfs_root *free_space_root;
767 struct btrfs_root *log_root_tree;
1164 struct btrfs_root { struct
1168 struct btrfs_root *log_root; argument
1169 struct btrfs_root *reloc_root; argument
2159 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly()
2164 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead()
2635 int btrfs_cross_ref_exist(struct btrfs_root *root,
2643 struct btrfs_root *root,
2649 struct btrfs_root *root,
2653 struct btrfs_root *root, u64 owner,
2659 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2662 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2664 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2671 struct btrfs_root *root,
2682 struct btrfs_root *root,
2744 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
2765 int btrfs_block_rsv_add(struct btrfs_root *root,
2769 int btrfs_block_rsv_refill(struct btrfs_root *root,
2795 int btrfs_start_write_no_snapshotting(struct btrfs_root *root);
2796 void btrfs_end_write_no_snapshotting(struct btrfs_root *root);
2797 void btrfs_wait_for_snapshot_creation(struct btrfs_root *root);
2807 int btrfs_previous_item(struct btrfs_root *root,
2810 int btrfs_previous_extent_item(struct btrfs_root *root,
2815 struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
2816 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root);
2817 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root);
2818 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
2821 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
2835 int btrfs_compare_trees(struct btrfs_root *left_root,
2836 struct btrfs_root *right_root,
2839 struct btrfs_root *root, struct extent_buffer *buf,
2843 struct btrfs_root *root,
2846 int btrfs_block_can_be_shared(struct btrfs_root *root,
2853 struct btrfs_root *root,
2858 struct btrfs_root *root,
2861 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
2863 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2866 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key,
2868 int btrfs_search_slot_for_read(struct btrfs_root *root,
2873 struct btrfs_root *root, struct extent_buffer *parent,
2884 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2887 struct btrfs_root *root, in btrfs_del_item()
2893 void setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path,
2896 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2899 struct btrfs_root *root,
2905 struct btrfs_root *root, in btrfs_insert_empty_item()
2913 int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path);
2914 int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path);
2915 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path,
2917 static inline int btrfs_next_old_item(struct btrfs_root *root, in btrfs_next_old_item()
2925 static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p) in btrfs_next_item()
2931 int __must_check btrfs_drop_snapshot(struct btrfs_root *root,
2935 struct btrfs_root *root,
2984 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
2995 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2999 struct btrfs_root *root,
3002 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
3010 struct btrfs_root *root);
3022 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
3025 struct btrfs_root *root, const char *name,
3029 struct btrfs_root *root,
3035 struct btrfs_root *root,
3040 btrfs_search_dir_index_item(struct btrfs_root *root,
3044 struct btrfs_root *root,
3048 struct btrfs_root *root,
3053 struct btrfs_root *root,
3064 struct btrfs_root *root, u64 offset);
3066 struct btrfs_root *root, u64 offset);
3067 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
3071 struct btrfs_root *root,
3075 struct btrfs_root *root,
3079 struct btrfs_root *root,
3081 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
3087 struct btrfs_root *root,
3109 struct btrfs_root *root,
3115 struct btrfs_root *root,
3119 struct btrfs_root *root,
3123 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
3139 void __btrfs_del_delalloc_inode(struct btrfs_root *root,
3144 struct btrfs_root *root,
3154 struct btrfs_root *root,
3158 int btrfs_start_delalloc_inodes(struct btrfs_root *root);
3164 struct btrfs_root *new_root,
3165 struct btrfs_root *parent_root,
3181 struct btrfs_root *root, int *was_new);
3186 struct btrfs_root *root,
3189 struct btrfs_root *root, struct inode *inode);
3192 int btrfs_orphan_cleanup(struct btrfs_root *root);
3237 struct btrfs_root *root, struct inode *inode,
3244 struct btrfs_root *root, struct inode *inode, u64 start,
3258 struct btrfs_root *root);
3647 struct btrfs_root *root);
3649 struct btrfs_root *root);
3650 int btrfs_recover_relocation(struct btrfs_root *root);
3653 struct btrfs_root *root, struct extent_buffer *buf,
3697 struct reada_control *btrfs_reada_add(struct btrfs_root *root,