Lines Matching refs:transaction
48 &trans->transaction->delayed_refs; in delete_delayed_ref_head()
171 &trans->transaction->delayed_refs; in simple_test()
228 btrfs_destroy_delayed_refs(trans->transaction); in simple_test()
402 head = btrfs_select_ref_head(fs_info, &trans->transaction->delayed_refs); in merge_tests()
452 head = btrfs_select_ref_head(fs_info, &trans->transaction->delayed_refs); in merge_tests()
515 head = btrfs_select_ref_head(fs_info, &trans->transaction->delayed_refs); in merge_tests()
584 head = btrfs_select_ref_head(fs_info, &trans->transaction->delayed_refs); in merge_tests()
654 head = btrfs_select_ref_head(fs_info, &trans->transaction->delayed_refs); in merge_tests()
739 head = btrfs_select_ref_head(fs_info, &trans->transaction->delayed_refs); in merge_tests()
768 btrfs_unselect_ref_head(&trans->transaction->delayed_refs, head); in merge_tests()
769 btrfs_destroy_delayed_refs(trans->transaction); in merge_tests()
780 &trans->transaction->delayed_refs; in select_delayed_refs_test()
970 btrfs_destroy_delayed_refs(trans->transaction); in select_delayed_refs_test()
976 struct btrfs_transaction *transaction; in btrfs_test_delayed_refs() local
988 transaction = kmalloc(sizeof(*transaction), GFP_KERNEL); in btrfs_test_delayed_refs()
989 if (!transaction) { in btrfs_test_delayed_refs()
995 btrfs_init_dummy_transaction(transaction, fs_info); in btrfs_test_delayed_refs()
996 trans.transaction = transaction; in btrfs_test_delayed_refs()
1012 kfree(transaction); in btrfs_test_delayed_refs()