Lines Matching defs:trans
19 struct btrfs_trans_handle trans;
29 btrfs_init_dummy_trans(&trans, NULL);
41 ret = btrfs_insert_empty_item(&trans, root, path, &ins, size);
71 struct btrfs_trans_handle trans;
78 btrfs_init_dummy_trans(&trans, NULL);
90 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1);
112 ret = btrfs_insert_empty_item(&trans, root, path, &key, 0);
122 struct btrfs_trans_handle trans;
127 btrfs_init_dummy_trans(&trans, NULL);
139 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1);
145 btrfs_del_item(&trans, root, path);
153 struct btrfs_trans_handle trans;
160 btrfs_init_dummy_trans(&trans, NULL);
172 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1);
194 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1);
200 btrfs_del_item(&trans, root, path);
209 struct btrfs_trans_handle trans;
215 btrfs_init_dummy_trans(&trans, fs_info);
218 ret = btrfs_create_qgroup(&trans, BTRFS_FS_TREE_OBJECTID);
225 ctx.trans = &trans;
229 * Since the test trans doesn't have the complicated delayed refs,
257 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
297 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
321 struct btrfs_trans_handle trans;
327 btrfs_init_dummy_trans(&trans, fs_info);
335 ret = btrfs_create_qgroup(&trans, BTRFS_FIRST_FREE_OBJECTID);
342 ctx.trans = &trans;
369 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
406 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
449 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,