Lines Matching defs:root
46 static noinline void switch_commit_root(struct btrfs_root *root) in switch_commit_root()
55 static noinline int join_transaction(struct btrfs_root *root, int nofail) in join_transaction()
138 struct btrfs_root *root) in record_root_in_trans()
195 struct btrfs_root *root) in btrfs_record_root_in_trans()
220 static void wait_current_trans(struct btrfs_root *root) in wait_current_trans()
245 static int may_wait_transaction(struct btrfs_root *root, int type) in may_wait_transaction()
260 static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, in start_transaction()
344 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
349 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
354 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root) in btrfs_join_transaction_nolock()
359 struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *root) in btrfs_start_ioctl_transaction()
365 static noinline void wait_for_commit(struct btrfs_root *root, in wait_for_commit()
371 int btrfs_wait_for_commit(struct btrfs_root *root, u64 transid) in btrfs_wait_for_commit()
422 void btrfs_throttle(struct btrfs_root *root) in btrfs_throttle()
429 struct btrfs_root *root) in should_end_transaction()
438 struct btrfs_root *root) in btrfs_should_end_transaction()
465 struct btrfs_root *root, int throttle, int lock) in __btrfs_end_transaction()
532 struct btrfs_root *root) in btrfs_end_transaction()
543 struct btrfs_root *root) in btrfs_end_transaction_throttle()
554 struct btrfs_root *root) in btrfs_end_transaction_nolock()
565 struct btrfs_root *root) in btrfs_end_transaction_dmeta()
575 int btrfs_write_marked_extents(struct btrfs_root *root, in btrfs_write_marked_extents()
605 int btrfs_wait_marked_extents(struct btrfs_root *root, in btrfs_wait_marked_extents()
633 int btrfs_write_and_wait_marked_extents(struct btrfs_root *root, in btrfs_write_and_wait_marked_extents()
650 struct btrfs_root *root) in btrfs_write_and_wait_transaction()
673 struct btrfs_root *root) in update_cowonly_root()
710 struct btrfs_root *root) in commit_cowonly_roots()
748 int btrfs_add_dead_root(struct btrfs_root *root) in btrfs_add_dead_root()
760 struct btrfs_root *root) in commit_fs_roots()
819 int btrfs_defrag_root(struct btrfs_root *root, int cacheonly) in btrfs_defrag_root()
859 struct btrfs_root *root = pending->root; in create_pending_snapshot() local
1007 static void update_super_roots(struct btrfs_root *root) in update_super_roots()
1051 static void wait_current_trans_commit_start(struct btrfs_root *root, in wait_current_trans_commit_start()
1061 static void wait_current_trans_commit_start_and_unblock(struct btrfs_root *root, in wait_current_trans_commit_start_and_unblock()
1074 struct btrfs_root *root; member
1088 struct btrfs_root *root, in btrfs_commit_transaction_async()
1135 struct btrfs_root *root) in btrfs_commit_transaction()
1381 int btrfs_clean_old_snapshots(struct btrfs_root *root) in btrfs_clean_old_snapshots()