Lines Matching defs:trans
137 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans()
284 struct btrfs_trans_handle *trans; member
344 static noinline int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item()
573 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent()
850 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item()
985 static inline int __add_inode_ref(struct btrfs_trans_handle *trans, in __add_inode_ref()
1225 static int unlink_old_inode_refs(struct btrfs_trans_handle *trans, in unlink_old_inode_refs()
1346 static int add_link(struct btrfs_trans_handle *trans, struct btrfs_root *root, in add_link()
1413 static noinline int add_inode_ref(struct btrfs_trans_handle *trans, in add_inode_ref()
1586 static int insert_orphan_item(struct btrfs_trans_handle *trans, in insert_orphan_item()
1709 static noinline int fixup_inode_link_count(struct btrfs_trans_handle *trans, in fixup_inode_link_count()
1757 static noinline int fixup_inode_link_counts(struct btrfs_trans_handle *trans, in fixup_inode_link_counts()
1818 static noinline int link_to_fixup_dir(struct btrfs_trans_handle *trans, in link_to_fixup_dir()
1857 static noinline int insert_one_name(struct btrfs_trans_handle *trans, in insert_one_name()
1903 static noinline int replay_one_name(struct btrfs_trans_handle *trans, in replay_one_name()
2058 static noinline int replay_one_dir_item(struct btrfs_trans_handle *trans, in replay_one_dir_item()
2220 static noinline int check_item_in_log(struct btrfs_trans_handle *trans, in check_item_in_log()
2323 static int replay_xattr_deletes(struct btrfs_trans_handle *trans, in replay_xattr_deletes()
2431 static noinline int replay_dir_deletes(struct btrfs_trans_handle *trans, in replay_dir_deletes()
2710 static noinline int walk_down_log_tree(struct btrfs_trans_handle *trans, in walk_down_log_tree()
2800 static noinline int walk_up_log_tree(struct btrfs_trans_handle *trans, in walk_up_log_tree()
2861 static int walk_log_tree(struct btrfs_trans_handle *trans, in walk_log_tree()
2938 static int update_log_root(struct btrfs_trans_handle *trans, in update_log_root()
3039 int btrfs_sync_log(struct btrfs_trans_handle *trans, in btrfs_sync_log()
3287 static void free_log_tree(struct btrfs_trans_handle *trans, in free_log_tree()
3314 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root) in btrfs_free_log()
3324 int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans, in btrfs_free_log_root_tree()
3344 static bool inode_logged(struct btrfs_trans_handle *trans, in inode_logged()
3379 int btrfs_del_dir_entries_in_log(struct btrfs_trans_handle *trans, in btrfs_del_dir_entries_in_log()
3489 int btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, in btrfs_del_inode_ref_in_log()
3525 static noinline int insert_dir_log_key(struct btrfs_trans_handle *trans, in insert_dir_log_key()
3558 static noinline int log_dir_items(struct btrfs_trans_handle *trans, in log_dir_items()
3766 static noinline int log_directory_changes(struct btrfs_trans_handle *trans, in log_directory_changes()
3803 static int drop_objectid_items(struct btrfs_trans_handle *trans, in drop_objectid_items()
3855 static void fill_inode_item(struct btrfs_trans_handle *trans, in fill_inode_item()
3908 static int log_inode_item(struct btrfs_trans_handle *trans, in log_inode_item()
3927 static int log_csums(struct btrfs_trans_handle *trans, in log_csums()
3973 static noinline int copy_items(struct btrfs_trans_handle *trans, in copy_items()
4114 static int log_extent_csums(struct btrfs_trans_handle *trans, in log_extent_csums()
4221 static int log_one_extent(struct btrfs_trans_handle *trans, in log_one_extent()
4306 static int btrfs_log_prealloc_extents(struct btrfs_trans_handle *trans, in btrfs_log_prealloc_extents()
4435 static int btrfs_log_changed_extents(struct btrfs_trans_handle *trans, in btrfs_log_changed_extents()
4591 static int btrfs_log_all_xattrs(struct btrfs_trans_handle *trans, in btrfs_log_all_xattrs()
4669 static int btrfs_log_holes(struct btrfs_trans_handle *trans, in btrfs_log_holes()
4904 static int log_conflicting_inodes(struct btrfs_trans_handle *trans, in log_conflicting_inodes()
5075 static int copy_inode_items_to_log(struct btrfs_trans_handle *trans, in copy_inode_items_to_log()
5221 static int btrfs_log_inode(struct btrfs_trans_handle *trans, in btrfs_log_inode()
5478 static bool btrfs_must_commit_transaction(struct btrfs_trans_handle *trans, in btrfs_must_commit_transaction()
5504 static noinline int check_parent_dirs_for_sync(struct btrfs_trans_handle *trans, in check_parent_dirs_for_sync()
5604 static int log_new_dir_dentries(struct btrfs_trans_handle *trans, in log_new_dir_dentries()
5735 static int btrfs_log_all_parents(struct btrfs_trans_handle *trans, in btrfs_log_all_parents()
5856 static int log_new_ancestors(struct btrfs_trans_handle *trans, in log_new_ancestors()
5921 static int log_new_ancestors_fast(struct btrfs_trans_handle *trans, in log_new_ancestors_fast()
5959 static int log_all_new_ancestors(struct btrfs_trans_handle *trans, in log_all_new_ancestors()
6048 static int btrfs_log_inode_parent(struct btrfs_trans_handle *trans, in btrfs_log_inode_parent()
6198 int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, in btrfs_log_dentry_safe()
6220 struct btrfs_trans_handle *trans; in btrfs_recover_log_trees() local
6396 void btrfs_record_unlink_dir(struct btrfs_trans_handle *trans, in btrfs_record_unlink_dir()
6459 void btrfs_record_snapshot_destroy(struct btrfs_trans_handle *trans, in btrfs_record_snapshot_destroy()
6471 void btrfs_log_new_name(struct btrfs_trans_handle *trans, in btrfs_log_new_name()