Lines Matching defs:trans

17 	struct btrfs_trans_handle trans;
27 btrfs_init_dummy_trans(&trans, NULL);
40 ret = btrfs_insert_empty_item(&trans, root, path, &ins, size);
70 struct btrfs_trans_handle trans;
77 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);
140 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1);
146 btrfs_del_item(&trans, root, path);
154 struct btrfs_trans_handle trans;
161 btrfs_init_dummy_trans(&trans, NULL);
174 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1);
196 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1);
202 btrfs_del_item(&trans, root, path);
210 struct btrfs_trans_handle trans;
216 btrfs_init_dummy_trans(&trans, fs_info);
219 ret = btrfs_create_qgroup(&trans, BTRFS_FS_TREE_OBJECTID);
226 * Since the test trans doesn't have the complicated delayed refs,
230 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots,
244 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots,
252 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
269 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots,
282 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots,
290 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
313 struct btrfs_trans_handle trans;
319 btrfs_init_dummy_trans(&trans, fs_info);
327 ret = btrfs_create_qgroup(&trans, BTRFS_FIRST_FREE_OBJECTID);
333 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots,
347 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots,
355 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
368 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots,
382 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots,
390 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
409 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots,
423 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots,
431 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,