Lines Matching refs:btrfs_fs_info

112 	struct btrfs_fs_info *fs_info = trans->fs_info;  in switch_commit_roots()
168 static noinline int join_transaction(struct btrfs_fs_info *fs_info, in join_transaction()
298 struct btrfs_fs_info *fs_info = root->fs_info; in record_root_in_trans()
358 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dropped_root()
377 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_record_root_in_trans()
409 static void wait_current_trans(struct btrfs_fs_info *fs_info) in wait_current_trans()
428 static int may_wait_transaction(struct btrfs_fs_info *fs_info, int type) in may_wait_transaction()
441 struct btrfs_fs_info *fs_info = root->fs_info; in need_reserve_reloc_root()
457 struct btrfs_fs_info *fs_info = root->fs_info; in start_transaction()
602 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_start_transaction_fallback_global_rsv()
695 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid) in btrfs_wait_for_commit()
753 void btrfs_throttle(struct btrfs_fs_info *fs_info) in btrfs_throttle()
760 struct btrfs_fs_info *fs_info = trans->fs_info; in should_end_transaction()
793 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_trans_release_metadata()
814 struct btrfs_fs_info *info = trans->fs_info; in __btrfs_end_transaction()
918 int btrfs_write_marked_extents(struct btrfs_fs_info *fs_info, in btrfs_write_marked_extents()
974 static int __btrfs_wait_marked_extents(struct btrfs_fs_info *fs_info, in __btrfs_wait_marked_extents()
1012 int btrfs_wait_extents(struct btrfs_fs_info *fs_info, in btrfs_wait_extents()
1029 struct btrfs_fs_info *fs_info = log_root->fs_info; in btrfs_wait_tree_log_extents()
1062 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_write_and_wait_transaction()
1096 struct btrfs_fs_info *fs_info = root->fs_info; in update_cowonly_root()
1129 struct btrfs_fs_info *fs_info = trans->fs_info; in commit_cowonly_roots()
1212 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_add_dead_root()
1225 struct btrfs_fs_info *fs_info = trans->fs_info; in commit_fs_roots()
1281 struct btrfs_fs_info *info = root->fs_info; in btrfs_defrag_root()
1325 struct btrfs_fs_info *fs_info = src->fs_info; in qgroup_account_snapshot()
1411 struct btrfs_fs_info *fs_info = trans->fs_info; in create_pending_snapshot()
1692 static void update_super_roots(struct btrfs_fs_info *fs_info) in update_super_roots()
1714 int btrfs_transaction_in_commit(struct btrfs_fs_info *info) in btrfs_transaction_in_commit()
1727 int btrfs_transaction_blocked(struct btrfs_fs_info *info) in btrfs_transaction_blocked()
1744 static void wait_current_trans_commit_start(struct btrfs_fs_info *fs_info, in wait_current_trans_commit_start()
1756 struct btrfs_fs_info *fs_info, in wait_current_trans_commit_start_and_unblock()
1793 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_commit_transaction_async()
1840 struct btrfs_fs_info *fs_info = trans->fs_info; in cleanup_transaction()
1889 static inline int btrfs_start_delalloc_flush(struct btrfs_fs_info *fs_info) in btrfs_start_delalloc_flush()
1905 static inline void btrfs_wait_delalloc_flush(struct btrfs_fs_info *fs_info) in btrfs_wait_delalloc_flush()
1920 struct btrfs_fs_info *fs_info = trans->fs_info; in btrfs_commit_transaction()
2321 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_clean_one_deleted_snapshot()
2346 void btrfs_apply_pending_changes(struct btrfs_fs_info *fs_info) in btrfs_apply_pending_changes()