Lines Matching full:start

20 static noinline int process_page_range(struct inode *inode, u64 start, u64 end,  in process_page_range()  argument
25 unsigned long index = start >> PAGE_SHIFT; in process_page_range()
52 "stuck in a loop, start %llu, end %llu, ret %d\n", in process_page_range()
53 start, end, ret); in process_page_range()
102 test_msg(" start=%llu len=%llu flags=%s", state->start, in dump_extent_io_tree()
103 state->end + 1 - state->start, flags_str); in dump_extent_io_tree()
118 u64 start, end, test_start; in test_find_delalloc() local
163 start = 0; in test_find_delalloc()
164 end = start + PAGE_SIZE - 1; in test_find_delalloc()
165 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
171 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc()
172 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc()
173 sectorsize - 1, start, end); in test_find_delalloc()
176 unlock_extent(tmp, start, end, NULL); in test_find_delalloc()
194 start = test_start; in test_find_delalloc()
195 end = start + PAGE_SIZE - 1; in test_find_delalloc()
196 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
202 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc()
203 test_err("expected start %llu end %llu, got start %llu, end %llu", in test_find_delalloc()
204 test_start, max_bytes - 1, start, end); in test_find_delalloc()
207 if (process_page_range(inode, start, end, in test_find_delalloc()
212 unlock_extent(tmp, start, end, NULL); in test_find_delalloc()
228 start = test_start; in test_find_delalloc()
229 end = start + PAGE_SIZE - 1; in test_find_delalloc()
230 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
249 start = test_start; in test_find_delalloc()
250 end = start + PAGE_SIZE - 1; in test_find_delalloc()
251 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
257 if (start != test_start || end != total_dirty - 1) { in test_find_delalloc()
258 test_err("expected start %llu end %llu, got start %llu end %llu", in test_find_delalloc()
259 test_start, total_dirty - 1, start, end); in test_find_delalloc()
262 if (process_page_range(inode, start, end, in test_find_delalloc()
267 unlock_extent(tmp, start, end, NULL); in test_find_delalloc()
284 start = test_start; in test_find_delalloc()
285 end = start + PAGE_SIZE - 1; in test_find_delalloc()
292 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
298 if (start != test_start && end != test_start + PAGE_SIZE - 1) { in test_find_delalloc()
299 test_err("expected start %llu end %llu, got start %llu end %llu", in test_find_delalloc()
300 test_start, test_start + PAGE_SIZE - 1, start, end); in test_find_delalloc()
303 if (process_page_range(inode, start, end, PROCESS_TEST_LOCKED | in test_find_delalloc()
487 u64 start, end; in test_find_first_clear_extent_bit() local
495 find_first_clear_extent_bit(&tree, 0, &start, &end, CHUNK_TRIMMED); in test_find_first_clear_extent_bit()
496 if (start != 0 || end != -1) { in test_find_first_clear_extent_bit()
498 "error getting a range from completely empty tree: start %llu end %llu", in test_find_first_clear_extent_bit()
499 start, end); in test_find_first_clear_extent_bit()
509 find_first_clear_extent_bit(&tree, SZ_512K, &start, &end, in test_find_first_clear_extent_bit()
512 if (start != 0 || end != SZ_1M - 1) { in test_find_first_clear_extent_bit()
513 test_err("error finding beginning range: start %llu end %llu", in test_find_first_clear_extent_bit()
514 start, end); in test_find_first_clear_extent_bit()
525 find_first_clear_extent_bit(&tree, 12 * SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
528 if (start != SZ_4M || end != SZ_32M - 1) { in test_find_first_clear_extent_bit()
529 test_err("error finding trimmed range: start %llu end %llu", in test_find_first_clear_extent_bit()
530 start, end); in test_find_first_clear_extent_bit()
538 find_first_clear_extent_bit(&tree, SZ_2M, &start, &end, in test_find_first_clear_extent_bit()
541 if (start != SZ_4M || end != SZ_32M - 1) { in test_find_first_clear_extent_bit()
542 test_err("error finding next unalloc range: start %llu end %llu", in test_find_first_clear_extent_bit()
543 start, end); in test_find_first_clear_extent_bit()
552 find_first_clear_extent_bit(&tree, SZ_64M + SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
555 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) { in test_find_first_clear_extent_bit()
556 test_err("error finding exact range: start %llu end %llu", in test_find_first_clear_extent_bit()
557 start, end); in test_find_first_clear_extent_bit()
561 find_first_clear_extent_bit(&tree, SZ_64M - SZ_8M, &start, &end, in test_find_first_clear_extent_bit()
568 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) { in test_find_first_clear_extent_bit()
569 test_err("error finding next alloc range: start %llu end %llu", in test_find_first_clear_extent_bit()
570 start, end); in test_find_first_clear_extent_bit()
578 find_first_clear_extent_bit(&tree, -1, &start, &end, CHUNK_TRIMMED); in test_find_first_clear_extent_bit()
579 if (start != SZ_64M + SZ_8M || end != -1) { in test_find_first_clear_extent_bit()
581 "error handling beyond end of range search: start %llu end %llu", in test_find_first_clear_extent_bit()
582 start, end); in test_find_first_clear_extent_bit()