Lines Matching defs:trans
125 int btrfs_insert_file_extent(struct btrfs_trans_handle *trans,
146 ret = btrfs_insert_empty_item(trans, root, path, &file_key,
159 btrfs_set_file_extent_generation(leaf, item, trans->transid);
172 btrfs_lookup_csum(struct btrfs_trans_handle *trans,
190 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow);
225 int btrfs_lookup_file_extent(struct btrfs_trans_handle *trans,
238 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow);
697 int btrfs_del_csums(struct btrfs_trans_handle *trans,
700 struct btrfs_fs_info *fs_info = trans->fs_info;
723 ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
779 ret = btrfs_del_items(trans, root, path,
823 ret = btrfs_split_item(trans, root, path, &key, offset);
825 btrfs_abort_transaction(trans, ret);
842 int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans,
875 item = btrfs_lookup_csum(trans, root, path, bytenr, 1);
942 ret = btrfs_search_slot(trans, root, &file_key, path,
1008 ret = btrfs_insert_empty_item(trans, root, path, &file_key,