Lines Matching refs: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()
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()
115 end = start + PAGE_SIZE - 1; 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()
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()
146 end = start + PAGE_SIZE - 1; 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()
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()
180 end = start + PAGE_SIZE - 1; 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()
201 end = start + PAGE_SIZE - 1; 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()
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()
236 end = start + PAGE_SIZE - 1; 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()
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()
436 u64 start, end; in test_find_first_clear_extent_bit() local
444 find_first_clear_extent_bit(&tree, 0, &start, &end, CHUNK_TRIMMED); in test_find_first_clear_extent_bit()
445 if (start != 0 || end != -1) { in test_find_first_clear_extent_bit()
448 start, end); in test_find_first_clear_extent_bit()
458 find_first_clear_extent_bit(&tree, SZ_512K, &start, &end, in test_find_first_clear_extent_bit()
461 if (start != 0 || end != SZ_1M - 1) { in test_find_first_clear_extent_bit()
463 start, end); in test_find_first_clear_extent_bit()
474 find_first_clear_extent_bit(&tree, 12 * SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
477 if (start != SZ_4M || end != SZ_32M - 1) { in test_find_first_clear_extent_bit()
479 start, end); in test_find_first_clear_extent_bit()
487 find_first_clear_extent_bit(&tree, SZ_2M, &start, &end, in test_find_first_clear_extent_bit()
490 if (start != SZ_4M || end != SZ_32M - 1) { in test_find_first_clear_extent_bit()
492 start, end); in test_find_first_clear_extent_bit()
501 find_first_clear_extent_bit(&tree, SZ_64M + SZ_1M, &start, &end, in test_find_first_clear_extent_bit()
504 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) { in test_find_first_clear_extent_bit()
506 start, end); in test_find_first_clear_extent_bit()
510 find_first_clear_extent_bit(&tree, SZ_64M - SZ_8M, &start, &end, in test_find_first_clear_extent_bit()
517 if (start != SZ_64M || end != SZ_64M + SZ_8M - 1) { in test_find_first_clear_extent_bit()
519 start, end); in test_find_first_clear_extent_bit()
527 find_first_clear_extent_bit(&tree, -1, &start, &end, CHUNK_TRIMMED); in test_find_first_clear_extent_bit()
528 if (start != SZ_64M + SZ_8M || end != -1) { in test_find_first_clear_extent_bit()
531 start, end); in test_find_first_clear_extent_bit()