The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/prng.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * This file is in the public domain.
    3  *
    4  * $FreeBSD$
    5  */
    6 
    7 #ifndef _SYS_PRNG_H_
    8 #define _SYS_PRNG_H_
    9 
   10 #define PCG_USE_INLINE_ASM      1
   11 #include <contrib/pcg-c/include/pcg_variants.h>
   12 
   13 #ifdef  _KERNEL
   14 __uint32_t prng32(void);
   15 __uint32_t prng32_bounded(__uint32_t bound);
   16 __uint64_t prng64(void);
   17 __uint64_t prng64_bounded(__uint64_t bound);
   18 #endif
   19 
   20 #endif

Cache object: abb826fa196cac8a7043911913b9bd42


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.