Lines Matching refs:btrfs_root

532 	struct btrfs_root *extent_root;
533 struct btrfs_root *tree_root;
534 struct btrfs_root *chunk_root;
535 struct btrfs_root *dev_root;
536 struct btrfs_root *fs_root;
537 struct btrfs_root *csum_root;
538 struct btrfs_root *quota_root;
539 struct btrfs_root *uuid_root;
540 struct btrfs_root *free_space_root;
543 struct btrfs_root *log_root_tree;
962 struct btrfs_root { struct
966 struct btrfs_root *log_root; argument
967 struct btrfs_root *reloc_root; argument
1970 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly()
1975 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead()
2415 int btrfs_cross_ref_exist(struct btrfs_root *root,
2418 struct btrfs_root *root,
2424 struct btrfs_root *root,
2428 struct btrfs_root *root, u64 owner,
2434 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2437 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2439 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2485 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
2503 int btrfs_start_write_no_snapshotting(struct btrfs_root *root);
2504 void btrfs_end_write_no_snapshotting(struct btrfs_root *root);
2505 void btrfs_wait_for_snapshot_creation(struct btrfs_root *root);
2511 int btrfs_previous_item(struct btrfs_root *root,
2514 int btrfs_previous_extent_item(struct btrfs_root *root,
2519 struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
2520 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root);
2521 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root);
2522 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
2525 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
2532 struct btrfs_root *root, struct extent_buffer *buf,
2536 struct btrfs_root *root,
2539 int btrfs_block_can_be_shared(struct btrfs_root *root,
2544 struct btrfs_root *root,
2549 struct btrfs_root *root,
2552 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
2554 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2557 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key,
2559 int btrfs_search_slot_for_read(struct btrfs_root *root,
2564 struct btrfs_root *root, struct extent_buffer *parent,
2573 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2576 struct btrfs_root *root, in btrfs_del_item()
2582 void setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path,
2585 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2588 struct btrfs_root *root,
2594 struct btrfs_root *root, in btrfs_insert_empty_item()
2602 int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path);
2603 int btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path);
2604 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path,
2606 static inline int btrfs_next_old_item(struct btrfs_root *root, in btrfs_next_old_item()
2614 static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p) in btrfs_next_item()
2619 int __must_check btrfs_drop_snapshot(struct btrfs_root *root,
2623 struct btrfs_root *root,
2671 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
2682 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2686 struct btrfs_root *root,
2689 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
2697 struct btrfs_root *root);
2709 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
2715 struct btrfs_root *root,
2721 struct btrfs_root *root,
2726 btrfs_search_dir_index_item(struct btrfs_root *root,
2730 struct btrfs_root *root,
2734 struct btrfs_root *root,
2739 struct btrfs_root *root,
2750 struct btrfs_root *root, u64 offset);
2752 struct btrfs_root *root, u64 offset);
2753 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
2757 struct btrfs_root *root,
2761 struct btrfs_root *root,
2765 struct btrfs_root *root,
2767 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
2773 struct btrfs_root *root,
2794 struct btrfs_root *root,
2800 struct btrfs_root *root,
2804 struct btrfs_root *root,
2808 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
2823 void __btrfs_del_delalloc_inode(struct btrfs_root *root,
2828 struct btrfs_root *root,
2838 struct btrfs_root *root,
2842 int btrfs_start_delalloc_snapshot(struct btrfs_root *root);
2848 struct btrfs_root *new_root,
2849 struct btrfs_root *parent_root,
2873 struct btrfs_root *root, int *new,
2876 struct btrfs_root *root, int *was_new);
2881 struct btrfs_root *root,
2884 struct btrfs_root *root, struct inode *inode);
2887 int btrfs_orphan_cleanup(struct btrfs_root *root);
2933 struct btrfs_root *root, struct inode *inode,
2940 struct btrfs_root *root, struct inode *inode, u64 start,
2959 struct btrfs_root *root);
3342 struct btrfs_root *root);
3344 struct btrfs_root *root);
3345 int btrfs_recover_relocation(struct btrfs_root *root);
3348 struct btrfs_root *root, struct extent_buffer *buf,
3391 struct reada_control *btrfs_reada_add(struct btrfs_root *root,