• Home
  • Raw
  • Download

Lines Matching refs:trans

397 			 struct btrfs_trans_handle *trans)  in btrfs_save_ino_cache()  argument
428 rsv = trans->block_rsv; in btrfs_save_ino_cache()
429 trans->block_rsv = &fs_info->trans_block_rsv; in btrfs_save_ino_cache()
431 num_bytes = trans->bytes_reserved; in btrfs_save_ino_cache()
439 trans->bytes_reserved = btrfs_calc_insert_metadata_size(fs_info, 10); in btrfs_save_ino_cache()
440 ret = btrfs_block_rsv_add(root, trans->block_rsv, in btrfs_save_ino_cache()
441 trans->bytes_reserved, in btrfs_save_ino_cache()
445 trace_btrfs_space_reservation(fs_info, "ino_cache", trans->transid, in btrfs_save_ino_cache()
446 trans->bytes_reserved, 1); in btrfs_save_ino_cache()
458 ret = create_free_ino_inode(root, trans, path); in btrfs_save_ino_cache()
465 ret = btrfs_update_inode(trans, root, inode); in btrfs_save_ino_cache()
467 btrfs_abort_transaction(trans, ret); in btrfs_save_ino_cache()
472 ret = btrfs_truncate_free_space_cache(trans, NULL, inode); in btrfs_save_ino_cache()
475 btrfs_abort_transaction(trans, ret); in btrfs_save_ino_cache()
501 ret = btrfs_prealloc_file_range_trans(inode, trans, 0, 0, prealloc, in btrfs_save_ino_cache()
509 ret = btrfs_write_out_ino_cache(root, trans, path, inode); in btrfs_save_ino_cache()
514 trace_btrfs_space_reservation(fs_info, "ino_cache", trans->transid, in btrfs_save_ino_cache()
515 trans->bytes_reserved, 0); in btrfs_save_ino_cache()
516 btrfs_block_rsv_release(fs_info, trans->block_rsv, in btrfs_save_ino_cache()
517 trans->bytes_reserved); in btrfs_save_ino_cache()
519 trans->block_rsv = rsv; in btrfs_save_ino_cache()
520 trans->bytes_reserved = num_bytes; in btrfs_save_ino_cache()