Lines Matching refs:start

20 static noinline int process_page_range(struct inode *inode, u64 start, u64 end,
25 unsigned long index = start >> PAGE_SHIFT;
52 "stuck in a loop, start %llu, end %llu, ret %d\n",
53 start, end, ret);
102 test_msg(" start=%llu len=%llu flags=%s", state->start,
103 state->end + 1 - state->start, flags_str);
118 u64 start, end, test_start;
163 start = 0;
164 end = start + PAGE_SIZE - 1;
165 found = find_lock_delalloc_range(inode, locked_page, &start,
171 if (start != 0 || end != (sectorsize - 1)) {
172 test_err("expected start 0 end %u, got start %llu end %llu",
173 sectorsize - 1, start, end);
176 unlock_extent(tmp, start, end, NULL);
194 start = test_start;
195 end = start + PAGE_SIZE - 1;
196 found = find_lock_delalloc_range(inode, locked_page, &start,
202 if (start != test_start || end != max_bytes - 1) {
203 test_err("expected start %llu end %llu, got start %llu, end %llu",
204 test_start, max_bytes - 1, start, end);
207 if (process_page_range(inode, start, end,
212 unlock_extent(tmp, start, end, NULL);
228 start = test_start;
229 end = start + PAGE_SIZE - 1;
230 found = find_lock_delalloc_range(inode, locked_page, &start,
249 start = test_start;
250 end = start + PAGE_SIZE - 1;
251 found = find_lock_delalloc_range(inode, locked_page, &start,
257 if (start != test_start || end != total_dirty - 1) {
258 test_err("expected start %llu end %llu, got start %llu end %llu",
259 test_start, total_dirty - 1, start, end);
262 if (process_page_range(inode, start, end,
267 unlock_extent(tmp, start, end, NULL);
284 start = test_start;
285 end = start + PAGE_SIZE - 1;
292 found = find_lock_delalloc_range(inode, locked_page, &start,
298 if (start != test_start && end != test_start + PAGE_SIZE - 1) {
299 test_err("expected start %llu end %llu, got start %llu end %llu",
300 test_start, test_start + PAGE_SIZE - 1, start, end);
303 if (process_page_range(inode, start, end, PROCESS_TEST_LOCKED |
339 "bits do not match, start byte 0 bit %lu, byte %lu has 0x%02x expect 0x%02x",
354 "bits do not match, start byte %lu bit %lu, byte %lu has 0x%02x expect 0x%02x",
543 u64 start, end;
551 find_first_clear_extent_bit(&tree, 0, &start, &end, CHUNK_TRIMMED);
552 if (start != 0 || end != -1) {
554 "error getting a range from completely empty tree: start %llu end %llu",
555 start, end);
565 find_first_clear_extent_bit(&tree, SZ_512K, &start, &end,
568 if (start != 0 || end != SZ_1M - 1) {
569 test_err("error finding beginning range: start %llu end %llu",
570 start, end);
581 find_first_clear_extent_bit(&tree, 12 * SZ_1M, &start, &end,
584 if (start != SZ_4M || end != SZ_32M - 1) {
585 test_err("error finding trimmed range: start %llu end %llu",
586 start, end);
594 find_first_clear_extent_bit(&tree, SZ_2M, &start, &end,
597 if (start != SZ_4M || end != SZ_32M - 1) {
598 test_err("error finding next unalloc range: start %llu end %llu",
599 start, end);
608 find_first_clear_extent_bit(&tree, SZ_64M + SZ_1M, &start, &end,
611 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) {
612 test_err("error finding exact range: start %llu end %llu",
613 start, end);
617 find_first_clear_extent_bit(&tree, SZ_64M - SZ_8M, &start, &end,
624 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) {
625 test_err("error finding next alloc range: start %llu end %llu",
626 start, end);
634 find_first_clear_extent_bit(&tree, -1, &start, &end, CHUNK_TRIMMED);
635 if (start != SZ_64M + SZ_8M || end != -1) {
637 "error handling beyond end of range search: start %llu end %llu",
638 start, end);