Lines Matching defs:trans
148 static int start_log_trans(struct btrfs_trans_handle *trans, in start_log_trans()
313 struct btrfs_trans_handle *trans; member
376 static int overwrite_item(struct btrfs_trans_handle *trans, in overwrite_item()
624 static noinline int replay_one_extent(struct btrfs_trans_handle *trans, in replay_one_extent()
899 static int unlink_inode_for_log_replay(struct btrfs_trans_handle *trans, in unlink_inode_for_log_replay()
926 static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans, in drop_one_dir_item()
1050 static inline int __add_inode_ref(struct btrfs_trans_handle *trans, in __add_inode_ref()
1263 static int unlink_old_inode_refs(struct btrfs_trans_handle *trans, in unlink_old_inode_refs()
1347 static noinline int add_inode_ref(struct btrfs_trans_handle *trans, in add_inode_ref()
1597 static noinline int fixup_inode_link_count(struct btrfs_trans_handle *trans, in fixup_inode_link_count()
1649 static noinline int fixup_inode_link_counts(struct btrfs_trans_handle *trans, in fixup_inode_link_counts()
1710 static noinline int link_to_fixup_dir(struct btrfs_trans_handle *trans, in link_to_fixup_dir()
1749 static noinline int insert_one_name(struct btrfs_trans_handle *trans, in insert_one_name()
1779 static int delete_conflicting_dir_entry(struct btrfs_trans_handle *trans, in delete_conflicting_dir_entry()
1823 static noinline int replay_one_name(struct btrfs_trans_handle *trans, in replay_one_name()
1952 static noinline int replay_one_dir_item(struct btrfs_trans_handle *trans, in replay_one_dir_item()
2098 static noinline int check_item_in_log(struct btrfs_trans_handle *trans, in check_item_in_log()
2174 static int replay_xattr_deletes(struct btrfs_trans_handle *trans, in replay_xattr_deletes()
2282 static noinline int replay_dir_deletes(struct btrfs_trans_handle *trans, in replay_dir_deletes()
2566 static int clean_log_buffer(struct btrfs_trans_handle *trans, in clean_log_buffer()
2588 static noinline int walk_down_log_tree(struct btrfs_trans_handle *trans, in walk_down_log_tree()
2668 static noinline int walk_up_log_tree(struct btrfs_trans_handle *trans, in walk_up_log_tree()
2709 static int walk_log_tree(struct btrfs_trans_handle *trans, in walk_log_tree()
2766 static int update_log_root(struct btrfs_trans_handle *trans, in update_log_root()
2862 int btrfs_sync_log(struct btrfs_trans_handle *trans, in btrfs_sync_log()
3172 static void free_log_tree(struct btrfs_trans_handle *trans, in free_log_tree()
3225 int btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root) in btrfs_free_log()
3235 int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans, in btrfs_free_log_root_tree()
3255 static int inode_logged(const struct btrfs_trans_handle *trans, in inode_logged()
3371 static int del_logged_dentry(struct btrfs_trans_handle *trans, in del_logged_dentry()
3420 void btrfs_del_dir_entries_in_log(struct btrfs_trans_handle *trans, in btrfs_del_dir_entries_in_log()
3459 void btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, in btrfs_del_inode_ref_in_log()
3495 static noinline int insert_dir_log_key(struct btrfs_trans_handle *trans, in insert_dir_log_key()
3538 static int flush_dir_items_batch(struct btrfs_trans_handle *trans, in flush_dir_items_batch()
3630 static int process_dir_items_leaf(struct btrfs_trans_handle *trans, in process_dir_items_leaf()
3749 static noinline int log_dir_items(struct btrfs_trans_handle *trans, in log_dir_items()
4006 static noinline int log_directory_changes(struct btrfs_trans_handle *trans, in log_directory_changes()
4042 static int drop_inode_items(struct btrfs_trans_handle *trans, in drop_inode_items()
4095 static int truncate_inode_items(struct btrfs_trans_handle *trans, in truncate_inode_items()
4110 static void fill_inode_item(struct btrfs_trans_handle *trans, in fill_inode_item()
4173 static int log_inode_item(struct btrfs_trans_handle *trans, in log_inode_item()
4219 static int log_csums(struct btrfs_trans_handle *trans, in log_csums()
4265 static noinline int copy_items(struct btrfs_trans_handle *trans, in copy_items()
4514 static int log_extent_csums(struct btrfs_trans_handle *trans, in log_extent_csums()
4622 static int log_one_extent(struct btrfs_trans_handle *trans, in log_one_extent()
4711 static int btrfs_log_prealloc_extents(struct btrfs_trans_handle *trans, in btrfs_log_prealloc_extents()
4836 static int btrfs_log_changed_extents(struct btrfs_trans_handle *trans, in btrfs_log_changed_extents()
4986 static int btrfs_log_all_xattrs(struct btrfs_trans_handle *trans, in btrfs_log_all_xattrs()
5064 static int btrfs_log_holes(struct btrfs_trans_handle *trans, in btrfs_log_holes()
5303 static bool need_log_inode(const struct btrfs_trans_handle *trans, in need_log_inode()
5370 static int log_new_dir_dentries(struct btrfs_trans_handle *trans, in log_new_dir_dentries()
5572 static int add_conflicting_inode(struct btrfs_trans_handle *trans, in add_conflicting_inode()
5688 static int log_conflicting_inodes(struct btrfs_trans_handle *trans, in log_conflicting_inodes()
5791 static int copy_inode_items_to_log(struct btrfs_trans_handle *trans, in copy_inode_items_to_log()
5949 static int insert_delayed_items_batch(struct btrfs_trans_handle *trans, in insert_delayed_items_batch()
5977 static int log_delayed_insertion_items(struct btrfs_trans_handle *trans, in log_delayed_insertion_items()
6072 static int log_delayed_deletions_full(struct btrfs_trans_handle *trans, in log_delayed_deletions_full()
6116 static int batch_delete_dir_index_items(struct btrfs_trans_handle *trans, in batch_delete_dir_index_items()
6151 static int log_delayed_deletions_incremental(struct btrfs_trans_handle *trans, in log_delayed_deletions_incremental()
6223 static int log_delayed_deletion_items(struct btrfs_trans_handle *trans, in log_delayed_deletion_items()
6250 static int log_new_delayed_dentries(struct btrfs_trans_handle *trans, in log_new_delayed_dentries()
6328 static int btrfs_log_inode(struct btrfs_trans_handle *trans, in btrfs_log_inode()
6662 static int btrfs_log_all_parents(struct btrfs_trans_handle *trans, in btrfs_log_all_parents()
6784 static int log_new_ancestors(struct btrfs_trans_handle *trans, in log_new_ancestors()
6849 static int log_new_ancestors_fast(struct btrfs_trans_handle *trans, in log_new_ancestors_fast()
6887 static int log_all_new_ancestors(struct btrfs_trans_handle *trans, in log_all_new_ancestors()
6976 static int btrfs_log_inode_parent(struct btrfs_trans_handle *trans, in btrfs_log_inode_parent()
7107 int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, in btrfs_log_dentry_safe()
7129 struct btrfs_trans_handle *trans; in btrfs_recover_log_trees() local
7308 void btrfs_record_unlink_dir(struct btrfs_trans_handle *trans, in btrfs_record_unlink_dir()
7371 void btrfs_record_snapshot_destroy(struct btrfs_trans_handle *trans, in btrfs_record_snapshot_destroy()
7396 void btrfs_log_new_name(struct btrfs_trans_handle *trans, in btrfs_log_new_name()