Home
last modified time | relevance | path

Searched refs:primes (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/lib/math/
H A Dprime_numbers.c14 .primes = {
39 .primes = {
58 static const struct primes __rcu *primes = RCU_INITIALIZER(&small_primes); variable
120 const struct primes *p; in expand_to_next_prime()
121 struct primes *new; in expand_to_next_prime()
153 bitmap_fill(new->primes, sz); in expand_to_next_prime()
154 bitmap_copy(new->primes, p->primes, p->sz); in expand_to_next_prime()
172 const struct primes *p; in free_primes()
199 const struct primes *p; in next_prime_number()
202 p = rcu_dereference(primes); in next_prime_number()
[all …]
H A Dprime_numbers_private.h5 struct primes { struct
8 unsigned long primes[]; argument
12 typedef void (*primes_fn)(void *, const struct primes *);
/linux-6.15/lib/math/tests/
H A Dprime_numbers_kunit.c9 static void dump_primes(void *ctx, const struct primes *p) in dump_primes()
14 bitmap_print_to_pagebuf(true, buf, p->primes, p->sz); in dump_primes()
16 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
/linux-6.15/lib/tests/
H A Dprintf_kunit.c550 const int primes[] = {2,3,5,7,11,13,17,19}; in bitmap() local
557 for (i = 0; i < ARRAY_SIZE(primes); ++i) in bitmap()
558 set_bit(primes[i], bits); in bitmap()
/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_mh.c50 static int primes[] = {251, 509, 1021, 2039, 4093, variable
59 #define IP_VS_MH_TAB_SIZE primes[IP_VS_MH_TAB_INDEX]
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgf100.c1916 static const u8 primes[] = { in gf100_gr_oneinit_tiles() local
1936 for (i = 0; i < ARRAY_SIZE(primes); i++) { in gf100_gr_oneinit_tiles()
1937 if (gr->tpc_total % primes[i]) { in gf100_gr_oneinit_tiles()
1938 gr->screen_tile_row_offset = primes[i]; in gf100_gr_oneinit_tiles()
/linux-6.15/Documentation/ABI/stable/
H A Dsysfs-class-tpm155 Num primes: 00 00 00 02 (2)
/linux-6.15/tools/memory-model/Documentation/
H A Drecipes.txt284 that is expanded as additional primes are needed.
/linux-6.15/Documentation/admin-guide/
H A Dbcache.rst329 disk array in the future, then multiply a series of primes by your