Home
last modified time | relevance | path

Searched refs:dts_rstate (Results 1 – 2 of 2) sorted by relevance

/xnu-11417.101.15/bsd/sys/
H A Ddtrace_impl.h1240 uint64_t **dts_rstate; /* per-CPU random state */ member
/xnu-11417.101.15/bsd/dev/dtrace/
H A Ddtrace.c4204 state->dts_rstate[CPU->cpu_id]); in dtrace_dif_subr()
14190 state->dts_rstate = kmem_zalloc(NCPU * sizeof(uint64_t*), KM_SLEEP); in dtrace_state_create()
14191 state->dts_rstate[0] = kmem_zalloc(2 * sizeof(uint64_t), KM_SLEEP); in dtrace_state_create()
14192 (void) read_random(state->dts_rstate[0], 2 * sizeof(uint64_t)); in dtrace_state_create()
14194 state->dts_rstate[cpu_it] = kmem_zalloc(2 * sizeof(uint64_t), KM_SLEEP); in dtrace_state_create()
14199 dtrace_xoroshiro128_plus_jump(state->dts_rstate[cpu_it-1], in dtrace_state_create()
14200 state->dts_rstate[cpu_it]); in dtrace_state_create()
14972 kmem_free(state->dts_rstate[i], 2 * sizeof(uint64_t)); in dtrace_state_destroy()
14974 kmem_free(state->dts_rstate, NCPU * sizeof(uint64_t*)); in dtrace_state_destroy()