Home
last modified time | relevance | path

Searched refs:test_err (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/fs/btrfs/tests/
Dfree-space-tests.c29 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 …]
Dinode-tests.c256 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
260 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
275 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
279 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent()
294 test_err( in test_btrfs_get_extent()
300 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent()
313 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
317 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
321 test_err( in test_btrfs_get_extent()
327 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent()
[all …]
Dextent-buffer-tests.c77 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()
94 test_err("invalid len in the first split"); in test_btrfs_split_item()
102 test_err( in test_btrfs_split_item()
112 test_err("invalid key at slot 1"); in test_btrfs_split_item()
118 test_err("invalid len in the second split"); in test_btrfs_split_item()
126 test_err( in test_btrfs_split_item()
136 test_err("second split item failed %d", ret); in test_btrfs_split_item()
143 test_err("invalid key at slot 0"); in test_btrfs_split_item()
149 test_err("invalid len in the first split"); in test_btrfs_split_item()
[all …]
Dqgroup-tests.c43 test_err("couldn't insert ref %d", ret); in insert_normal_tree_ref()
92 test_err("couldn't find extent ref"); in add_tree_ref()
114 test_err("failed to insert backref"); in add_tree_ref()
141 test_err("didn't find our key %d", ret); in remove_extent_item()
174 test_err("couldn't find extent ref"); in remove_extent_ref()
196 test_err("couldn't find backref %d", ret); in remove_extent_ref()
220 test_err("couldn't create a qgroup %d", ret); in test_no_shared_qgroup()
235 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup()
251 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup()
260 test_err("couldn't account space for a qgroup %d", ret); in test_no_shared_qgroup()
[all …]
Dextent-map-tests.c27 test_err( in free_extent_map_tree()
79 test_err("cannot add extent range [0, 16K)"); in test_case_1()
100 test_err("cannot add extent range [16K, 20K)"); in test_case_1()
121 test_err("case1 [%llu %llu]: ret %d", start, start + len, ret); in test_case_1()
127 test_err( in test_case_1()
167 test_err("cannot add extent range [0, 1K)"); in test_case_2()
188 test_err("cannot add extent range [4K, 8K)"); in test_case_2()
209 test_err("case2 [0 1K]: ret %d", ret); in test_case_2()
215 test_err( in test_case_2()
250 test_err("cannot add extent range [4K, 8K)"); in __test_case_3()
[all …]
Dfree-space-tree-tests.c37 test_err("could not find free space info"); in __check_free_space_extents()
45 test_err("extent count is wrong"); in __check_free_space_extents()
102 test_err("free space tree is invalid"); in __check_free_space_extents()
120 test_err("could not find free space info"); in check_free_space_extents()
136 test_err("could not convert to extents"); in check_free_space_extents()
142 test_err("could not convert to bitmaps"); in check_free_space_extents()
177 test_err("could not remove free space"); in test_remove_all()
199 test_err("could not remove free space"); in test_remove_beginning()
223 test_err("could not remove free space"); in test_remove_end()
247 test_err("could not remove free space"); in test_remove_middle()
[all …]
Dextent-io-tests.c145 test_err("failed to allocate test page"); in test_find_delalloc()
168 test_err("should have found at least one delalloc"); in test_find_delalloc()
172 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc()
190 test_err("couldn't find the locked page"); in test_find_delalloc()
199 test_err("couldn't find delalloc in our range"); in test_find_delalloc()
203 test_err("expected start %llu end %llu, got start %llu, end %llu", in test_find_delalloc()
209 test_err("there were unlocked pages in the range"); in test_find_delalloc()
225 test_err("couldn't find the locked page"); in test_find_delalloc()
233 test_err("found range when we shouldn't have"); in test_find_delalloc()
237 test_err("did not return the proper end offset"); in test_find_delalloc()
[all …]
Dbtrfs-tests.h13 #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])