Lines Matching defs:btrfs_root

164 struct btrfs_root {
170 struct btrfs_root *log_root;
171 struct btrfs_root *reloc_root;
320 static inline bool btrfs_root_readonly(const struct btrfs_root *root)
326 static inline bool btrfs_root_dead(const struct btrfs_root *root)
332 static inline u64 btrfs_root_id(const struct btrfs_root *root)
337 static inline int btrfs_get_root_log_transid(const struct btrfs_root *root)
342 static inline void btrfs_set_root_log_transid(struct btrfs_root *root, int log_transid)
347 static inline int btrfs_get_root_last_log_commit(const struct btrfs_root *root)
352 static inline void btrfs_set_root_last_log_commit(struct btrfs_root *root, int commit_id)
523 int btrfs_previous_item(struct btrfs_root *root,
526 int btrfs_previous_extent_item(struct btrfs_root *root,
531 struct extent_buffer *btrfs_root_node(struct btrfs_root *root);
532 int btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path,
535 int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
542 struct btrfs_root *root, struct extent_buffer *buf,
547 struct btrfs_root *root,
554 struct btrfs_root *root,
558 struct btrfs_root *root,
560 int btrfs_del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root,
567 struct btrfs_root *root,
572 struct btrfs_root *root,
575 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
577 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
580 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key,
582 int btrfs_search_slot_for_read(struct btrfs_root *root,
590 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
593 struct btrfs_root *root,
626 struct btrfs_root *root,
630 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
633 struct btrfs_root *root,
638 struct btrfs_root *root,
653 int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path,
656 int btrfs_search_backwards(struct btrfs_root *root, struct btrfs_key *key,
659 int btrfs_get_next_valid_item(struct btrfs_root *root, struct btrfs_key *key,
688 int btrfs_next_old_item(struct btrfs_root *root, struct btrfs_path *path, u64 time_seq);
696 static inline int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path)
701 static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p)
716 static inline bool btrfs_is_data_reloc_root(const struct btrfs_root *root)