/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A 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("stil in test_extents() [all...] |
H A D | inode-tests.c | 267 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 271 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 286 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 290 test_err("expected a hole, 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() 308 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 312 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent() 317 test_err( in test_btrfs_get_extent() 323 test_err("unexpecte in test_btrfs_get_extent() [all...] |
H A 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("di in test_find_delalloc() [all...] |
H A D | qgroup-tests.c | 42 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() 142 test_err("didn't find our key %d", ret); in remove_extent_item() 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() 221 test_err("couldn't create a qgroup %d", ret); in test_no_shared_qgroup() 233 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup() 248 test_err("couldn't find old roots: %d", ret); in test_no_shared_qgroup() 255 test_err("could in test_no_shared_qgroup() [all...] |
H A 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("invali in test_btrfs_split_item() [all...] |
H A 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("coul in test_remove_middle() [all...] |
H A 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("canno in __test_case_3() [all...] |
H A 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])
|
/kernel/linux/linux-6.6/fs/btrfs/tests/ |
H A 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("stil in test_extents() [all...] |
H A D | inode-tests.c | 264 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 268 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 283 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 287 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent() 302 test_err( in test_btrfs_get_extent() 308 test_err("unexpected flags set, want 0 have %lu", em->flags); in test_btrfs_get_extent() 321 test_err("got an error when we shouldn't have"); in test_btrfs_get_extent() 325 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 329 test_err( in test_btrfs_get_extent() 335 test_err("unexpecte in test_btrfs_get_extent() [all...] |
H A D | extent-buffer-tests.c | 81 test_err("split item failed %d", ret); in test_btrfs_split_item() 92 test_err("invalid key at slot 0"); in test_btrfs_split_item() 98 test_err("invalid len in the first split"); in test_btrfs_split_item() 106 test_err( in test_btrfs_split_item() 116 test_err("invalid key at slot 1"); in test_btrfs_split_item() 122 test_err("invalid len in the second split"); in test_btrfs_split_item() 130 test_err( in test_btrfs_split_item() 140 test_err("second split item failed %d", ret); in test_btrfs_split_item() 147 test_err("invalid key at slot 0"); in test_btrfs_split_item() 153 test_err("invali in test_btrfs_split_item() [all...] |
H A D | qgroup-tests.c | 43 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("could in test_no_shared_qgroup() [all...] |
H A D | free-space-tree-tests.c | 37 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("coul in test_remove_middle() [all...] |
H A D | extent-map-tests.c | 27 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("canno in __test_case_3() [all...] |
H A D | extent-io-tests.c | 145 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("di in test_find_delalloc() [all...] |
H A 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])
|