Lines Matching refs:start
50 unsigned long start;
53 start = 0;
57 // printf("0x%08lx\n", start);
58 __gang_check(start, rand() % 113 + 1, rand() % 71,
60 old_start = start;
61 start += rand() % 1000000;
62 start %= 1ULL << 33;
63 if (start < old_start)
126 void check_copied_tags(struct radix_tree_root *tree, unsigned long start, unsigned long end, unsigned long *idx, int count, int fromtag, int totag)
133 if (idx[i] < start || idx[i] > end) {
135 printv(2, "%lu-%lu: %lu, tags %d-%d\n", start,
145 printv(2, "%lu-%lu: %lu, tags %d-%d\n", start, end,
160 unsigned long start, end, count = 0, tagged, cur, tmp;
164 start = rand();
166 if (start > end && (rand() % 10)) {
167 cur = start;
168 start = end;
171 /* Specifically create items around the start and the end of the range
175 item_insert(&tree, start);
177 if (start <= end)
179 item_tag_set(&tree, start, 0);
183 item_insert(&tree, start-1);
185 item_tag_set(&tree, start-1, 0);
190 if (start <= end)
209 if (idx[i] >= start && idx[i] <= end)
217 tagged = tag_tagged_items(&tree, start, end, ITEMS, XA_MARK_0, XA_MARK_1);
221 check_copied_tags(&tree, start, end, idx, ITEMS, 0, 1);
226 tagged = tag_tagged_items(&tree, start, end, tmp, XA_MARK_0, XA_MARK_2);
231 check_copied_tags(&tree, start, end, idx, ITEMS, 0, 2);