Home
last modified time | relevance | path

Searched refs:kt (Results 1 – 25 of 75) sorted by relevance

123

/openbsd/sys/net/
H A Dpf_table.c256 if (kt == NULL || !(kt->pfrkt_flags & PFR_TFLAG_ACTIVE)) in pfr_clr_addrs()
446 if (kt == NULL || !(kt->pfrkt_flags & PFR_TFLAG_ACTIVE)) in pfr_del_addrs()
538 if (kt == NULL || !(kt->pfrkt_flags & PFR_TFLAG_ACTIVE)) in pfr_set_addrs()
649 if (kt == NULL || !(kt->pfrkt_flags & PFR_TFLAG_ACTIVE)) in pfr_tst_addrs()
2284 bzero(kt->pfrkt_packets, sizeof(kt->pfrkt_packets)); in pfr_clstats_ktable()
2285 bzero(kt->pfrkt_bytes, sizeof(kt->pfrkt_bytes)); in pfr_clstats_ktable()
2286 kt->pfrkt_match = kt->pfrkt_nomatch = 0; in pfr_clstats_ktable()
2432 kt = pfr_ktable_select_active(kt); in pfr_kentry_byaddr()
2476 kt = pfr_ktable_select_active(kt); in pfr_update_stats()
2630 kt = pfr_ktable_select_active(kt); in pfr_pool_get()
[all …]
H A Dpf_lb.c377 struct pfr_ktable *kt; in pf_map_addr() local
433 kt = rpool->addr.p.tbl; in pf_map_addr()
435 kt = rpool->addr.p.dyn->pfid_kt; in pf_map_addr()
436 kt = pfr_ktable_select_active(kt); in pf_map_addr()
437 if (kt == NULL) in pf_map_addr()
440 cnt = kt->pfrkt_cnt; in pf_map_addr()
494 kt = rpool->addr.p.tbl; in pf_map_addr()
496 kt = rpool->addr.p.dyn->pfid_kt; in pf_map_addr()
497 kt = pfr_ktable_select_active(kt); in pf_map_addr()
498 if (kt == NULL) in pf_map_addr()
[all …]
H A Dpf_if.c541 struct pfr_ktable *kt; in pfi_dynaddr_update() local
547 kt = dyn->pfid_kt; in pfi_dynaddr_update()
549 if (kt->pfrkt_larg != pfi_update) { in pfi_dynaddr_update()
551 pfi_table_update(kt, kif, dyn->pfid_net, dyn->pfid_iflags); in pfi_dynaddr_update()
552 kt->pfrkt_larg = pfi_update; in pfi_dynaddr_update()
554 pfr_dynaddr_update(kt, dyn); in pfi_dynaddr_update()
558 pfi_table_update(struct pfr_ktable *kt, struct pfi_kif *kif, u_int8_t net, int flags) in pfi_table_update() argument
571 if ((e = pfr_set_addrs(&kt->pfrkt_t, pfi_buffer, pfi_buffer_cnt, &size2, in pfi_table_update()
575 "into table %s: %d", pfi_buffer_cnt, kt->pfrkt_name, e); in pfi_table_update()
/openbsd/gnu/usr.bin/binutils/opcodes/
H A Dcgen-opc.c54 if (kt->name_hash_table == NULL) in cgen_keyword_lookup_name()
57 ke = kt->name_hash_table[hash_keyword_name (kt, name, 0)]; in cgen_keyword_lookup_name()
79 if (kt->null_entry) in cgen_keyword_lookup_name()
80 return kt->null_entry; in cgen_keyword_lookup_name()
95 ke = kt->value_hash_table[hash_keyword_value (kt, value)]; in cgen_keyword_lookup_value()
120 kt->name_hash_table[hash] = ke; in cgen_keyword_add()
127 kt->null_entry = ke; in cgen_keyword_add()
141 kt->nonalpha_chars[idx+1] = 0; in cgen_keyword_add()
167 search.table = kt; in cgen_keyword_search_init()
247 kt->hash_table_size = size; in build_keyword_hash_tables()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/opcodes/
H A Dcgen-opc.c54 if (kt->name_hash_table == NULL) in cgen_keyword_lookup_name()
57 ke = kt->name_hash_table[hash_keyword_name (kt, name, 0)]; in cgen_keyword_lookup_name()
79 if (kt->null_entry) in cgen_keyword_lookup_name()
80 return kt->null_entry; in cgen_keyword_lookup_name()
95 ke = kt->value_hash_table[hash_keyword_value (kt, value)]; in cgen_keyword_lookup_value()
120 kt->name_hash_table[hash] = ke; in cgen_keyword_add()
127 kt->null_entry = ke; in cgen_keyword_add()
141 kt->nonalpha_chars[idx+1] = 0; in cgen_keyword_add()
167 search.table = kt; in cgen_keyword_search_init()
247 kt->hash_table_size = size; in build_keyword_hash_tables()
[all …]
/openbsd/usr.sbin/bgpd/
H A Dkroute.c304 strlcpy(kt->descr, name, sizeof(kt->descr)); in ktable_new()
309 kt->fib_conf = kt->fib_sync = fs; in ktable_new()
363 if (kt->rtableid == kt->nhtableid) in ktable_destroy()
370 free(kt); in ktable_destroy()
425 strlcpy(kt->descr, name, sizeof(kt->descr)); in ktable_update()
748 kt->descr); in kr_fib_couple()
787 kt->descr); in kr_fib_decouple()
1018 ktab = *kt; in kr_show_route()
1333 kt->fib_sync = kt->fib_conf; in ktable_postload()
1363 if (kt->rtableid == kt->nhtableid) in kr_reload()
[all …]
/openbsd/libexec/snmpd/snmpd_metrics/
H A Dkroute.c223 struct ktable *kt; in ktable_new() local
245 if (kt == NULL) { in ktable_new()
251 RB_INIT(&kt->krt); in ktable_new()
252 RB_INIT(&kt->krt6); in ktable_new()
270 struct ktable *kt; in ktable_free() local
276 kroute_clear(kt); in ktable_free()
277 kroute6_clear(kt); in ktable_free()
280 free(kt); in ktable_free()
294 struct ktable *kt; in ktable_update() local
307 if (kt == NULL) { in ktable_update()
[all …]
/openbsd/lib/libcrypto/idea/
H A Didea.c351 kt = &(ks->data[0][0]); in idea_set_encrypt_key()
352 n2s(key, kt[0]); in idea_set_encrypt_key()
353 n2s(key, kt[1]); in idea_set_encrypt_key()
354 n2s(key, kt[2]); in idea_set_encrypt_key()
355 n2s(key, kt[3]); in idea_set_encrypt_key()
356 n2s(key, kt[4]); in idea_set_encrypt_key()
357 n2s(key, kt[5]); in idea_set_encrypt_key()
358 n2s(key, kt[6]); in idea_set_encrypt_key()
359 n2s(key, kt[7]); in idea_set_encrypt_key()
361 kf = kt; in idea_set_encrypt_key()
[all …]
/openbsd/regress/usr.bin/ssh/
H A Dcert-hostkey.sh215 for kt in $PLAIN_TYPES; do
221 $sign_opts $OBJ/cert_host_key_${kt} ||
222 fatal "couldn't sign cert_host_key_${kt}"
225 echo HostKey $OBJ/cert_host_key_${kt}
296 for kt in $PLAIN_TYPES ; do
300 ${SSHKEYGEN} -q -N '' -t ${kt} -f $OBJ/cert_host_key_${kt} || \
302 case $kt in
303 rsa-sha2-*) tflag="-t $kt" ;;
308 -n $HOSTS $OBJ/cert_host_key_${kt} ||
309 fatal "couldn't sign cert_host_key_${kt}"
[all …]
H A Dkeytype.sh24 for kt in $ktypes; do
25 rm -f $OBJ/key.$kt
26 case "$kt" in
27 *sk) type="$kt"; bits="n/a"; bits_arg="";;
28 *) type=${kt%-*}; bits=${kt#*-}; bits_arg="-b $bits";;
31 ${SSHKEYGEN} $bits_arg -q -N '' -t $type -f $OBJ/key.$kt || \
H A Ddropbear-ciphers.sh21 for kt in $keytype; do
22 verbose "$tid: cipher $c mac $m kt $kt"
24 env HOME=$OBJ dbclient -y -i $OBJ/.dropbear/$kt 2>$OBJ/dbclient.log \
H A Dagent-timeout.sh17 ${SSHADD} -kt ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dselftest_timeline.c293 ktime_t kt; in bench_sync() local
315 kt = ktime_sub(ktime_get(), kt); in bench_sync()
331 kt = ktime_sub(ktime_get(), kt); in bench_sync()
332 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
349 kt = ktime_sub(ktime_get(), kt); in bench_sync()
350 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
366 kt = ktime_sub(ktime_get(), kt); in bench_sync()
380 kt = ktime_sub(ktime_get(), kt); in bench_sync()
403 kt = ktime_sub(ktime_get(), kt); in bench_sync()
404 kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20); in bench_sync()
[all …]
/openbsd/usr.bin/kstat/
H A Dkstat.c158 struct kstat_tree kt = RBT_INITIALIZER(); in main() local
195 kstat_list(&kt, fd, version, &kfs); in main()
196 kstat_read(&kt, fd); in main()
197 kstat_print(&kt); in main()
218 kstat_read(&kt, fd); in main()
219 kstat_print(&kt); in main()
557 if (RBT_INSERT(kstat_tree, kt, kse) != NULL) in kstat_list()
567 kstat_print(struct kstat_tree *kt) in kstat_print() argument
572 RBT_FOREACH(kse, kstat_tree, kt) { in kstat_print()
599 kstat_read(struct kstat_tree *kt, int fd) in kstat_read() argument
[all …]
/openbsd/usr.bin/tmux/
H A Dwindow-customize.c168 struct key_table *kt; in window_customize_get_key() local
172 if (kt == NULL) in window_customize_get_key()
179 *ktp = kt; in window_customize_get_key()
465 bd = key_bindings_first(kt); in window_customize_build_keys()
519 bd = key_bindings_next(kt, bd); in window_customize_build_keys()
534 struct key_table *kt; in window_customize_build() local
575 while (kt != NULL) { in window_customize_build()
582 kt = key_bindings_next_table(kt); in window_customize_build()
595 struct key_table *kt; in window_customize_draw_key() local
1288 struct key_table *kt; in window_customize_unset_key() local
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/f/
H A Dintrin.c594 switch (kt) in ffeintrin_check_()
600 kt = 4; in ffeintrin_check_()
604 kt = 2; in ffeintrin_check_()
608 kt = 5; in ffeintrin_check_()
625 kt = 1; in ffeintrin_check_()
1153 *xkt = kt; in ffeintrin_check_()
1354 kt = tkt; in ffeintrin_fulfill_generic()
1404 kt, in ffeintrin_fulfill_generic()
1414 kt, in ffeintrin_fulfill_generic()
1530 kt, in ffeintrin_fulfill_specific()
[all …]
H A Dglobal.h84 ffeinfoKindtype kt; member
117 ffeinfoKindtype kt; /* NONE for non-function. */ member
139 ffeinfoBasictype bt, ffeinfoKindtype kt,
143 ffeinfoBasictype bt, ffeinfoKindtype kt,
H A Dglobal.c374 || (ffesymbol_kindtype (s) != g->u.proc.kt) in ffeglobal_new_progunit_()
417 || (g->u.proc.kt == FFEINFO_kindtypeNONE)) in ffeglobal_new_progunit_()
420 g->u.proc.kt = ffesymbol_kindtype (s); in ffeglobal_new_progunit_()
518 ffeinfoBasictype bt, ffeinfoKindtype kt, in ffeglobal_proc_def_arg() argument
686 if (!warn && (kt != ai->kt)) in ffeglobal_proc_def_arg()
736 ai->kt = kt; in ffeglobal_proc_def_arg()
797 ffeinfoBasictype bt, ffeinfoKindtype kt, in ffeglobal_proc_ref_arg() argument
999 if (!fail && !warn && (kt != ai->kt)) in ffeglobal_proc_ref_arg()
1058 ai->kt = kt; in ffeglobal_proc_ref_arg()
1330 g->u.proc.kt = ffesymbol_kindtype (s); in ffeglobal_ref_progunit_()
[all …]
H A Dcom.c2582 ffeinfoKindtype kt; in ffecom_do_entry_() local
2945 ffeinfoKindtype kt; in ffecom_expr_() local
3811 ffeinfoKindtype kt; in ffecom_expr_intrinsic_() local
10343 switch (kt) in ffecom_constantunion()
10384 switch (kt) in ffecom_constantunion()
10425 switch (kt) in ffecom_constantunion()
10467 switch (kt) in ffecom_constantunion()
10513 switch (kt) in ffecom_constantunion()
14729 for (kt = 0; kt < ARRAY_SIZE (ffecom_tree_type[0]); ++kt)
15014 for (kt = 0; kt < ARRAY_SIZE (ffecom_tree_type[0]); ++kt)
[all …]
H A Ddata.c127 ffelexToken dest_token, ffeinfoBasictype bt, ffeinfoKindtype kt,
699 ffeinfoKindtype kt, ffeinfoRank rk, in ffedata_convert_() argument
709 && (kt == ffedata_convert_cache_[i].kind_type) in ffedata_convert_()
746 ffedata_convert_cache_[i].kind_type = kt; in ffedata_convert_()
1199 ffeinfoKindtype kt; in ffedata_gather_() local
1246 kt = ffeinfo_kindtype (ffebld_info (b)); in ffedata_gather_()
1253 kt);/* Find out unit size of source datum. */ in ffedata_gather_()
1302 bt, kt); in ffedata_gather_()
1310 bt, kt); in ffedata_gather_()
1349 bt, kt); in ffedata_gather_()
[all …]
H A Dinfo.h156 #define ffeinfo_new(bt,kt,r,k,w,sz) \ argument
157 ((ffeinfo) {(bt), (kt), (r), (k), (w), (sz)})
H A Dcom.h216 ffeinfoKindtype kt, tree tree_type);
279 #define ffecom_f2c_typecode(bt,kt) ffecom_f2c_typecode_[(bt)][(kt)] argument
H A Dbld.c1581 switch (kt) in ffebld_constantarray_get()
1638 switch (kt) in ffebld_constantarray_get()
1695 switch (kt) in ffebld_constantarray_get()
1752 switch (kt) in ffebld_constantarray_get()
1809 switch (kt) in ffebld_constantarray_get()
1894 switch (kt) in ffebld_constantarray_new()
1975 switch (kt) in ffebld_constantarray_new()
2056 switch (kt) in ffebld_constantarray_new()
2137 switch (kt) in ffebld_constantarray_new()
2218 switch (kt) in ffebld_constantarray_new()
[all …]
H A Dexpr.c3096 kt, in ffeexpr_collapse_convert()
3147 kt, in ffeexpr_collapse_paren()
3190 kt, in ffeexpr_collapse_uplus()
3372 kt, in ffeexpr_collapse_uminus()
3516 kt, in ffeexpr_collapse_not()
3721 kt, in ffeexpr_collapse_add()
3926 kt, in ffeexpr_collapse_subtract()
4131 kt, in ffeexpr_collapse_multiply()
4336 kt, in ffeexpr_collapse_divide()
4500 kt, in ffeexpr_collapse_power()
[all …]
/openbsd/lib/libcurses/base/
H A Dlib_set_term.c113 _nc_free_keytry(TRIES * kt) in _nc_free_keytry() argument
115 if (kt != 0) { in _nc_free_keytry()
116 _nc_free_keytry(kt->child); in _nc_free_keytry()
117 _nc_free_keytry(kt->sibling); in _nc_free_keytry()
118 free(kt); in _nc_free_keytry()

123