Lines Matching refs:nodesize

204 		u32 sectorsize, u32 nodesize)  in test_no_shared_qgroup()  argument
226 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, false); in test_no_shared_qgroup()
232 ret = insert_normal_tree_ref(root, nodesize, nodesize, 0, in test_no_shared_qgroup()
239 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots, false); in test_no_shared_qgroup()
246 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup()
258 nodesize, nodesize)) { in test_no_shared_qgroup()
263 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, false); in test_no_shared_qgroup()
269 ret = remove_extent_item(root, nodesize, nodesize); in test_no_shared_qgroup()
275 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots, false); in test_no_shared_qgroup()
282 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup()
303 u32 sectorsize, u32 nodesize) in test_multiple_refs() argument
325 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, false); in test_multiple_refs()
331 ret = insert_normal_tree_ref(root, nodesize, nodesize, 0, in test_multiple_refs()
338 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots, false); in test_multiple_refs()
345 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_multiple_refs()
353 nodesize, nodesize)) { in test_multiple_refs()
358 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, false); in test_multiple_refs()
364 ret = add_tree_ref(root, nodesize, nodesize, 0, in test_multiple_refs()
371 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots, false); in test_multiple_refs()
378 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_multiple_refs()
386 nodesize, 0)) { in test_multiple_refs()
392 nodesize, 0)) { in test_multiple_refs()
397 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, false); in test_multiple_refs()
403 ret = remove_extent_ref(root, nodesize, nodesize, 0, in test_multiple_refs()
410 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots, false); in test_multiple_refs()
417 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_multiple_refs()
431 nodesize, nodesize)) { in test_multiple_refs()
439 int btrfs_test_qgroups(u32 sectorsize, u32 nodesize) in btrfs_test_qgroups() argument
446 fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); in btrfs_test_qgroups()
477 root->node = alloc_test_extent_buffer(root->fs_info, nodesize); in btrfs_test_qgroups()
485 root->alloc_bytenr += 2 * nodesize; in btrfs_test_qgroups()
519 ret = test_no_shared_qgroup(root, sectorsize, nodesize); in btrfs_test_qgroups()
522 ret = test_multiple_refs(root, sectorsize, nodesize); in btrfs_test_qgroups()