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);
69 struct btrfs_trans_handle trans;
76 btrfs_init_dummy_trans(&trans, NULL);
88 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1);
109 ret = btrfs_insert_empty_item(&trans, root, path, &key, 0);
118 struct btrfs_trans_handle trans;
123 btrfs_init_dummy_trans(&trans, NULL);
135 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1);
140 btrfs_del_item(&trans, root, path);
147 struct btrfs_trans_handle trans;
154 btrfs_init_dummy_trans(&trans, NULL);
166 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1);
187 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1);
193 btrfs_del_item(&trans, root, path);
201 struct btrfs_trans_handle trans;
207 btrfs_init_dummy_trans(&trans, fs_info);
210 ret = btrfs_create_qgroup(&trans, BTRFS_FS_TREE_OBJECTID);
217 ctx.trans = &trans;
221 * Since the test trans doesn't have the complicated delayed refs,
249 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
289 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);
334 ctx.trans = &trans;
361 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
398 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,
441 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,