Lines Matching refs:last
12 unsigned long last, sz; member
18 .last = 61,
43 .last = 31,
134 if (x < p->last) { in expand_to_next_prime()
146 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
149 BUG_ON(new->last <= x); in expand_to_next_prime()
193 while (x >= p->last) { in next_prime_number()
202 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
256 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
265 unsigned long x, last; in selftest() local
270 for (last = 0, x = 2; x < max; x++) { in selftest()
283 if (next_prime_number(last) != x) { in selftest()
285 last, x, next_prime_number(last)); in selftest()
288 last = x; in selftest()
291 pr_info("selftest(%lu) passed, last prime was %lu", x, last); in selftest()