Lines Matching full:start
19 static noinline int process_page_range(struct inode *inode, u64 start, u64 end, in process_page_range() argument
24 unsigned long index = start >> PAGE_SHIFT; in process_page_range()
51 "stuck in a loop, start %llu, end %llu, nr_pages %lu, ret %d\n", in process_page_range()
52 start, end, nr_pages, ret); in process_page_range()
69 u64 start, end, test_start; in test_find_delalloc() local
114 start = 0; in test_find_delalloc()
116 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
122 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc()
123 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc()
124 sectorsize - 1, start, end); in test_find_delalloc()
127 unlock_extent(tmp, start, end); in test_find_delalloc()
145 start = test_start; in test_find_delalloc()
147 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
153 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc()
154 test_err("expected start %llu end %llu, got start %llu, end %llu", in test_find_delalloc()
155 test_start, max_bytes - 1, start, end); in test_find_delalloc()
158 if (process_page_range(inode, start, end, in test_find_delalloc()
163 unlock_extent(tmp, start, end); in test_find_delalloc()
179 start = test_start; in test_find_delalloc()
181 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
200 start = test_start; in test_find_delalloc()
202 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
208 if (start != test_start || end != total_dirty - 1) { in test_find_delalloc()
209 test_err("expected start %llu end %llu, got start %llu end %llu", in test_find_delalloc()
210 test_start, total_dirty - 1, start, end); in test_find_delalloc()
213 if (process_page_range(inode, start, end, in test_find_delalloc()
218 unlock_extent(tmp, start, end); in test_find_delalloc()
235 start = test_start; in test_find_delalloc()
243 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
249 if (start != test_start && end != test_start + PAGE_SIZE - 1) { in test_find_delalloc()
250 test_err("expected start %llu end %llu, got start %llu end %llu", in test_find_delalloc()
251 test_start, test_start + PAGE_SIZE - 1, start, end); in test_find_delalloc()
254 if (process_page_range(inode, start, end, PROCESS_TEST_LOCKED | in test_find_delalloc()
440 u64 start, end; in test_find_first_clear_extent_bit() local
448 find_first_clear_extent_bit(&tree, 0, &start, &end, CHUNK_TRIMMED); in test_find_first_clear_extent_bit()
449 if (start != 0 || end != -1) { in test_find_first_clear_extent_bit()
451 "error getting a range from completely empty tree: start %llu end %llu", in test_find_first_clear_extent_bit()
452 start, end); in test_find_first_clear_extent_bit()
462 find_first_clear_extent_bit(&tree, SZ_512K, &start, &end, in test_find_first_clear_extent_bit()
465 if (start != 0 || end != SZ_1M - 1) { in test_find_first_clear_extent_bit()
466 test_err("error finding beginning range: start %llu end %llu", in test_find_first_clear_extent_bit()
467 start, end); in test_find_first_clear_extent_bit()
478 find_first_clear_extent_bit(&tree, 12 * SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
481 if (start != SZ_4M || end != SZ_32M - 1) { in test_find_first_clear_extent_bit()
482 test_err("error finding trimmed range: start %llu end %llu", in test_find_first_clear_extent_bit()
483 start, end); in test_find_first_clear_extent_bit()
491 find_first_clear_extent_bit(&tree, SZ_2M, &start, &end, in test_find_first_clear_extent_bit()
494 if (start != SZ_4M || end != SZ_32M - 1) { in test_find_first_clear_extent_bit()
495 test_err("error finding next unalloc range: start %llu end %llu", in test_find_first_clear_extent_bit()
496 start, end); in test_find_first_clear_extent_bit()
505 find_first_clear_extent_bit(&tree, SZ_64M + SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
508 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) { in test_find_first_clear_extent_bit()
509 test_err("error finding exact range: start %llu end %llu", in test_find_first_clear_extent_bit()
510 start, end); in test_find_first_clear_extent_bit()
514 find_first_clear_extent_bit(&tree, SZ_64M - SZ_8M, &start, &end, in test_find_first_clear_extent_bit()
521 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) { in test_find_first_clear_extent_bit()
522 test_err("error finding next alloc range: start %llu end %llu", in test_find_first_clear_extent_bit()
523 start, end); in test_find_first_clear_extent_bit()
531 find_first_clear_extent_bit(&tree, -1, &start, &end, CHUNK_TRIMMED); in test_find_first_clear_extent_bit()
532 if (start != SZ_64M + SZ_8M || end != -1) { in test_find_first_clear_extent_bit()
534 "error handling beyond end of range search: start %llu end %llu", in test_find_first_clear_extent_bit()
535 start, end); in test_find_first_clear_extent_bit()