| /netbsd/src/sys/uvm/pmap/ |
| D | pmap_tlb.c | 149 #define TLBINFO_ASID_MARK_UNUSED(ti, asid) \ argument 150 __BITMAP_CLR((asid), &(ti)->ti_asid_bitmap) 151 #define TLBINFO_ASID_MARK_USED(ti, asid) \ argument 152 __BITMAP_SET((asid), &(ti)->ti_asid_bitmap) 153 #define TLBINFO_ASID_INUSE_P(ti, asid) \ argument 154 __BITMAP_ISSET((asid), &(ti)->ti_asid_bitmap) 155 #define TLBINFO_ASID_RESET(ti) \ argument 157 __BITMAP_ZERO(&ti->ti_asid_bitmap); \ 159 TLBINFO_ASID_MARK_USED(ti, asid); \ 194 pmap_tlb_intersecting_active_p(pmap_t pm, struct pmap_tlb_info *ti) in pmap_tlb_intersecting_active_p() argument [all …]
|
| D | pmap_tlb.h | 101 #define TLBINFO_LOCK(ti) mutex_spin_enter((ti)->ti_lock) argument 102 #define TLBINFO_UNLOCK(ti) mutex_spin_exit((ti)->ti_lock) argument 103 #define TLBINFO_OWNED(ti) mutex_owned((ti)->ti_lock) argument 104 #define PMAP_PAI_ASIDVALID_P(pai, ti) (!tlbinfo_asids_p(ti) || (pai)->pai_asid != 0) argument 105 #define PMAP_PAI(pmap, ti) (&(pmap)->pm_pai[tlbinfo_index(ti)]) argument 106 #define PAI_PMAP(pai, ti) \ argument 108 - offsetof(struct pmap, pm_pai[tlbinfo_index(ti)]))) 121 #define tlbinfo_noasids_p(ti) ((ti)->ti_asids_free == 0) argument 134 #define tlbinfo_index(ti) ((ti)->ti_index) argument 136 #define tlbinfo_index(ti) ((void)(ti), 0) argument [all …]
|
| D | pmap_synci.c | 54 struct pmap_tlb_info * const ti = cpu_tlb_info(ci); in pmap_tlb_syncicache_ast() local 58 uint32_t page_bitmap = atomic_swap_32(&ti->ti_synci_page_bitmap, 0); in pmap_tlb_syncicache_ast() 62 ti->ti_evcnt_synci_asts.ev_count++; in pmap_tlb_syncicache_ast() 68 ti->ti_evcnt_synci_all.ev_count++; in pmap_tlb_syncicache_ast() 69 ti->ti_evcnt_synci_pages.ev_count += pmap_tlb_synci_page_mask+1; in pmap_tlb_syncicache_ast() 84 ti->ti_evcnt_synci_pages.ev_count++; in pmap_tlb_syncicache_ast() 118 struct pmap_tlb_info * const ti = pmap_tlbs[i]; in pmap_tlb_syncicache() local 119 TLBINFO_LOCK(ti); in pmap_tlb_syncicache() 121 uint32_t old_page_bitmap = ti->ti_synci_page_bitmap; in pmap_tlb_syncicache() 123 ti->ti_evcnt_synci_duplicate.ev_count++; in pmap_tlb_syncicache() [all …]
|
| /netbsd/src/usr.bin/audio/common/ |
| D | sun.c | 113 sun_prepare_header(struct track_info *ti, void **hdrp, size_t *lenp, int *leftp) in sun_prepare_header() argument 117 int sunenc, oencoding = ti->encoding; in sun_prepare_header() 120 switch (ti->encoding) { in sun_prepare_header() 126 if (ti->precision == 16 || ti->precision == 32) in sun_prepare_header() 127 ti->encoding = AUDIO_ENCODING_SLINEAR_BE; in sun_prepare_header() 134 if (ti->precision == 16 || ti->precision == 32) in sun_prepare_header() 135 ti->encoding = AUDIO_ENCODING_SLINEAR_BE; in sun_prepare_header() 142 if (ti->precision == 16 || ti->precision == 32) in sun_prepare_header() 143 ti->encoding = AUDIO_ENCODING_SLINEAR_BE; in sun_prepare_header() 148 ti->encoding = AUDIO_ENCODING_SLINEAR_BE; in sun_prepare_header() [all …]
|
| D | wav.c | 305 wav_prepare_header(struct track_info *ti, void **hdrp, size_t *lenp, int *leftp) in wav_prepare_header() argument 350 if (ti->header_info) in wav_prepare_header() 354 switch (ti->precision) { in wav_prepare_header() 368 warnx("can not support precision of %d", ti->precision); in wav_prepare_header() 375 switch (ti->encoding) { in wav_prepare_header() 379 align = ti->channels; in wav_prepare_header() 385 align = ti->channels; in wav_prepare_header() 404 align = ti->channels * (ti->precision / 8); in wav_prepare_header() 413 const char *s = wav_enc_from_val(ti->encoding); in wav_prepare_header() 418 … warnx("can not support encoding of %d", ti->encoding); in wav_prepare_header() [all …]
|
| /netbsd/src/sys/arch/mvme68k/stand/bootst/ |
| D | dev_tape.c | 77 struct mvmeprom_dskio *ti; in tape_open() local 97 ti = &tape_ioreq; in tape_open() 98 memset((void *)ti, 0, sizeof(*ti)); in tape_open() 100 ti->ctrl_lun = bugargs.ctrl_lun; in tape_open() 101 ti->dev_lun = bugargs.dev_lun; in tape_open() 102 ti->status = 0; in tape_open() 103 ti->pbuffer = NULL; in tape_open() 104 ti->blk_num = part; in tape_open() 105 ti->blk_cnt = 0; in tape_open() 106 ti->flag = 0; in tape_open() [all …]
|
| /netbsd/src/usr.bin/audio/record/ |
| D | record.c | 68 static struct track_info ti; variable 99 ti.format = AUDIO_FORMAT_DEFAULT; in main() 100 ti.total_size = -1; in main() 120 ti.format = audio_format_from_str(optarg); in main() 121 if (ti.format < 0) in main() 126 decode_int(optarg, &ti.channels); in main() 127 if (ti.channels < 0 || ti.channels > 16) in main() 140 ti.header_info = optarg; in main() 148 decode_int(optarg, &ti.precision); in main() 149 if (ti.precision != 4 && ti.precision != 8 && in main() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/des/ |
| D | cfb64ede.c | 32 DES_LONG ti[2]; in DES_ede3_cfb64_encrypt() local 42 ti[0] = v0; in DES_ede3_cfb64_encrypt() 43 ti[1] = v1; in DES_ede3_cfb64_encrypt() 44 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt() 45 v0 = ti[0]; in DES_ede3_cfb64_encrypt() 46 v1 = ti[1]; in DES_ede3_cfb64_encrypt() 64 ti[0] = v0; in DES_ede3_cfb64_encrypt() 65 ti[1] = v1; in DES_ede3_cfb64_encrypt() 66 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt() 67 v0 = ti[0]; in DES_ede3_cfb64_encrypt() [all …]
|
| D | cfb64enc.c | 31 DES_LONG ti[2]; in DES_cfb64_encrypt() local 39 ti[0] = v0; in DES_cfb64_encrypt() 41 ti[1] = v1; in DES_cfb64_encrypt() 42 DES_encrypt1(ti, schedule, DES_ENCRYPT); in DES_cfb64_encrypt() 44 v0 = ti[0]; in DES_cfb64_encrypt() 46 v0 = ti[1]; in DES_cfb64_encrypt() 59 ti[0] = v0; in DES_cfb64_encrypt() 61 ti[1] = v1; in DES_cfb64_encrypt() 62 DES_encrypt1(ti, schedule, DES_ENCRYPT); in DES_cfb64_encrypt() 64 v0 = ti[0]; in DES_cfb64_encrypt() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/rc2/ |
| D | rc2cfb64.c | 32 uint32_t ti[2]; in RC2_cfb64_encrypt() local 40 ti[0] = v0; in RC2_cfb64_encrypt() 42 ti[1] = v1; in RC2_cfb64_encrypt() 43 RC2_encrypt(ti, schedule); in RC2_cfb64_encrypt() 45 t = ti[0]; in RC2_cfb64_encrypt() 47 t = ti[1]; in RC2_cfb64_encrypt() 60 ti[0] = v0; in RC2_cfb64_encrypt() 62 ti[1] = v1; in RC2_cfb64_encrypt() 63 RC2_encrypt(ti, schedule); in RC2_cfb64_encrypt() 65 t = ti[0]; in RC2_cfb64_encrypt() [all …]
|
| D | rc2ofb64.c | 33 uint32_t ti[2]; in RC2_ofb64_encrypt() local 40 ti[0] = v0; in RC2_ofb64_encrypt() 41 ti[1] = v1; in RC2_ofb64_encrypt() 47 RC2_encrypt(ti, schedule); in RC2_ofb64_encrypt() 49 t = ti[0]; in RC2_ofb64_encrypt() 51 t = ti[1]; in RC2_ofb64_encrypt() 59 v0 = ti[0]; in RC2_ofb64_encrypt() 60 v1 = ti[1]; in RC2_ofb64_encrypt() 65 t = v0 = v1 = ti[0] = ti[1] = 0; in RC2_ofb64_encrypt()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/rc5/ |
| D | rc5cfb64.c | 32 RC5_32_INT ti[2]; in RC5_32_cfb64_encrypt() local 40 ti[0] = v0; in RC5_32_cfb64_encrypt() 42 ti[1] = v1; in RC5_32_cfb64_encrypt() 43 RC5_32_encrypt(ti, schedule); in RC5_32_cfb64_encrypt() 45 t = ti[0]; in RC5_32_cfb64_encrypt() 47 t = ti[1]; in RC5_32_cfb64_encrypt() 60 ti[0] = v0; in RC5_32_cfb64_encrypt() 62 ti[1] = v1; in RC5_32_cfb64_encrypt() 63 RC5_32_encrypt(ti, schedule); in RC5_32_cfb64_encrypt() 65 t = ti[0]; in RC5_32_cfb64_encrypt() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/lib/libdes/ |
| D | ocfb64enc.c | 73 DES_LONG ti[2]; in des_cfb64_encrypt() local 83 c2l(iv,v0); ti[0]=v0; in des_cfb64_encrypt() 84 c2l(iv,v1); ti[1]=v1; in des_cfb64_encrypt() 85 des_encrypt1(ti,schedule,DES_ENCRYPT); in des_cfb64_encrypt() 87 v0=ti[0]; l2c(v0,iv); in des_cfb64_encrypt() 88 v0=ti[1]; l2c(v0,iv); in des_cfb64_encrypt() 103 c2l(iv,v0); ti[0]=v0; in des_cfb64_encrypt() 104 c2l(iv,v1); ti[1]=v1; in des_cfb64_encrypt() 105 des_encrypt1(ti,schedule,DES_ENCRYPT); in des_cfb64_encrypt() 107 v0=ti[0]; l2c(v0,iv); in des_cfb64_encrypt() [all …]
|
| D | ocfb64ede.c | 73 DES_LONG ti[2]; in des_ede3_cfb64_encrypt() local 86 ti[0]=v0; in des_ede3_cfb64_encrypt() 87 ti[1]=v1; in des_ede3_cfb64_encrypt() 88 des_encrypt3(ti,ks1,ks2,ks3); in des_ede3_cfb64_encrypt() 89 v0=ti[0]; in des_ede3_cfb64_encrypt() 90 v1=ti[1]; in des_ede3_cfb64_encrypt() 112 ti[0]=v0; in des_ede3_cfb64_encrypt() 113 ti[1]=v1; in des_ede3_cfb64_encrypt() 114 des_encrypt3(ti,ks1,ks2,ks3); in des_ede3_cfb64_encrypt() 115 v0=ti[0]; in des_ede3_cfb64_encrypt() [all …]
|
| D | ocfb_enc.c | 74 DES_LONG ti[2]; in des_cfb_encrypt() local 101 ti[0]=v0; in des_cfb_encrypt() 102 ti[1]=v1; in des_cfb_encrypt() 103 des_encrypt1((DES_LONG *)ti,schedule,DES_ENCRYPT); in des_cfb_encrypt() 106 d0=(d0^ti[0])&mask0; in des_cfb_encrypt() 107 d1=(d1^ti[1])&mask1; in des_cfb_encrypt() 133 ti[0]=v0; in des_cfb_encrypt() 134 ti[1]=v1; in des_cfb_encrypt() 135 des_encrypt1((DES_LONG *)ti,schedule,DES_ENCRYPT); in des_cfb_encrypt() 154 d0=(d0^ti[0])&mask0; in des_cfb_encrypt() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/cast/ |
| D | c_cfb64.c | 32 CAST_LONG ti[2]; in CAST_cfb64_encrypt() local 40 ti[0] = v0; in CAST_cfb64_encrypt() 42 ti[1] = v1; in CAST_cfb64_encrypt() 43 CAST_encrypt((CAST_LONG *)ti, schedule); in CAST_cfb64_encrypt() 45 t = ti[0]; in CAST_cfb64_encrypt() 47 t = ti[1]; in CAST_cfb64_encrypt() 60 ti[0] = v0; in CAST_cfb64_encrypt() 62 ti[1] = v1; in CAST_cfb64_encrypt() 63 CAST_encrypt((CAST_LONG *)ti, schedule); in CAST_cfb64_encrypt() 65 t = ti[0]; in CAST_cfb64_encrypt() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/bf/ |
| D | bf_cfb64.c | 32 BF_LONG ti[2]; in BF_cfb64_encrypt() local 40 ti[0] = v0; in BF_cfb64_encrypt() 42 ti[1] = v1; in BF_cfb64_encrypt() 43 BF_encrypt((BF_LONG *)ti, schedule); in BF_cfb64_encrypt() 45 t = ti[0]; in BF_cfb64_encrypt() 47 t = ti[1]; in BF_cfb64_encrypt() 60 ti[0] = v0; in BF_cfb64_encrypt() 62 ti[1] = v1; in BF_cfb64_encrypt() 63 BF_encrypt((BF_LONG *)ti, schedule); in BF_cfb64_encrypt() 65 t = ti[0]; in BF_cfb64_encrypt() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/idea/ |
| D | i_cfb64.c | 33 IDEA_INT ti[2]; in IDEA_cfb64_encrypt() local 46 ti[0] = v0; in IDEA_cfb64_encrypt() 48 ti[1] = v1; in IDEA_cfb64_encrypt() 49 IDEA_encrypt(ti, schedule); in IDEA_cfb64_encrypt() 51 t = ti[0]; in IDEA_cfb64_encrypt() 53 t = ti[1]; in IDEA_cfb64_encrypt() 66 ti[0] = v0; in IDEA_cfb64_encrypt() 68 ti[1] = v1; in IDEA_cfb64_encrypt() 69 IDEA_encrypt(ti, schedule); in IDEA_cfb64_encrypt() 71 t = ti[0]; in IDEA_cfb64_encrypt() [all …]
|
| /netbsd/src/external/bsd/ipf/dist/ipsend/ |
| D | iptest.c | 91 struct tcpiphdr *ti; local 103 ti = (struct tcpiphdr *)ip; 187 ip_test1(dev, mtu, (ip_t *)ti, gwip, pointtest); 190 ip_test2(dev, mtu, (ip_t *)ti, gwip, pointtest); 193 ip_test3(dev, mtu, (ip_t *)ti, gwip, pointtest); 196 ip_test4(dev, mtu, (ip_t *)ti, gwip, pointtest); 199 ip_test5(dev, mtu, (ip_t *)ti, gwip, pointtest); 202 ip_test6(dev, mtu, (ip_t *)ti, gwip, pointtest); 205 ip_test7(dev, mtu, (ip_t *)ti, gwip, pointtest); 208 ip_test1(dev, mtu, (ip_t *)ti, gwip, pointtest); [all …]
|
| /netbsd/src/sys/dev/pci/ |
| D | trm.c | 519 struct trm_tinfo *ti; in trm_init() local 609 ti = &sc->sc_tinfo[target]; in trm_init() 610 ti->synctl = 0; in trm_init() 611 ti->offset = 0; in trm_init() 613 ti->config0 = tconf->config0; in trm_init() 614 ti->period = trm_clock_period[tconf->period & 0x07]; in trm_init() 615 ti->flag = 0; in trm_init() 616 if ((ti->config0 & NTC_DO_DISCONNECT) != 0) { in trm_init() 618 if ((ti->config0 & NTC_DO_TAG_QUEUING) != 0) in trm_init() 619 ti->flag |= USE_TAG_QUEUING; in trm_init() [all …]
|
| /netbsd/src/sys/dev/ic/ |
| D | ncr53c9x.c | 178 ncr53c9x_lunsearch(struct ncr53c9x_tinfo *ti, int64_t lun) in ncr53c9x_lunsearch() argument 182 LIST_FOREACH(li, &ti->luns, link) in ncr53c9x_lunsearch() 533 struct ncr53c9x_tinfo *ti = &sc->sc_tinfo[r]; in ncr53c9x_init() local 536 ti->flags = ((sc->sc_minsync && in ncr53c9x_init() 542 ti->flags &= ~T_TAG; in ncr53c9x_init() 544 ti->period = sc->sc_minsync; in ncr53c9x_init() 545 ti->offset = 0; in ncr53c9x_init() 546 ti->cfg3 = 0; in ncr53c9x_init() 619 ncr53c9x_setsync(struct ncr53c9x_softc *sc, struct ncr53c9x_tinfo *ti) in ncr53c9x_setsync() argument 622 uint8_t cfg3 = sc->sc_cfg3 | ti->cfg3; in ncr53c9x_setsync() [all …]
|
| D | aic6360.c | 421 struct aic_tinfo *ti = &sc->sc_tinfo[r]; in aic_init() local 423 ti->flags = 0; in aic_init() 424 ti->period = ti->offset = 0; in aic_init() 425 ti->width = 0; in aic_init() 564 struct aic_tinfo *ti; in aic_scsipi_request() local 567 ti = &sc->sc_tinfo[xm->xm_target]; in aic_scsipi_request() 568 ti->flags &= ~(DO_SYNC|DO_WIDE); in aic_scsipi_request() 569 ti->period = 0; in aic_scsipi_request() 570 ti->offset = 0; in aic_scsipi_request() 574 ti->flags |= DO_SYNC; in aic_scsipi_request() [all …]
|
| D | wd33c93.c | 271 struct wd33c93_tinfo *ti = &sc->sc_tinfo[i]; in wd33c93_init() local 279 ti->flags = T_NEED_RESET; in wd33c93_init() 281 ti->flags |= T_NOSYNC; in wd33c93_init() 283 ti->flags |= T_NODISC; in wd33c93_init() 284 ti->period = sc->sc_minsyncperiod; in wd33c93_init() 285 ti->offset = 0; in wd33c93_init() 415 wd33c93_stp2syn(struct wd33c93_softc *sc, struct wd33c93_tinfo *ti) in wd33c93_stp2syn() argument 420 if (ti->period < 50 && sc->sc_minsyncperiod < 50) { in wd33c93_stp2syn() 422 if (sc->sc_fsyncperiods[i] >= ti->period) in wd33c93_stp2syn() 423 return (SBIC_SYN(ti->offset, i + 2, 1)); in wd33c93_stp2syn() [all …]
|
| D | mb89352.c | 431 struct spc_tinfo *ti = &sc->sc_tinfo[r]; in spc_init() local 433 ti->flags = 0; in spc_init() 435 ti->flags |= DO_SYNC; in spc_init() 436 ti->period = sc->sc_minsync; in spc_init() 437 ti->offset = SPC_SYNC_REQ_ACK_OFS; in spc_init() 439 ti->period = ti->offset = 0; in spc_init() 442 ti->flags |= DO_WIDE; in spc_init() 443 ti->width = SPC_MAX_WIDTH; in spc_init() 445 ti->width = 0; in spc_init() 648 spc_setsync(struct spc_softc *sc, struct spc_tinfo *ti) in spc_setsync() argument [all …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/ntlm/ |
| D | test_ntlm.c | 351 struct ntlm_targetinfo ti; in test_ntlmv2() local 364 memset(&ti, 0, sizeof(ti)); in test_ntlmv2() 369 ret = heim_ntlm_decode_targetinfo(&data, 1, &ti); in test_ntlmv2() 389 heim_ntlm_free_targetinfo(&ti); in test_ntlmv2() 397 struct ntlm_targetinfo ti; in test_targetinfo() local 404 memset(&ti, 0, sizeof(ti)); in test_targetinfo() 406 ti.dnsservername = rk_UNCONST(dnsservername); in test_targetinfo() 407 ti.avflags = 1; in test_targetinfo() 408 ti.targetname = rk_UNCONST(targetname); in test_targetinfo() 409 ti.channel_bindings.data = rk_UNCONST(z16); in test_targetinfo() [all …]
|