Searched refs:rng (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_setup.c | 144 rng_entry_t *rng = &n2rng->n_ctl_data->n_rngs[rngid]; in n2rng_logic_test() local 168 &rng->n_preferred_config, rng->n_rng_state); in n2rng_logic_test() 262 rng_entry_t *rng = &n2rng->n_ctl_data->n_rngs[rngid]; in collect_rng_perf() local 275 &rng->n_preferred_config, rng->n_rng_state, in collect_rng_perf() 319 rng_entry_t *rng = &n2rng->n_ctl_data->n_rngs[rngid]; in n2rng_noise_gen_preferred() local 321 rv = collect_rng_perf(n2rng, rngid, rng->n_perftable); in n2rng_noise_gen_preferred() 345 candidates[0] = &rng->n_perftable[0][b0]; in n2rng_noise_gen_preferred() 348 candidates[1] = &rng->n_perftable[1][b1]; in n2rng_noise_gen_preferred() 353 candidates[2] = &rng->n_perftable[2][b2]; in n2rng_noise_gen_preferred() 397 rng->n_preferred_config.ctlwds[osc] = rng_ctl; in n2rng_noise_gen_preferred() [all …]
|
H A D | n2rng.c | 999 rng_entry_t *rng; in n2rng_init_ctl() local 1094 rng = &n2rng->n_ctl_data->n_rngs[rngid]; in n2rng_init_ctl() 1096 rng->n_preferred_config.ctlwds[0].word = 0; in n2rng_init_ctl() 1097 rng->n_preferred_config.ctlwds[0].fields.rnc_anlg_sel = in n2rng_init_ctl() 1099 rng->n_preferred_config.ctlwds[0].fields.rnc_cnt = in n2rng_init_ctl() 1101 rng->n_preferred_config.ctlwds[0].fields.rnc_mode = in n2rng_init_ctl() 1103 rng->n_preferred_config.ctlwds[1].word = in n2rng_init_ctl() 1104 rng->n_preferred_config.ctlwds[0].word; in n2rng_init_ctl() 1105 rng->n_preferred_config.ctlwds[2].word = in n2rng_init_ctl() 1106 rng->n_preferred_config.ctlwds[0].word; in n2rng_init_ctl() [all …]
|
H A D | n2rng_kstat.c | 159 rng_entry_t *rng; in n2rng_ksupdate() local 163 rng = &n2rng->n_ctl_data->n_rngs[i]; in n2rng_ksupdate() 165 switch (rng->n_rng_state) { in n2rng_ksupdate() 194 rng->n_bias_info[j].bias; in n2rng_ksupdate() 196 rng->n_bias_info[j].entropy; in n2rng_ksupdate()
|
H A D | n2rng_kcf.c | 251 rng_entry_t *rng; in n2rng_failure() local 267 rng = &n2rng->n_ctl_data->n_rngs[rngid]; in n2rng_failure() 268 rng->n_rng_state = CTL_STATE_ERROR; in n2rng_failure() 288 rng_entry_t *rng; in n2rng_unconfigured() local 304 rng = &n2rng->n_ctl_data->n_rngs[rngid]; in n2rng_unconfigured() 305 rng->n_rng_state = CTL_STATE_UNCONFIGURED; in n2rng_unconfigured()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathtemp.c | 92 uint32_t rng; member 152 …tmp.key = (tmp.seed = (tmp.rng = dir ? (uint32_t)strtoul(dir, NiL, 0) : (uint32_t)1) != 0)? (uint3… in pathtemp() 291 if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid())) in pathtemp() 300 …tmp.rng = (uint32_t)tmp.pid * ((uint32_t)time(NiL) ^ (((uint32_t)integralof(&attempt)) >> 3) ^ (((… in pathtemp() 302 tmp.key = (tmp.rng >> 16) | ((tmp.rng & 0xffff) << 16); in pathtemp() 303 tmp.rng ^= tmp.key; in pathtemp() 309 if ((r = (tmp.rng - 1) & 03)) in pathtemp() 310 tmp.rng += 4 - r; in pathtemp() 317 key = tmp.rng * tmp.key + tv.tv_nsec; in pathtemp() 320 tmp.key = tmp.rng * key + tv.tv_nsec; in pathtemp()
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | prt_xxx.c | 186 struct rangespec *rng; in obio_print() local 217 rng = (struct rangespec *)(data + *(di_off_t *)(&dp->par_rng)); in obio_print() 219 obio_printranges(rng + i, ilev); in obio_print() 295 struct rangespec *rng; in sbus_print() local 327 rng = (struct rangespec *)(data + *(di_off_t *)(&dp->par_rng)); in sbus_print() 329 obio_printranges(rng + i, ilev); in sbus_print()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | emul64.c | 1563 emul64_overlap(emul64_range_t *rng, diskaddr_t sb, size_t cnt) in emul64_overlap() argument 1566 if (rng->emul64_sb >= sb + cnt) in emul64_overlap() 1568 if (rng->emul64_sb + rng->emul64_blkcnt <= sb) in emul64_overlap() 1570 if ((rng->emul64_sb == sb) && (rng->emul64_blkcnt == cnt)) in emul64_overlap() 1572 if ((sb >= rng->emul64_sb) && in emul64_overlap() 1573 ((sb + cnt) <= (rng->emul64_sb + rng->emul64_blkcnt))) { in emul64_overlap()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/ |
H A D | Makefile.com | 101 RNGDIR= $(SRC)/common/crypto/rng
|
/illumos-gate/usr/src/uts/common/ |
H A D | Makefile.rules | 84 $(OBJS_DIR)/%.o: $(COMMONBASE)/crypto/rng/%.c
|