Lines Matching refs:last
13 unsigned long last, sz; member
19 .last = 61,
44 .last = 31,
135 if (x < p->last) { in expand_to_next_prime()
147 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
150 BUG_ON(new->last <= x); in expand_to_next_prime()
194 while (x >= p->last) { in next_prime_number()
203 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
257 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
266 unsigned long x, last; in selftest() local
271 for (last = 0, x = 2; x < max; x++) { in selftest()
284 if (next_prime_number(last) != x) { in selftest()
286 last, x, next_prime_number(last)); in selftest()
289 last = x; in selftest()
292 pr_info("%s(%lu) passed, last prime was %lu\n", __func__, x, last); in selftest()