Lines Matching full:last
11 unsigned long last, sz; member
17 .last = 61,
42 .last = 31,
133 if (x < p->last) { in expand_to_next_prime()
145 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
148 BUG_ON(new->last <= x); in expand_to_next_prime()
192 while (x >= p->last) { in next_prime_number()
201 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
254 pr_info("primes.{last=%lu, .sz=%lu, .primes[]=...x%lx} = %s\n", in dump_primes()
255 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
264 unsigned long x, last; in selftest() local
269 for (last = 0, x = 2; x < max; x++) { in selftest()
282 if (next_prime_number(last) != x) { in selftest()
284 last, x, next_prime_number(last)); in selftest()
287 last = x; in selftest()
290 pr_info("%s(%lu) passed, last prime was %lu\n", __func__, x, last); in selftest()