Home
last modified time | relevance | path

Searched hist:"32 fce09268ddd97efb4412529ba57293554c5985" (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/random/
H A Dfortuna.hdiff 32fce09268ddd97efb4412529ba57293554c5985 Wed Sep 18 07:12:04 CEST 2024 Colin Percival <cperciva@FreeBSD.org> random: Avoid magic numbers

Move RANDOM_FORTUNA_{NPOOLS,DEFPOOLSIZE} from fortuna.c to fortuna.h
and use RANDOM_FORTUNA_DEFPOOLSIZE in random_harvestq.c rather than
having a magic (albeit explained in a comment) number. The NPOOLS
value will be used in a later commit.

Reviewed by: cem
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D46693
H A Dfortuna.cdiff 32fce09268ddd97efb4412529ba57293554c5985 Wed Sep 18 07:12:04 CEST 2024 Colin Percival <cperciva@FreeBSD.org> random: Avoid magic numbers

Move RANDOM_FORTUNA_{NPOOLS,DEFPOOLSIZE} from fortuna.c to fortuna.h
and use RANDOM_FORTUNA_DEFPOOLSIZE in random_harvestq.c rather than
having a magic (albeit explained in a comment) number. The NPOOLS
value will be used in a later commit.

Reviewed by: cem
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D46693
H A Drandom_harvestq.cdiff 32fce09268ddd97efb4412529ba57293554c5985 Wed Sep 18 07:12:04 CEST 2024 Colin Percival <cperciva@FreeBSD.org> random: Avoid magic numbers

Move RANDOM_FORTUNA_{NPOOLS,DEFPOOLSIZE} from fortuna.c to fortuna.h
and use RANDOM_FORTUNA_DEFPOOLSIZE in random_harvestq.c rather than
having a magic (albeit explained in a comment) number. The NPOOLS
value will be used in a later commit.

Reviewed by: cem
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D46693