Lines Matching defs:root

108 	struct btrfs_root *root, *tmp;  in switch_commit_roots()  local
151 static noinline int join_transaction(struct btrfs_root *root, unsigned int type) in join_transaction()
278 struct btrfs_root *root) in record_root_in_trans()
336 struct btrfs_root *root) in btrfs_record_root_in_trans()
368 static void wait_current_trans(struct btrfs_root *root) in wait_current_trans()
387 static int may_wait_transaction(struct btrfs_root *root, int type) in may_wait_transaction()
402 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root()
414 start_transaction(struct btrfs_root *root, u64 num_items, unsigned int type, in start_transaction()
567 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
575 struct btrfs_root *root, int num_items) in btrfs_start_transaction_lflush()
581 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
586 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root) in btrfs_join_transaction_nolock()
591 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *root) in btrfs_start_ioctl_transaction()
609 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root) in btrfs_attach_transaction()
622 btrfs_attach_transaction_barrier(struct btrfs_root *root) in btrfs_attach_transaction_barrier()
634 static noinline void wait_for_commit(struct btrfs_root *root, in wait_for_commit()
640 int btrfs_wait_for_commit(struct btrfs_root *root, u64 transid) in btrfs_wait_for_commit()
698 void btrfs_throttle(struct btrfs_root *root) in btrfs_throttle()
705 struct btrfs_root *root) in should_end_transaction()
715 struct btrfs_root *root) in btrfs_should_end_transaction()
738 struct btrfs_root *root, int throttle) in __btrfs_end_transaction()
846 struct btrfs_root *root) in btrfs_end_transaction()
852 struct btrfs_root *root) in btrfs_end_transaction_throttle()
862 int btrfs_write_marked_extents(struct btrfs_root *root, in btrfs_write_marked_extents()
916 int btrfs_wait_marked_extents(struct btrfs_root *root, in btrfs_wait_marked_extents()
982 static int btrfs_write_and_wait_marked_extents(struct btrfs_root *root, in btrfs_write_and_wait_marked_extents()
1002 struct btrfs_root *root) in btrfs_write_and_wait_transaction()
1025 struct btrfs_root *root) in update_cowonly_root()
1061 struct btrfs_root *root) in commit_cowonly_roots()
1143 void btrfs_add_dead_root(struct btrfs_root *root) in btrfs_add_dead_root()
1155 struct btrfs_root *root) in commit_fs_roots()
1211 int btrfs_defrag_root(struct btrfs_root *root) in btrfs_defrag_root()
1260 struct btrfs_root *root = pending->root; in create_pending_snapshot() local
1531 static void update_super_roots(struct btrfs_root *root) in update_super_roots()
1583 static void wait_current_trans_commit_start(struct btrfs_root *root, in wait_current_trans_commit_start()
1595 static void wait_current_trans_commit_start_and_unblock(struct btrfs_root *root, in wait_current_trans_commit_start_and_unblock()
1609 struct btrfs_root *root; member
1634 struct btrfs_root *root, in btrfs_commit_transaction_async()
1685 struct btrfs_root *root, int err) in cleanup_transaction()
1771 struct btrfs_root *root) in btrfs_commit_transaction()
2152 int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root) in btrfs_clean_one_deleted_snapshot()