Lines Matching defs:root
114 struct btrfs_root *root, *tmp; in switch_commit_roots() local
169 static noinline int join_transaction(struct btrfs_root *root, unsigned int type) in join_transaction()
297 struct btrfs_root *root) in record_root_in_trans()
355 struct btrfs_root *root) in btrfs_add_dropped_root()
373 struct btrfs_root *root) in btrfs_record_root_in_trans()
405 static void wait_current_trans(struct btrfs_root *root) in wait_current_trans()
424 static int may_wait_transaction(struct btrfs_root *root, int type) in may_wait_transaction()
439 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root()
451 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction()
588 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
595 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv()
628 struct btrfs_root *root, in btrfs_start_transaction_lflush()
635 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
640 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root) in btrfs_join_transaction_nolock()
645 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *root) in btrfs_start_ioctl_transaction()
663 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root) in btrfs_attach_transaction()
676 btrfs_attach_transaction_barrier(struct btrfs_root *root) in btrfs_attach_transaction_barrier()
688 static noinline void wait_for_commit(struct btrfs_root *root, in wait_for_commit()
694 int btrfs_wait_for_commit(struct btrfs_root *root, u64 transid) in btrfs_wait_for_commit()
752 void btrfs_throttle(struct btrfs_root *root) in btrfs_throttle()
759 struct btrfs_root *root) in should_end_transaction()
769 struct btrfs_root *root) in btrfs_should_end_transaction()
792 struct btrfs_root *root, int throttle) in __btrfs_end_transaction()
890 struct btrfs_root *root) in btrfs_end_transaction()
896 struct btrfs_root *root) in btrfs_end_transaction_throttle()
906 int btrfs_write_marked_extents(struct btrfs_root *root, in btrfs_write_marked_extents()
960 int btrfs_wait_marked_extents(struct btrfs_root *root, in btrfs_wait_marked_extents()
1026 static int btrfs_write_and_wait_marked_extents(struct btrfs_root *root, in btrfs_write_and_wait_marked_extents()
1046 struct btrfs_root *root) in btrfs_write_and_wait_transaction()
1069 struct btrfs_root *root) in update_cowonly_root()
1105 struct btrfs_root *root) in commit_cowonly_roots()
1187 void btrfs_add_dead_root(struct btrfs_root *root) in btrfs_add_dead_root()
1199 struct btrfs_root *root) in commit_fs_roots()
1256 int btrfs_defrag_root(struct btrfs_root *root) in btrfs_defrag_root()
1305 struct btrfs_root *root = pending->root; in create_pending_snapshot() local
1589 static void update_super_roots(struct btrfs_root *root) in update_super_roots()
1641 static void wait_current_trans_commit_start(struct btrfs_root *root, in wait_current_trans_commit_start()
1653 static void wait_current_trans_commit_start_and_unblock(struct btrfs_root *root, in wait_current_trans_commit_start_and_unblock()
1667 struct btrfs_root *root; member
1690 struct btrfs_root *root, in btrfs_commit_transaction_async()
1739 struct btrfs_root *root, int err) in cleanup_transaction()
1810 struct btrfs_root *root) in btrfs_commit_transaction()
2203 int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root) in btrfs_clean_one_deleted_snapshot()