/netbsd/sys/external/bsd/common/include/linux/ |
H A D | slab.h | 182 if (kc->kc_ctor) in kmem_cache_ctor() 183 (*kc->kc_ctor)(ptr); in kmem_cache_ctor() 193 if (kc->kc_dtor) in kmem_cache_dtor() 194 (*kc->kc_dtor)(ptr); in kmem_cache_dtor() 210 kc = kmem_alloc(sizeof(*kc), KM_SLEEP); in kmem_cache_create_dtor() 213 kc); in kmem_cache_create_dtor() 214 kc->kc_size = size; in kmem_cache_create_dtor() 215 kc->kc_ctor = ctor; in kmem_cache_create_dtor() 216 kc->kc_dtor = dtor; in kmem_cache_create_dtor() 218 return kc; in kmem_cache_create_dtor() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/config/mips/ |
H A D | 20kc.md | 119 (and (eq_attr "cpu" "20kc") 125 (and (eq_attr "cpu" "20kc") 142 (and (eq_attr "cpu" "20kc") 155 (and (eq_attr "cpu" "20kc") 160 (and (eq_attr "cpu" "20kc") 168 (and (eq_attr "cpu" "20kc") 174 (and (eq_attr "cpu" "20kc") 182 (and (eq_attr "cpu" "20kc") 188 (and (eq_attr "cpu" "20kc") 197 (and (eq_attr "cpu" "20kc") [all …]
|
H A D | 4k.md | 38 (and (eq_attr "cpu" "4kc,4kp") 43 (and (eq_attr "cpu" "4kc,4kp") 48 (and (eq_attr "cpu" "4kc,4kp") 56 (and (eq_attr "cpu" "4kc") 73 (and (eq_attr "cpu" "4kc") 83 (and (eq_attr "cpu" "4kc") 116 (and (eq_attr "cpu" "4kc,4kp") 122 (and (eq_attr "cpu" "4kc,4kp") 128 (and (eq_attr "cpu" "4kc,4kp") 133 (and (eq_attr "cpu" "4kc,4kp") [all …]
|
H A D | 5k.md | 39 (and (eq_attr "cpu" "5kc,5kf") 44 (and (eq_attr "cpu" "5kc,5kf") 49 (and (eq_attr "cpu" "5kc,5kf") 55 (and (eq_attr "cpu" "5kc,5kf") 61 (and (eq_attr "cpu" "5kc,5kf") 69 (and (eq_attr "cpu" "5kc,5kf") 76 (and (eq_attr "cpu" "5kc,5kf") 83 (and (eq_attr "cpu" "5kc,5kf") 90 (and (eq_attr "cpu" "5kc,5kf") 96 (and (eq_attr "cpu" "5kc,5kf") [all …]
|
H A D | 74k.md | 41 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 47 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 52 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 57 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 64 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 70 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 76 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 82 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 88 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 95 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") [all …]
|
H A D | 24k.md | 44 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 56 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 64 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 70 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 78 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 84 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 90 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 96 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 102 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 109 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") [all …]
|
H A D | mips-cpus.def | 96 MIPS_CPU ("4kc", PROCESSOR_4KC, 32, 0) 112 MIPS_CPU ("24kc", PROCESSOR_24KC, 33, 0) 126 MIPS_CPU ("34kc", PROCESSOR_24KC, 33, 0) /* 34K with MT/DSP. */ 134 MIPS_CPU ("74kc", PROCESSOR_74KC, 33, PTF_AVOID_IMADD) /* 74K with DSPr2. */ 142 MIPS_CPU ("1004kc", PROCESSOR_24KC, 33, 0) /* 1004K with MT/DSP. */ 156 MIPS_CPU ("5kc", PROCESSOR_5KC, 64, 0) 158 MIPS_CPU ("20kc", PROCESSOR_20KC, 64, PTF_AVOID_BRANCHLIKELY_SPEED)
|
/netbsd/external/gpl3/gcc/dist/gcc/config/mips/ |
H A D | 20kc.md | 119 (and (eq_attr "cpu" "20kc") 125 (and (eq_attr "cpu" "20kc") 142 (and (eq_attr "cpu" "20kc") 155 (and (eq_attr "cpu" "20kc") 160 (and (eq_attr "cpu" "20kc") 168 (and (eq_attr "cpu" "20kc") 174 (and (eq_attr "cpu" "20kc") 182 (and (eq_attr "cpu" "20kc") 188 (and (eq_attr "cpu" "20kc") 197 (and (eq_attr "cpu" "20kc") [all …]
|
H A D | 4k.md | 38 (and (eq_attr "cpu" "4kc,4kp") 43 (and (eq_attr "cpu" "4kc,4kp") 48 (and (eq_attr "cpu" "4kc,4kp") 56 (and (eq_attr "cpu" "4kc") 73 (and (eq_attr "cpu" "4kc") 83 (and (eq_attr "cpu" "4kc") 116 (and (eq_attr "cpu" "4kc,4kp") 122 (and (eq_attr "cpu" "4kc,4kp") 128 (and (eq_attr "cpu" "4kc,4kp") 133 (and (eq_attr "cpu" "4kc,4kp") [all …]
|
H A D | 5k.md | 39 (and (eq_attr "cpu" "5kc,5kf") 44 (and (eq_attr "cpu" "5kc,5kf") 49 (and (eq_attr "cpu" "5kc,5kf") 55 (and (eq_attr "cpu" "5kc,5kf") 61 (and (eq_attr "cpu" "5kc,5kf") 69 (and (eq_attr "cpu" "5kc,5kf") 76 (and (eq_attr "cpu" "5kc,5kf") 83 (and (eq_attr "cpu" "5kc,5kf") 90 (and (eq_attr "cpu" "5kc,5kf") 96 (and (eq_attr "cpu" "5kc,5kf") [all …]
|
H A D | 74k.md | 41 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 47 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 52 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 57 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 64 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 70 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 76 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 82 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 88 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") 95 (and (eq_attr "cpu" "74kc,74kf2_1,74kf1_1,74kf3_2") [all …]
|
H A D | 24k.md | 44 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 56 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 64 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 70 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 78 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 84 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 90 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 96 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 102 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") 109 (and (eq_attr "cpu" "24kc,24kf2_1,24kf1_1") [all …]
|
H A D | mips-cpus.def | 96 MIPS_CPU ("4kc", PROCESSOR_4KC, MIPS_ISA_MIPS32, 0) 112 MIPS_CPU ("24kc", PROCESSOR_24KC, MIPS_ISA_MIPS32R2, 0) 126 MIPS_CPU ("34kc", PROCESSOR_24KC, MIPS_ISA_MIPS32R2, 0) /* 34K with MT/DSP. */ 134 MIPS_CPU ("74kc", PROCESSOR_74KC, MIPS_ISA_MIPS32R2, PTF_AVOID_IMADD) /* 74K with DSPr2. */ 142 MIPS_CPU ("1004kc", PROCESSOR_24KC, MIPS_ISA_MIPS32R2, 0) /* 1004K with MT/DSP. */ 156 MIPS_CPU ("5kc", PROCESSOR_5KC, MIPS_ISA_MIPS64, 0) 158 MIPS_CPU ("20kc", PROCESSOR_20KC, MIPS_ISA_MIPS64, PTF_AVOID_BRANCHLIKELY_SPEED)
|
/netbsd/sys/kern/ |
H A D | subr_kcpuset.c | 196 kcpuset_impl_t *kc; in kcpuset_create_raw() local 199 kc->kc_refcnt = 1; in kcpuset_create_raw() 200 kc->kc_next = NULL; in kcpuset_create_raw() 207 KASSERT((uint8_t *)kc + KC_BITS_OFF == (uint8_t *)&kc->kc_field); in kcpuset_create_raw() 208 return &kc->kc_field; in kcpuset_create_raw() 232 kcpuset_impl_t *kc; in kcpuset_destroy() local 238 kc = KC_GETSTRUCT(kcp); in kcpuset_destroy() 239 kcp = kc->kc_next; in kcpuset_destroy() 264 KASSERT(kc->kc_refcnt > 0); in kcpuset_unuse() 276 kc->kc_next = *lst; in kcpuset_unuse() [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hx509/ |
H A D | ks_keychain.c | 148 sig.Length = kc->keysize; in kc_rsa_private_encrypt() 207 out.Length = kc->keysize; in kc_rsa_private_decrypt() 263 struct kc_rsa *kc; in set_private_key() local 272 kc = calloc(1, sizeof(*kc)); in set_private_key() 273 if (kc == NULL) in set_private_key() 276 kc->item = itemRef; in set_private_key() 297 kc->keysize = (size + 7) / 8; in set_private_key() 299 data = malloc(kc->keysize); in set_private_key() 300 memset(data, 0xe0, kc->keysize); in set_private_key() 301 BN_bin2bn(data, kc->keysize, rsa->n); in set_private_key() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/config/sparc/ |
H A D | driver-sparc.c | 111 kstat_ctl_t *kc; in host_detect_local_cpu() local 127 kc = kstat_open (); in host_detect_local_cpu() 128 if (kc != NULL) in host_detect_local_cpu() 130 ksp = kstat_lookup (kc, CONST_CAST2 (char *, const char *, "cpu_info"), in host_detect_local_cpu() 133 && kstat_read (kc, ksp, NULL) != -1 in host_detect_local_cpu() 140 kstat_close (kc); in host_detect_local_cpu()
|
H A D | driver-sparc.cc | 111 kstat_ctl_t *kc; in host_detect_local_cpu() local 127 kc = kstat_open (); in host_detect_local_cpu() 128 if (kc != NULL) in host_detect_local_cpu() 130 ksp = kstat_lookup (kc, CONST_CAST2 (char *, const char *, "cpu_info"), in host_detect_local_cpu() 133 && kstat_read (kc, ksp, NULL) != -1 in host_detect_local_cpu() 140 kstat_close (kc); in host_detect_local_cpu()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/config/sparc/ |
H A D | driver-sparc.c | 111 kstat_ctl_t *kc; in host_detect_local_cpu() local 127 kc = kstat_open (); in host_detect_local_cpu() 128 if (kc != NULL) in host_detect_local_cpu() 130 ksp = kstat_lookup (kc, CONST_CAST2 (char *, const char *, "cpu_info"), in host_detect_local_cpu() 133 && kstat_read (kc, ksp, NULL) != -1 in host_detect_local_cpu() 140 kstat_close (kc); in host_detect_local_cpu()
|
/netbsd/external/mit/libuv/dist/src/unix/ |
H A D | sunos.c | 639 kstat_ctl_t *kc; in uv_uptime() local 645 kc = kstat_open(); in uv_uptime() 646 if (kc == NULL) in uv_uptime() 650 if (kstat_read(kc, ksp, NULL) == -1) { in uv_uptime() 656 kstat_close(kc); in uv_uptime() 664 kstat_ctl_t *kc; in uv_cpu_info() local 669 kc = kstat_open(); in uv_cpu_info() 670 if (kc == NULL) in uv_cpu_info() 681 kstat_close(kc); in uv_cpu_info() 690 if (kstat_read(kc, ksp, NULL) == -1) { in uv_cpu_info() [all …]
|
/netbsd/sys/arch/hpcmips/vr/ |
H A D | vrkiu.c | 348 struct vrkiu_chip *kc = ic; in vrkiu_input_establish() local 351 kc->kc_hpckbd = kbdif; in vrkiu_input_establish() 353 kc->kc_enabled = 1; in vrkiu_input_establish() 361 struct vrkiu_chip *kc = ic; in vrkiu_poll() local 365 while ((vrkiu_read(kc, KIUSCANS) & KIUSCANS_SSTAT_MASK) == in vrkiu_poll() 370 vrkiu_scan(kc); in vrkiu_poll()
|
/netbsd/external/gpl2/gmake/dist/ |
H A D | getloadavg.c | 516 kstat_ctl_t *kc; in getloadavg() local 520 kc = kstat_open (); in getloadavg() 521 if (kc == 0) in getloadavg() 523 ksp = kstat_lookup (kc, "unix", 0, "system_misc"); in getloadavg() 526 if (kstat_read (kc, ksp, 0) == -1) in getloadavg() 557 kstat_close (kc); in getloadavg()
|
/netbsd/external/bsd/wpa/dist/src/eap_peer/ |
H A D | eap_sim.c | 26 u8 kc[3][EAP_SIM_KC_LEN]; member 214 data->kc[i], EAP_SIM_KC_LEN); in eap_sim_ext_sim_result() 262 data->sres[0], data->kc[0]) || in eap_sim_gsm_auth() 264 data->sres[1], data->kc[1]) || in eap_sim_gsm_auth() 267 data->sres[2], data->kc[2]))) { in eap_sim_gsm_auth() 301 data->sres[i], data->kc[i])) { in eap_sim_gsm_auth() 312 data->kc[i], EAP_SIM_KC_LEN); in eap_sim_gsm_auth() 331 os_memcpy(data->kc[i], in eap_sim_gsm_auth() 337 os_memcpy(data->kc[i], in eap_sim_gsm_auth() 343 os_memcpy(data->kc[i], in eap_sim_gsm_auth() [all …]
|
/netbsd/external/bsd/wpa/dist/hostapd/ |
H A D | hlr_auc_gw.c | 74 u8 kc[8]; member 326 if (!pos || os_strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) { in read_gsm_triplets() 617 u8 _rand[16], sres[4], kc[8]; in sim_req_auth() local 621 gsm_milenage(m->opc, m->ki, _rand, sres, kc); in sim_req_auth() 623 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8); in sim_req_auth() 640 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->kc, 8); in sim_req_auth() 684 u8 _rand[16], sres[4], kc[8]; in gsm_auth_req() local 688 gsm_milenage(m->opc, m->ki, _rand, sres, kc); in gsm_auth_req() 690 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8); in gsm_auth_req()
|
/netbsd/lib/libcurses/ |
H A D | getstr.c | 164 char *ostr, ec, kc; in __wgetnstr() local 169 kc = killchar(); in __wgetnstr() 215 } else if (c == kc) { in __wgetnstr()
|
H A D | get_wstr.c | 160 wchar_t *ostr, ec, kc, sc[ 2 ]; in __wgetn_wstr() local 168 if (killwchar(&kc) == ERR) in __wgetn_wstr() 211 } else if (wc == kc) { in __wgetn_wstr()
|