Lines Matching defs:trans
638 * this is updated to the current trans every time a full commit
714 * the reloc mutex goes with the trans lock, it is taken
2552 int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
2558 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans,
2561 int btrfs_pin_extent(struct btrfs_trans_handle *trans, u64 bytenr, u64 num,
2563 int btrfs_pin_extent_for_log_replay(struct btrfs_trans_handle *trans,
2568 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans,
2575 void btrfs_free_tree_block(struct btrfs_trans_handle *trans,
2579 int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
2583 int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans,
2589 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2591 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2593 int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans,
2596 int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_ref *ref);
2600 int btrfs_pin_reserved_extent(struct btrfs_trans_handle *trans, u64 start,
2602 int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans);
2603 int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans,
2683 int btrfs_delayed_refs_qgroup_accounting(struct btrfs_trans_handle *trans,
2711 int btrfs_cow_block(struct btrfs_trans_handle *trans,
2716 int btrfs_copy_root(struct btrfs_trans_handle *trans,
2724 int btrfs_split_item(struct btrfs_trans_handle *trans,
2729 int btrfs_duplicate_item(struct btrfs_trans_handle *trans,
2735 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2744 int btrfs_realloc_node(struct btrfs_trans_handle *trans,
2752 int btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2754 static inline int btrfs_del_item(struct btrfs_trans_handle *trans,
2758 return btrfs_del_items(trans, root, path, path->slots[0], 1);
2764 int btrfs_insert_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2766 int btrfs_insert_empty_items(struct btrfs_trans_handle *trans,
2772 static inline int btrfs_insert_empty_item(struct btrfs_trans_handle *trans,
2778 return btrfs_insert_empty_items(trans, root, path, key, &data_size, 1);
2800 int btrfs_drop_subtree(struct btrfs_trans_handle *trans,
2835 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
2838 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
2841 int btrfs_del_root(struct btrfs_trans_handle *trans,
2843 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2846 int __must_check btrfs_update_root(struct btrfs_trans_handle *trans,
2857 void btrfs_update_root_times(struct btrfs_trans_handle *trans,
2861 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
2863 int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
2870 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, const char *name,
2873 struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans,
2879 btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans,
2888 int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans,
2892 int btrfs_insert_xattr_item(struct btrfs_trans_handle *trans,
2897 struct btrfs_dir_item *btrfs_lookup_xattr(struct btrfs_trans_handle *trans,
2908 int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
2910 int btrfs_del_orphan_item(struct btrfs_trans_handle *trans,
2915 int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans,
2919 int btrfs_del_inode_ref(struct btrfs_trans_handle *trans,
2923 int btrfs_insert_empty_inode(struct btrfs_trans_handle *trans,
2926 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root
2931 btrfs_lookup_inode_extref(struct btrfs_trans_handle *trans,
2946 int btrfs_del_csums(struct btrfs_trans_handle *trans,
2950 int btrfs_insert_file_extent(struct btrfs_trans_handle *trans,
2956 int btrfs_lookup_file_extent(struct btrfs_trans_handle *trans,
2960 int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans,
2994 int btrfs_unlink_inode(struct btrfs_trans_handle *trans,
2998 int btrfs_add_link(struct btrfs_trans_handle *trans,
3004 int btrfs_truncate_inode_items(struct btrfs_trans_handle *trans,
3015 int btrfs_create_subvol_root(struct btrfs_trans_handle *trans,
3046 int btrfs_update_inode(struct btrfs_trans_handle *trans,
3049 int btrfs_update_inode_fallback(struct btrfs_trans_handle *trans,
3051 int btrfs_orphan_add(struct btrfs_trans_handle *trans,
3062 struct btrfs_trans_handle *trans, int mode,
3094 int btrfs_add_inode_defrag(struct btrfs_trans_handle *trans,
3102 int __btrfs_drop_extents(struct btrfs_trans_handle *trans,
3109 int btrfs_drop_extents(struct btrfs_trans_handle *trans,
3116 int btrfs_mark_extent_written(struct btrfs_trans_handle *trans,
3128 int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
3325 void __btrfs_abort_transaction(struct btrfs_trans_handle *trans,
3333 #define btrfs_abort_transaction(trans, errno) \
3337 &((trans)->fs_info->fs_state))) { \
3343 btrfs_debug((trans)->fs_info, \
3348 __btrfs_abort_transaction((trans), __func__, \
3503 int btrfs_init_acl(struct btrfs_trans_handle *trans,
3508 static inline int btrfs_init_acl(struct btrfs_trans_handle *trans,
3517 int btrfs_init_reloc_root(struct btrfs_trans_handle *trans,
3519 int btrfs_update_reloc_root(struct btrfs_trans_handle *trans,
3523 int btrfs_reloc_cow_block(struct btrfs_trans_handle *trans,
3528 int btrfs_reloc_post_snapshot(struct btrfs_trans_handle *trans,