Lines Matching refs:btrfs_root
580 struct btrfs_root *extent_root;
581 struct btrfs_root *tree_root;
582 struct btrfs_root *chunk_root;
583 struct btrfs_root *dev_root;
584 struct btrfs_root *fs_root;
585 struct btrfs_root *csum_root;
586 struct btrfs_root *quota_root;
587 struct btrfs_root *uuid_root;
588 struct btrfs_root *free_space_root;
589 struct btrfs_root *data_reloc_root;
592 struct btrfs_root *log_root_tree;
1045 struct btrfs_root { struct
1049 struct btrfs_root *log_root; argument
1050 struct btrfs_root *reloc_root; argument
2108 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly()
2113 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead()
2560 int btrfs_cross_ref_exist(struct btrfs_root *root,
2563 struct btrfs_root *root,
2570 struct btrfs_root *root,
2574 struct btrfs_root *root, u64 owner,
2580 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2583 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2585 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2662 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
2665 void btrfs_subvolume_release_metadata(struct btrfs_root *root,
2680 int btrfs_start_write_no_snapshotting(struct btrfs_root *root);
2681 void btrfs_end_write_no_snapshotting(struct btrfs_root *root);
2682 void btrfs_wait_for_snapshot_creation(struct btrfs_root *root);
2688 int btrfs_previous_item(struct btrfs_root *root,
2691 int btrfs_previous_extent_item(struct btrfs_root *root,
2696 struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
2697 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
2700 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
2707 struct btrfs_root *root, struct extent_buffer *buf,
2712 struct btrfs_root *root,
2715 int btrfs_block_can_be_shared(struct btrfs_root *root,
2720 struct btrfs_root *root,
2725 struct btrfs_root *root,
2728 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
2730 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2733 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key,
2735 int btrfs_search_slot_for_read(struct btrfs_root *root,
2740 struct btrfs_root *root, struct extent_buffer *parent,
2747 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2750 struct btrfs_root *root, in btrfs_del_item()
2756 void setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path,
2759 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2762 struct btrfs_root *root,
2768 struct btrfs_root *root, in btrfs_insert_empty_item()
2776 int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path);
2777 int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path);
2778 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path,
2780 static inline int btrfs_next_old_item(struct btrfs_root *root, in btrfs_next_old_item()
2788 static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p) in btrfs_next_item()
2793 int __must_check btrfs_drop_snapshot(struct btrfs_root *root, int update_ref,
2796 struct btrfs_root *root,
2827 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
2838 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2842 struct btrfs_root *root,
2845 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
2853 struct btrfs_root *root);
2863 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
2869 struct btrfs_root *root,
2875 struct btrfs_root *root,
2880 btrfs_search_dir_index_item(struct btrfs_root *root,
2884 struct btrfs_root *root,
2888 struct btrfs_root *root,
2893 struct btrfs_root *root,
2904 struct btrfs_root *root, u64 offset);
2906 struct btrfs_root *root, u64 offset);
2907 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
2911 struct btrfs_root *root,
2915 struct btrfs_root *root,
2919 struct btrfs_root *root,
2921 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
2927 struct btrfs_root *root,
2942 struct btrfs_root *root, u64 bytenr, u64 len);
2946 struct btrfs_root *root,
2952 struct btrfs_root *root,
2956 struct btrfs_root *root,
2960 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
2985 void __btrfs_del_delalloc_inode(struct btrfs_root *root,
2990 struct btrfs_root *root,
3000 struct btrfs_root *root,
3004 int btrfs_start_delalloc_snapshot(struct btrfs_root *root);
3010 struct btrfs_root *new_root,
3011 struct btrfs_root *parent_root,
3035 struct btrfs_root *root, struct btrfs_path *path);
3036 struct inode *btrfs_iget(struct super_block *s, u64 ino, struct btrfs_root *root);
3041 struct btrfs_root *root,
3044 struct btrfs_root *root, struct inode *inode);
3047 int btrfs_orphan_cleanup(struct btrfs_root *root);
3097 struct btrfs_root *root, struct btrfs_inode *inode,
3104 struct btrfs_root *root, struct inode *inode, u64 start,
3123 struct btrfs_root *root);
3512 struct btrfs_root *root);
3514 struct btrfs_root *root);
3515 int btrfs_recover_relocation(struct btrfs_root *root);
3518 struct btrfs_root *root, struct extent_buffer *buf,
3525 struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info,
3527 int btrfs_should_ignore_reloc_root(struct btrfs_root *root);
3565 struct reada_control *btrfs_reada_add(struct btrfs_root *root,