Searched refs:test_err (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/tests/ |
D | free-space-tests.c | 29 test_err("error adding initial extents %d", ret); in test_extents() 35 test_err("error removing extent %d", ret); in test_extents() 40 test_err("full remove left some lingering space"); in test_extents() 47 test_err("error adding half extent %d", ret); in test_extents() 53 test_err("error removing tail end %d", ret); in test_extents() 59 test_err("error removing front end %d", ret); in test_extents() 65 test_err("error removing middle piece %d", ret); in test_extents() 70 test_err("still have space at the front"); in test_extents() 75 test_err("still have space in the middle"); in test_extents() 80 test_err("still have space at the end"); in test_extents() [all …]
|
D | inode-tests.c | 262 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 266 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 281 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 285 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 289 test_err( in test_btrfs_get_extent() 295 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent() 303 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 307 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent() 312 test_err( in test_btrfs_get_extent() 318 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent() [all …]
|
D | extent-io-tests.c | 96 test_err("failed to allocate test page"); in test_find_delalloc() 119 test_err("should have found at least one delalloc"); in test_find_delalloc() 123 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc() 141 test_err("couldn't find the locked page"); in test_find_delalloc() 150 test_err("couldn't find delalloc in our range"); in test_find_delalloc() 154 test_err("expected start %llu end %llu, got start %llu, end %llu", in test_find_delalloc() 160 test_err("there were unlocked pages in the range"); in test_find_delalloc() 176 test_err("couldn't find the locked page"); in test_find_delalloc() 184 test_err("found range when we shouldn't have"); in test_find_delalloc() 188 test_err("did not return the proper end offset"); in test_find_delalloc() [all …]
|
D | qgroup-tests.c | 41 test_err("couldn't insert ref %d", ret); in insert_normal_tree_ref() 90 test_err("couldn't find extent ref"); in add_tree_ref() 112 test_err("failed to insert backref"); in add_tree_ref() 139 test_err("didn't find our key %d", ret); in remove_extent_item() 172 test_err("couldn't find extent ref"); in remove_extent_ref() 194 test_err("couldn't find backref %d", ret); in remove_extent_ref() 217 test_err("couldn't create a qgroup %d", ret); in test_no_shared_qgroup() 228 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup() 242 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup() 249 test_err("couldn't account space for a qgroup %d", ret); in test_no_shared_qgroup() [all …]
|
D | extent-buffer-tests.c | 77 test_err("split item failed %d", ret); in test_btrfs_split_item() 88 test_err("invalid key at slot 0"); in test_btrfs_split_item() 95 test_err("invalid len in the first split"); in test_btrfs_split_item() 103 test_err( in test_btrfs_split_item() 113 test_err("invalid key at slot 1"); in test_btrfs_split_item() 120 test_err("invalid len in the second split"); in test_btrfs_split_item() 128 test_err( in test_btrfs_split_item() 138 test_err("second split item failed %d", ret); in test_btrfs_split_item() 145 test_err("invalid key at slot 0"); in test_btrfs_split_item() 152 test_err("invalid len in the first split"); in test_btrfs_split_item() [all …]
|
D | free-space-tree-tests.c | 36 test_err("could not find free space info"); in __check_free_space_extents() 44 test_err("extent count is wrong"); in __check_free_space_extents() 101 test_err("free space tree is invalid"); in __check_free_space_extents() 119 test_err("could not find free space info"); in check_free_space_extents() 135 test_err("could not convert to extents"); in check_free_space_extents() 141 test_err("could not convert to bitmaps"); in check_free_space_extents() 176 test_err("could not remove free space"); in test_remove_all() 198 test_err("could not remove free space"); in test_remove_beginning() 222 test_err("could not remove free space"); in test_remove_end() 246 test_err("could not remove free space"); in test_remove_middle() [all …]
|
D | extent-map-tests.c | 25 test_err( in free_extent_map_tree() 76 test_err("cannot add extent range [0, 16K)"); in test_case_1() 97 test_err("cannot add extent range [16K, 20K)"); in test_case_1() 118 test_err("case1 [%llu %llu]: ret %d", start, start + len, ret); in test_case_1() 124 test_err( in test_case_1() 164 test_err("cannot add extent range [0, 1K)"); in test_case_2() 185 test_err("cannot add extent range [4K, 8K)"); in test_case_2() 206 test_err("case2 [0 1K]: ret %d", ret); in test_case_2() 212 test_err( in test_case_2() 247 test_err("cannot add extent range [4K, 8K)"); in __test_case_3() [all …]
|
D | btrfs-tests.h | 13 #define test_err(fmt, ...) pr_err("BTRFS: selftest: %s:%d " fmt "\n", \ macro 16 #define test_std_err(index) test_err("%s", test_error[index])
|