Home
last modified time | relevance | path

Searched refs:next_prime_number (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dprime_numbers.h8 unsigned long next_prime_number(unsigned long x);
36 for (prime = (from); prime <= (max); prime = next_prime_number(prime))
/linux/lib/math/
H A Dprime_numbers.c186 unsigned long next_prime_number(unsigned long x) in next_prime_number() function
206 EXPORT_SYMBOL(next_prime_number);
282 if (next_prime_number(last) != x) { in selftest()
284 last, x, next_prime_number(last)); in selftest()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_mman.c337 (1 + next_prime_number(to_gt(i915)->ggtt->vm.total >> PAGE_SHIFT)) << PAGE_SHIFT); in igt_partial_tiling()
474 (1 + next_prime_number(to_gt(i915)->ggtt->vm.total >> PAGE_SHIFT)) << PAGE_SHIFT); in igt_smoke_tiling()
/linux/tools/memory-model/Documentation/
H A Drecipes.txt282 rcu_assign_pointer(), and the next_prime_number() function invokes