cprng_fast.c | 38 #include <sys/cprng.h> 87 struct cprng_fast *const cprng = p; 90 cprng->epoch = entropy_epoch(); 92 cprng_fast_seed(cprng, seed); 95 cprng->reseed_evcnt = kmem_alloc(sizeof(*cprng->reseed_evcnt), 97 evcnt_attach_dynamic(cprng->reseed_evcnt, EVCNT_TYPE_MISC, NULL, 105 struct cprng_fast *cprng; 108 *cprngp = cprng = percpu_getref(cprng_fast_percpu); 111 if (__predict_false(cprng->epoch != entropy_epoch()) 86 struct cprng_fast *const cprng = p; local in function:cprng_fast_init_cpu 103 struct cprng_fast *cprng; local in function:cprng_fast_get 136 struct cprng_fast *cprng; local in function:cprng_fast_intr 194 struct cprng_fast *cprng; local in function:cprng_fast_buf_short [all...] |