• Home
  • Raw
  • Download

Lines Matching refs:h

382 	struct btrfs_trans_handle *h;  in start_transaction()  local
397 h = current->journal_info; in start_transaction()
398 h->use_count++; in start_transaction()
399 WARN_ON(h->use_count > 2); in start_transaction()
400 h->orig_rsv = h->block_rsv; in start_transaction()
401 h->block_rsv = NULL; in start_transaction()
434 h = kmem_cache_alloc(btrfs_trans_handle_cachep, GFP_NOFS); in start_transaction()
435 if (!h) { in start_transaction()
473 h->transid = cur_trans->transid; in start_transaction()
474 h->transaction = cur_trans; in start_transaction()
475 h->bytes_reserved = 0; in start_transaction()
476 h->root = root; in start_transaction()
477 h->delayed_ref_updates = 0; in start_transaction()
478 h->use_count = 1; in start_transaction()
479 h->adding_csums = 0; in start_transaction()
480 h->block_rsv = NULL; in start_transaction()
481 h->orig_rsv = NULL; in start_transaction()
482 h->aborted = 0; in start_transaction()
483 h->qgroup_reserved = 0; in start_transaction()
484 h->delayed_ref_elem.seq = 0; in start_transaction()
485 h->type = type; in start_transaction()
486 h->allocating_chunk = false; in start_transaction()
487 h->reloc_reserved = false; in start_transaction()
488 h->sync = false; in start_transaction()
489 INIT_LIST_HEAD(&h->qgroup_ref_list); in start_transaction()
490 INIT_LIST_HEAD(&h->new_bgs); in start_transaction()
491 INIT_LIST_HEAD(&h->ordered); in start_transaction()
496 current->journal_info = h; in start_transaction()
497 btrfs_commit_transaction(h, root); in start_transaction()
503 h->transid, num_bytes, 1); in start_transaction()
504 h->block_rsv = &root->fs_info->trans_block_rsv; in start_transaction()
505 h->bytes_reserved = num_bytes; in start_transaction()
506 h->reloc_reserved = reloc_reserved; in start_transaction()
508 h->qgroup_reserved = qgroup_reserved; in start_transaction()
511 btrfs_record_root_in_trans(h, root); in start_transaction()
514 current->journal_info = h; in start_transaction()
515 return h; in start_transaction()
520 kmem_cache_free(btrfs_trans_handle_cachep, h); in start_transaction()