Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/tests/
Dfree-space-tests.c28 test_err("error adding initial extents %d", ret); in test_extents()
34 test_err("error removing extent %d", ret); in test_extents()
39 test_err("full remove left some lingering space"); in test_extents()
46 test_err("error adding half extent %d", ret); in test_extents()
52 test_err("error removing tail end %d", ret); in test_extents()
58 test_err("error removing front end %d", ret); in test_extents()
64 test_err("error removing middle piece %d", ret); in test_extents()
69 test_err("still have space at the front"); in test_extents()
74 test_err("still have space in the middle"); in test_extents()
79 test_err("still have space at the end"); in test_extents()
[all …]
Dinode-tests.c231 test_err("couldn't allocate inode"); in test_btrfs_get_extent()
241 test_err("couldn't allocate dummy fs info"); in test_btrfs_get_extent()
247 test_err("couldn't allocate root"); in test_btrfs_get_extent()
253 test_err("couldn't allocate dummy buffer"); in test_btrfs_get_extent()
271 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
275 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
290 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent()
294 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
298 test_err( in test_btrfs_get_extent()
304 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent()
[all …]
Dqgroup-tests.c35 test_err("couldn't allocate path"); in insert_normal_tree_ref()
42 test_err("couldn't insert ref %d", ret); in insert_normal_tree_ref()
85 test_err("couldn't allocate path"); in add_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()
135 test_err("couldn't allocate path"); in remove_extent_item()
142 test_err("didn't find our key %d", ret); in remove_extent_item()
169 test_err("couldn't allocate path"); in remove_extent_ref()
176 test_err("couldn't find extent ref"); in remove_extent_ref()
198 test_err("couldn't find backref %d", ret); in remove_extent_ref()
[all …]
Dextent-buffer-tests.c33 test_err("could not allocate fs_info"); in test_btrfs_split_item()
39 test_err("could not allocate root"); in test_btrfs_split_item()
46 test_err("could not allocate path"); in test_btrfs_split_item()
53 test_err("could not allocate dummy buffer"); in test_btrfs_split_item()
78 test_err("split item failed %d", ret); in test_btrfs_split_item()
89 test_err("invalid key at slot 0"); in test_btrfs_split_item()
96 test_err("invalid len in the first split"); in test_btrfs_split_item()
104 test_err( in test_btrfs_split_item()
114 test_err("invalid key at slot 1"); in test_btrfs_split_item()
121 test_err("invalid len in the second split"); in test_btrfs_split_item()
[all …]
Dextent-io-tests.c75 test_err("failed to allocate test inode"); in test_find_delalloc()
89 test_err("failed to allocate test page"); in test_find_delalloc()
112 test_err("should have found at least one delalloc"); in test_find_delalloc()
116 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc()
134 test_err("couldn't find the locked page"); in test_find_delalloc()
143 test_err("couldn't find delalloc in our range"); in test_find_delalloc()
147 test_err("expected start %llu end %llu, got start %llu, end %llu", in test_find_delalloc()
153 test_err("there were unlocked pages in the range"); in test_find_delalloc()
169 test_err("couldn't find the locked page"); in test_find_delalloc()
177 test_err("found range when we shouldn't have"); in test_find_delalloc()
[all …]
Dfree-space-tree-tests.c35 test_err("could not find free space info"); in __check_free_space_extents()
43 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()
200 test_err("could not remove free space"); in test_remove_beginning()
225 test_err("could not remove free space"); in test_remove_end()
250 test_err("could not remove free space"); in test_remove_middle()
[all …]
Dextent-map-tests.c22 test_err( in free_extent_map_tree()
96 test_err("case1 [%llu %llu]: ret %d", start, start + len, ret); in test_case_1()
100 test_err( in test_case_1()
160 test_err("case2 [0 1K]: ret %d", ret); in test_case_2()
164 test_err( in test_case_2()
206 test_err("case3 [0x%llx 0x%llx): ret %d", in __test_case_3()
215 test_err( in __test_case_3()
293 test_err("case4 [0x%llx 0x%llx): ret %d", in __test_case_4()
297 test_err( in __test_case_4()
Dbtrfs-tests.h13 #define test_err(fmt, ...) pr_err("BTRFS: selftest: " fmt "\n", ##__VA_ARGS__) macro